Problem
The goal is to go from IR to executable x86-64 and verify that register allocation preserves semantics.
Rust · compiler backend · register allocation · SysV x86-64
The goal is to go from IR to executable x86-64 and verify that register allocation preserves semantics.
The goal is to go from IR to executable x86-64 and verify that register allocation preserves semantics.
High-level semantics and machine code must be compared in an isolated, resource-limited process.
SSA-like IR with CFG/SSA validation, liveness/interference, register allocation with an independent assignment verifier, phi lowering, and SysV x86-64 code generation.
A reference interpreter and differential execution check generated-code semantics; the allocator assignment contract is verified independently.
Differential comparison with an IR interpreter, isolated execution, disassembly, and spill/reload metrics.
IR, liveness, register allocation, code emission, and the differential harness.