[llvm] Move SI Lower Control Flow Up (PR #159557)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 10:50:39 PDT 2025
================
@@ -323,6 +332,8 @@ void SILowerControlFlow::emitElse(MachineInstr &MI) {
if (LV)
LV->replaceKillInstruction(SrcReg, MI, *OrSaveExec);
+ move_ins_before_phis(*OrSaveExec);
----------------
alex-t wrote:
If we lower SI_END_CF and don't split block we are going to have Exec = Exec OR Masked in the beginning or middle.
https://github.com/llvm/llvm-project/pull/159557
More information about the llvm-commits
mailing list