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:
9d46cd5
)
Extra edges are deleted later if needed.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 15 Jun 2007 17:34:48 +0000
(17:34 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 15 Jun 2007 17:34:48 +0000
(17:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37593
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 9885ccc159acad638d77080392ad136cc79b3782..93388df8542b355e26ca32e0eaa3e906294c564e 100644
(file)
--- a/
lib/CodeGen/IfConversion.cpp
+++ b/
lib/CodeGen/IfConversion.cpp
@@
-806,7
+806,6
@@
bool IfConverter::IfConvertTriangle(BBInfo &BBI) {
// Copy instructions in the true block, predicate them add them to
// the entry block.
CopyAndPredicateBlock(BBI, *CvtBBI, Cond, true);
- BBI.BB->removeSuccessor(CvtBBI->BB);
} else {
// Predicate the 'true' block after removing its branch.
CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);