[llvm-branch-commits] [LSR] Deduplicate Phi Nodes before rewriteLoopExitValues (PR #237520)
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Oct 31 00:47:09 PDT 2026
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/237520
Otherwise we might end up with duplicate LCSSA phi nodes that cause
rewriteLoopExitValues to bail given the extra uses, which can cause
optimization regressions.
This works towards getting LSR to work with LCSSA IR which is the last
remaining known blocker for enabling the NewPM for CodeGen more broadly.
More information about the llvm-branch-commits
mailing list