diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-05-13 23:35:38 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-05-13 23:35:38 +0000 |
commit | 969bf71ca69c2807e40bfe43d55c1d450a7d93ae (patch) | |
tree | 044d672be2c9a942c9b6c3db5248e58253ccf50a /llvm/lib | |
parent | 43467d7daf6273c03ecb2419e14aeaf0fc986322 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |