Skip to content

Commit

Permalink
[MergeICmps] Break eargerly out of loop
Browse files Browse the repository at this point in the history
llvm-svn: 327972
  • Loading branch information
trentxintong committed Mar 20, 2018
1 parent bdbd97e commit a713ebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Transforms/Scalar/MergeICmps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ bool BCECmpChain::simplify(const TargetLibraryInfo *const TLI) {
BasicBlock *NEntryBB = BasicBlock::Create(Entry->getContext(), "",
Entry->getParent(), Entry);
BranchInst::Create(Entry, NEntryBB);
break;
}
}

Expand Down

0 comments on commit a713ebe

Please sign in to comment.