[llvm-commits] CVS: llvm/lib/CodeGen/IfConversion.cpp

Evan Cheng evan.cheng at apple.com
Fri Jun 15 10:35:11 PDT 2007



Changes in directory llvm/lib/CodeGen:

IfConversion.cpp updated: 1.51 -> 1.52
---
Log message:

Extra edges are deleted later if needed.

---
Diffs of the changes:  (+0 -1)

 IfConversion.cpp |    1 -
 1 files changed, 1 deletion(-)


Index: llvm/lib/CodeGen/IfConversion.cpp
diff -u llvm/lib/CodeGen/IfConversion.cpp:1.51 llvm/lib/CodeGen/IfConversion.cpp:1.52
--- llvm/lib/CodeGen/IfConversion.cpp:1.51	Fri Jun 15 02:36:12 2007
+++ llvm/lib/CodeGen/IfConversion.cpp	Fri Jun 15 12:34:48 2007
@@ -806,7 +806,6 @@
     // 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);






More information about the llvm-commits mailing list