diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-31 20:53:33 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-31 20:53:33 +0000 |
commit | e6ccb6c5ed4cc7dd55d6ccb64fc8344406fa2f75 (patch) | |
tree | ff1154335337e0fc97e919cbe24d54e6ea8d4527 | |
parent | 3e3ff30aa26bf61002dfddcc9e2c1d6df5f8bbc1 (diff) | |
download | bcm5719-llvm-e6ccb6c5ed4cc7dd55d6ccb64fc8344406fa2f75.tar.gz bcm5719-llvm-e6ccb6c5ed4cc7dd55d6ccb64fc8344406fa2f75.zip |
Fix a typo.
llvm-svn: 37374
-rw-r--r-- | llvm/lib/CodeGen/IfConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp index 431841c47f6..637990971e5 100644 --- a/llvm/lib/CodeGen/IfConversion.cpp +++ b/llvm/lib/CodeGen/IfConversion.cpp @@ -605,7 +605,7 @@ bool IfConverter::IfConvertDiamond(BBInfo &BBI) { // 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); |