[llvm] AMDGPU: Mark the SCC def dead when expanding CF pseudos (PR #226249)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 02:11:53 PDT 2026
================
@@ -249,17 +251,17 @@ void SILowerControlFlow::emitIf(MachineInstr &MI) {
MachineInstr *And =
BuildMI(MBB, I, DL, TII->get(LMC.AndOpc), Tmp).addReg(CopyReg).add(Cond);
+ setImpSCCDefDead(*And, /*IsDead=*/true);
----------------
jayfoad wrote:
#226406 would avoid repeating `/*IsDead=*/true` in this patch.
https://github.com/llvm/llvm-project/pull/226249
More information about the llvm-commits
mailing list