mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 01:12:59 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
057d53993c
commit
33cc8d6b55
@ -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…
Reference in New Issue
Block a user