mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Remove duplicated test.
Thanks Bob Wilson for noticing it! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132851 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc29c44713
commit
9a9a3a5c0f
@ -573,13 +573,12 @@ TailDuplicatePass::TailDuplicate(MachineBasicBlock *TailBB, MachineFunction &MF,
|
||||
|
||||
assert(TailBB != PredBB &&
|
||||
"Single-block loop should have been rejected earlier!");
|
||||
if (PredBB->succ_size() > 1) continue;
|
||||
// EH edges are ignored by AnalyzeBranch.
|
||||
if (PredBB->succ_size() > 1)
|
||||
continue;
|
||||
|
||||
MachineBasicBlock *PredTBB, *PredFBB;
|
||||
SmallVector<MachineOperand, 4> PredCond;
|
||||
// EH edges are ignored by AnalyzeBranch.
|
||||
if (PredBB->succ_size() != 1)
|
||||
continue;
|
||||
if (TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true))
|
||||
continue;
|
||||
if (!PredCond.empty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user