================
@@ -323,6 +332,8 @@ void SILowerControlFlow::emitElse(MachineInstr &MI) {
if (LV)
LV->replaceKillInstruction(SrcReg, MI, *OrSaveExec);
+ move_ins_before_phis(*OrSaveExec);
----------------
linuxrocks123 wrote:
Hmm, I'll take a look.
https://github.com/llvm/llvm-project/pull/159557