[llvm] [CodeGen][RAGreedy] Inform LiveDebugVariables about snippets spilled by InlineSpiller. (PR #109962)
Bevin Hansson via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 06:20:18 PDT 2024
================
@@ -167,8 +167,8 @@ 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.
+ // All registers that were replaced by the spiller through some other method,
+ // e.g. rematerialization.
SmallVector<Register, 8> RegsReplaced;
----------------
bevin-hansson wrote:
I guess we could refrain from erasing the regs from the RegsToSpill list and keep track of where the removed regs are located in the list. But I don't know if that's really cleaner.
https://github.com/llvm/llvm-project/pull/109962
More information about the llvm-commits
mailing list