Forgot to reverse conditional.

llvm-svn: 157349
This commit is contained in:
Bill Wendling 2012-05-23 22:12:50 +00:00
parent 9235b4e8b1
commit ad5fae97e3

View File

@ -863,7 +863,7 @@ bool BranchFolder::TailMergeBlocks(MachineFunction &MF) {
for (MachineFunction::iterator I = llvm::next(MF.begin()), E = MF.end();
I != E; ++I) {
if (I->pred_size() >= 2) continue;
if (I->pred_size() < 2) continue;
SmallPtrSet<MachineBasicBlock *, 8> UniquePreds;
MachineBasicBlock *IBB = I;
MachineBasicBlock *PredBB = prior(I);