llvm-project
03ad3d2e - [CodeGen] Consider imm offsets when sorting framerefs (#171012)

Commit
38 days ago
[CodeGen] Consider imm offsets when sorting framerefs (#171012) LocalStackSlotAllocation pass disallows negative offsets with respect to a base register. The pass ends up introducing a new register for such frame references. This patch helps LocalStackSlotAlloca to additionally consider the immediate offset of an instruction, when sorting frame refs - hence, avoiding negative offsets and maximizing reuse of the existing registers.
Author
Parents
Loading