mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Forgot to reverse conditional.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -863,7 +863,7 @@ bool BranchFolder::TailMergeBlocks(MachineFunction &MF) {
|
|||||||
|
|
||||||
for (MachineFunction::iterator I = llvm::next(MF.begin()), E = MF.end();
|
for (MachineFunction::iterator I = llvm::next(MF.begin()), E = MF.end();
|
||||||
I != E; ++I) {
|
I != E; ++I) {
|
||||||
if (I->pred_size() >= 2) continue;
|
if (I->pred_size() < 2) continue;
|
||||||
SmallPtrSet<MachineBasicBlock *, 8> UniquePreds;
|
SmallPtrSet<MachineBasicBlock *, 8> UniquePreds;
|
||||||
MachineBasicBlock *IBB = I;
|
MachineBasicBlock *IBB = I;
|
||||||
MachineBasicBlock *PredBB = prior(I);
|
MachineBasicBlock *PredBB = prior(I);
|
||||||
|
Reference in New Issue
Block a user