Skip to content

Commit fac4206

Browse files
committed
[EarlyIfConversion] Simplify condition after #65729
1 parent 05c16f4 commit fac4206

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/CodeGen/EarlyIfConversion.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,8 +828,6 @@ void updateDomTree(MachineDominatorTree *DomTree, const SSAIfConv &IfConv,
828828
/// Update LoopInfo after if-conversion.
829829
void updateLoops(MachineLoopInfo *Loops,
830830
ArrayRef<MachineBasicBlock *> Removed) {
831-
if (!Loops)
832-
return;
833831
// If-conversion doesn't change loop structure, and it doesn't mess with back
834832
// edges, so updating LoopInfo is simply removing the dead blocks.
835833
for (auto *B : Removed)

0 commit comments

Comments
 (0)