[all-commits] [llvm/llvm-project] c78dd2: [PHIElimination] Preserve SlotIndexes even without...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Wed Jul 1 21:54:45 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c78dd2fef98f7a5947bdf9be688bd0bf49b04821
https://github.com/llvm/llvm-project/commit/c78dd2fef98f7a5947bdf9be688bd0bf49b04821
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2026-07-02 (Thu, 02 Jul 2026)
Changed paths:
M llvm/lib/CodeGen/PHIElimination.cpp
M llvm/test/CodeGen/MSP430/selectcc.ll
Log Message:
-----------
[PHIElimination] Preserve SlotIndexes even without LiveIntervals
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.
Reviewers: RKSimon, aeubanks, arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/207074
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list