[llvm] [CodeGen][RAGreedy] Inform LiveDebugVariables about snippets spilled by InlineSpiller. (PR #109962)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 04:20:26 PDT 2024
================
@@ -167,6 +167,10 @@ class InlineSpiller : public Spiller {
// All registers to spill to StackSlot, including the main register.
SmallVector<Register, 8> RegsToSpill;
+ // All registers that were replaced by the spiller. This includes registers
+ // that were rematerialized; rematted regs are removed from RegsToSpill.
+ SmallVector<Register, 8> RegsReplaced;
----------------
arsenm wrote:
If this is a superset of RegsToSpill, can you just use RegsToSpill and a supplemental set for the rematerialize or split cases?
https://github.com/llvm/llvm-project/pull/109962
More information about the llvm-commits
mailing list