[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 04:28:00 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;
----------------
bevin-hansson wrote:
I'm not sure what to return out of the spiller if I do this. It's currently an ArrayRef, but if the result is computed, what should get returned?
https://github.com/llvm/llvm-project/pull/109962
More information about the llvm-commits
mailing list