[llvm-branch-commits] [LSR] Add more instructions to DeadInsts in RewriteForPHI (PR #237532)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Oct 31 02:22:00 PDT 2026


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

If we have LCSSA preservation enabled, SplitCriticalEdge inserts a new
LCSSA Phi node which means we have an incoming value we are going to
replace that is not in DeadInsts. Add the phi node so we do cleanup
properly.





More information about the llvm-branch-commits mailing list