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:
3a42053
)
Fix a typo.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 31 May 2007 20:53:33 +0000
(20:53 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 31 May 2007 20:53:33 +0000
(20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37374
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 431841c47f6b941d8b8aeabc84d922051ce79a80..637990971e5cddfca8f47c6820c1533ddb7b19df 100644
(file)
--- a/
lib/CodeGen/IfConversion.cpp
+++ b/
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);