forked from OSchip/llvm-project
parent
e8d28904b0
commit
776ef4dd32
|
@ -1222,7 +1222,7 @@ ReoptimizeBlock:
|
||||||
// Analyze the branch at the end of the pred.
|
// Analyze the branch at the end of the pred.
|
||||||
MachineBasicBlock *PredBB = *PI;
|
MachineBasicBlock *PredBB = *PI;
|
||||||
MachineFunction::iterator PredFallthrough = PredBB; ++PredFallthrough;
|
MachineFunction::iterator PredFallthrough = PredBB; ++PredFallthrough;
|
||||||
MachineBasicBlock *PredTBB, *PredFBB;
|
MachineBasicBlock *PredTBB = 0, *PredFBB = 0;
|
||||||
SmallVector<MachineOperand, 4> PredCond;
|
SmallVector<MachineOperand, 4> PredCond;
|
||||||
if (PredBB != MBB && !PredBB->canFallThrough() &&
|
if (PredBB != MBB && !PredBB->canFallThrough() &&
|
||||||
!TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)
|
!TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)
|
||||||
|
|
Loading…
Reference in New Issue