[llvm] [LiveDebugVariables] Stop holding SlotIndexes for erased instructions (PR #224467)
Petar Jovanovic via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 28 03:44:22 PDT 2026
================
@@ -2959,6 +2959,13 @@ bool RAGreedy::run(MachineFunction &mf) {
if (!hasVirtRegAlloc())
return false;
+ // Passes that ran since the analysis was built may have erased instructions
+ // it holds indexes for. This only makes it clean here and in
----------------
petar-jovanovic wrote:
Now that I look at it, it is confusing indeed. I have reworded it.
https://github.com/llvm/llvm-project/pull/224467
More information about the llvm-commits
mailing list