diff options
author | Owen Anderson <resistor@mac.com> | 2007-06-06 16:22:00 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-06-06 16:22:00 +0000 |
commit | 96dd9a8b1b969ece5504559ec240930bcb1dddd9 (patch) | |
tree | 6464d12ac23769aefdd9740f15e84763c3d0de6e /lib/CodeGen/IfConversion.cpp | |
parent | b32edb4b2289e7e7bf842e41a9ff169925956c87 (diff) | |
download | external_llvm-96dd9a8b1b969ece5504559ec240930bcb1dddd9.zip external_llvm-96dd9a8b1b969ece5504559ec240930bcb1dddd9.tar.gz external_llvm-96dd9a8b1b969ece5504559ec240930bcb1dddd9.tar.bz2 |
Quick patch to fix the build, based on what it appears Evan meant to write.
Evan, please check that this is in fact correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
-rw-r--r-- | lib/CodeGen/IfConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index 05e6697..b49a0a6 100644 --- a/lib/CodeGen/IfConversion.cpp +++ b/lib/CodeGen/IfConversion.cpp @@ -818,7 +818,7 @@ void IfConverter::MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI) { // Transfer preds / succs and update size. TransferPreds(ToBBI.BB, FromBBI.BB); - if (!blockFallsThrough(FromBBI.BB)) + if (!blockFallsThrough(FromBBI)) TransferSuccs(ToBBI.BB, FromBBI.BB); ToBBI.NonPredSize += FromBBI.NonPredSize; FromBBI.NonPredSize = 0; |