[llvm-commits] CVS: llvm/lib/CodeGen/IfConversion.cpp
Evan Cheng
evan.cheng at apple.com
Thu May 31 13:53:52 PDT 2007
Changes in directory llvm/lib/CodeGen:
IfConversion.cpp updated: 1.16 -> 1.17
---
Log message:
Fix a typo.
---
Diffs of the changes: (+1 -1)
IfConversion.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/IfConversion.cpp
diff -u llvm/lib/CodeGen/IfConversion.cpp:1.16 llvm/lib/CodeGen/IfConversion.cpp:1.17
--- llvm/lib/CodeGen/IfConversion.cpp:1.16 Wed May 30 14:49:19 2007
+++ llvm/lib/CodeGen/IfConversion.cpp Thu May 31 15:53:33 2007
@@ -605,7 +605,7 @@
// tail block, and the tail block does not have other predecessors, then
// fold the tail block in as well.
if (BBI.TailBB &&
- BBI.TailBB->succ_size() == 1 && CvtBBI->BB->succ_size() == 1) {
+ BBI.TailBB->pred_size() == 1 && CvtBBI->BB->succ_size() == 1) {
CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);
BBInfo TailBBI = BBAnalysis[BBI.TailBB->getNumber()];
MergeBlocks(*CvtBBI, TailBBI);
More information about the llvm-commits
mailing list