OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d89cc95
)
[MergeICmps] Break eargerly out of loop
author
Xin Tong
<trent.xin.tong@gmail.com>
Tue, 20 Mar 2018 12:03:25 +0000
(12:03 +0000)
committer
Xin Tong
<trent.xin.tong@gmail.com>
Tue, 20 Mar 2018 12:03:25 +0000
(12:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327972
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/MergeICmps.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/MergeICmps.cpp
b/lib/Transforms/Scalar/MergeICmps.cpp
index
9ccba2d
..
16c4bff
100644
(file)
--- a/
lib/Transforms/Scalar/MergeICmps.cpp
+++ b/
lib/Transforms/Scalar/MergeICmps.cpp
@@
-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;
}
}