Skip to content

Commit 9993ffc

Browse files
authored
Update llvm/lib/CodeGen/MachineSink.cpp
Use web editor
1 parent f613463 commit 9993ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/MachineSink.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ bool MachineSinking::aggressivelySinkIntoCycle(
17411741
UseReg.SubReg, *TRI);
17421742
}
17431743
// If we have replaced all uses, then delete the dead instruction
1744-
if (I.isDead(MRI))
1744+
if (I.isDead(*MRI))
17451745
I.eraseFromParent();
17461746
return true;
17471747
}

0 commit comments

Comments
 (0)