Skip to content

Commit 53a43f8

Browse files
committed
fix formatting
1 parent 35c4483 commit 53a43f8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,11 @@ class ConstantTerminatorFoldingImpl {
222222
// wasn't able to form one because the loop can be entered through an
223223
// indirectbr we cannot continue.
224224
if (!L.getLoopPreheader()) {
225-
assert(any_of(predecessors(L.getHeader()), [&](BasicBlock *Pred) {
226-
return isa<IndirectBrInst>(Pred->getTerminator());
227-
}) && "Loop should have preheader if it is not entered indirectly");
225+
assert(any_of(predecessors(L.getHeader()),
226+
[&](BasicBlock *Pred) {
227+
return isa<IndirectBrInst>(Pred->getTerminator());
228+
}) &&
229+
"Loop should have preheader if it is not entered indirectly");
228230
HasIndirectEntry = true;
229231
return;
230232
}

0 commit comments

Comments
 (0)