Explorar o código

Forgot to reverse conditional.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157349 91177308-0d34-0410-b5e6-96231b3b80d8
Bill Wendling %!s(int64=13) %!d(string=hai) anos
pai
achega
dbb4e57a3c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/CodeGen/BranchFolding.cpp

+ 1 - 1
lib/CodeGen/BranchFolding.cpp

@@ -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);