[llvm-branch-commits] [PHIElimination] Preserve SlotIndexes even without LiveIntervals (PR #207074)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 1 12:59:03 PDT 2026


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/207074

There are some pipelines where we request SlotIndexes, but not
LiveIntervals before running PHIElimination. This happens in the MSP430
pipeline where StackColoring requests SlotIndexes, but nothing requests
LiveIntervals. Before PHIElimination would only update SlotIndexes
through LiveIntervals, which would mean we would fail to preserve
SlotIndexes if it was available but LiveIntervals was not. This would
cause crashes when later passes tried to use SlotIndexes under the
NewPM.





More information about the llvm-branch-commits mailing list