summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-05-13 23:35:38 +0000
committerBob Wilson <bob.wilson@apple.com>2009-05-13 23:35:38 +0000
commit969bf71ca69c2807e40bfe43d55c1d450a7d93ae (patch)
tree044d672be2c9a942c9b6c3db5248e58253ccf50a /llvm/lib
parent43467d7daf6273c03ecb2419e14aeaf0fc986322 (diff)
downloadbcm5719-llvm-969bf71ca69c2807e40bfe43d55c1d450a7d93ae.tar.gz
bcm5719-llvm-969bf71ca69c2807e40bfe43d55c1d450a7d93ae.zip
Merge adjacent conditional.
llvm-svn: 71741
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/IfConversion.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index 87d81ecf69d..93e7ff6cfb6 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud