[llvm] [AMDGPU] Update LiveVariables in SILowerControlFlow::combineMasks (PR #217844)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 03:15:41 PDT 2026


================
@@ -636,10 +638,29 @@ void SILowerControlFlow::combineMasks(MachineInstr &MI) {
     return;
 
   Register Reg = MI.getOperand(OpToReplace).getReg();
+  MachineInstr *Def = MRI->getUniqueVRegDef(Reg);
----------------
aobolensk wrote:

Ah, yes, I have not found the case when it is possible, let's add an assert then

https://github.com/llvm/llvm-project/pull/217844


More information about the llvm-commits mailing list