mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-17 09:12:42 +00:00
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
This commit is contained in:
parent
cf4c604899
commit
65bc6159f6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user