projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20350db
)
Forgot to reverse conditional.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 23 May 2012 22:12:50 +0000
(22:12 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 23 May 2012 22:12:50 +0000
(22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157349
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/BranchFolding.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/BranchFolding.cpp
b/lib/CodeGen/BranchFolding.cpp
index dc786a21f968b0520d515ef7860412c77f66c1de..2e978b333e98ec33f86b75d7ac8e21eba2883065 100644
(file)
--- a/
lib/CodeGen/BranchFolding.cpp
+++ b/
lib/CodeGen/BranchFolding.cpp
@@
-863,7
+863,7
@@
bool BranchFolder::TailMergeBlocks(MachineFunction &MF) {
for (MachineFunction::iterator I = llvm::next(MF.begin()), E = MF.end();
I != E; ++I) {
- if (I->pred_size()
>=
2) continue;
+ if (I->pred_size()
<
2) continue;
SmallPtrSet<MachineBasicBlock *, 8> UniquePreds;
MachineBasicBlock *IBB = I;
MachineBasicBlock *PredBB = prior(I);