diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-01-15 20:00:12 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-01-15 20:00:12 +0000 |
commit | 834d70d3df305410d9148e13c99e27adb9b9de90 (patch) | |
tree | f9cdc928526ba553889696177f6e377715034eea /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 73ef9556dd1ad8babdff9ac0622f0e48a11cdf64 (diff) | |
download | bcm5719-llvm-834d70d3df305410d9148e13c99e27adb9b9de90.tar.gz bcm5719-llvm-834d70d3df305410d9148e13c99e27adb9b9de90.zip |
Don't make changes to the MBB in MachineBasicBlock::canFallThrough().
This fixes the regression for -pre-regalloc-taildup in
MultiSource/Applications/lambda-0.1.3.
llvm-svn: 93541
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index e2ce642cfd6..124f793962c 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -378,7 +378,7 @@ bool MachineBasicBlock::canFallThrough() { MachineBasicBlock *TBB = 0, *FBB = 0; SmallVector<MachineOperand, 4> Cond; const TargetInstrInfo *TII = getParent()->getTarget().getInstrInfo(); - if (TII->AnalyzeBranch(*this, TBB, FBB, Cond, true)) { + if (TII->AnalyzeBranch(*this, TBB, FBB, Cond)) { // If we couldn't analyze the branch, examine the last instruction. // If the block doesn't end in a known control barrier, assume fallthrough // is possible. The isPredicable check is needed because this code can be |