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:
e19fb7d
)
Merge adjacent conditional.
author
Bob Wilson
<bob.wilson@apple.com>
Wed, 13 May 2009 23:35:38 +0000
(23:35 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Wed, 13 May 2009 23:35:38 +0000
(23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71741
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/IfConversion.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/IfConversion.cpp
b/lib/CodeGen/IfConversion.cpp
index 87d81ecf69da03d15ad35788c2d8bad0dfdbac53..93e7ff6cfb65e1612ef6d276e4aa4c48675f9251 100644
(file)
--- a/
lib/CodeGen/IfConversion.cpp
+++ b/
lib/CodeGen/IfConversion.cpp
@@
-947,9
+947,7
@@
bool IfConverter::IfConvertTriangle(BBInfo &BBI, IfcvtKind Kind) {
// Predicate the 'true' block after removing its branch.
CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);
PredicateBlock(*CvtBBI, CvtBBI->BB->end(), Cond);
- }
- if (!DupBB) {
// Now merge the entry of the triangle with the true block.
BBI.NonPredSize -= TII->RemoveBranch(*BBI.BB);
MergeBlocks(BBI, *CvtBBI);