llvm-project
cf8ce56a - RegAllocFast: Mark unspilled implicit_def physreg defs dead (#226295)

Commit
62 days ago
RegAllocFast: Mark unspilled implicit_def physreg defs dead (#226295) When a virtual register defined by an IMPLICIT_DEF is live out of the block, or reloaded below, defineVirtReg deliberately skips the spill. If there is also no use of the value in the block, the resulting physreg def has no reader at all, but was left without a dead flag. This avoids some unnecessary churn between regalloc runs on AMDGPU. Since RA runs multiple times, missed dead flags in the first RA run get re-inferred by the later runs which this avoids. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Author
Parents
Loading