FA-11489 / Compiler transformation correctness / Member archive
Instruction swapping ignores a write after an earlier read · case 04
Instruction swapping ignores a write after an earlier read.
Case contract
Return whether two adjacent pure register instructions can swap; each read/write collection is a set of register names, and any RAW, WAR or WAW conflict forbids swapping. Memory and control effects are excluded.
Why this case matters
A deterministic miniature compiler-pass model; inputs are explicit IR facts, not a production compiler.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| WAR | true | false | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗