llvm-project
49a7772b - [CodeGen] Replace (Min,Max)CSFrameIndex with flag on frame object [NFCI] (#170905)

Commit
142 days ago
[CodeGen] Replace (Min,Max)CSFrameIndex with flag on frame object [NFCI] (#170905) This removes the tracking of the MinCSFrameIndex, and MaxCSFrameIndex markers, simplifying the target API. This brings the tracking for callee save spill slots in line with how we handle other properties of stack locations. A couple notes: 1) This requires doing scans of the entire object range, but we have other such instances in the code already, so I doubt this will matter in practice. 2) This removes the requirement that callee saved spill slots be contiguous in the frame index identified space. I marked this as NFCI because if prior code violated the contiguous range assumption - I can't find a case where we did - then this change might adjust frame layout in some edge cases. The motivation for this is mostly code readability, but I might use this as a primitive for something in an upcoming patch series around shrink wrapping. Haven't decided yet.
Author
Parents
Loading