Reverts wrong modification to MachineBlockPlacement & BranchFolding; uses a new strat...
[oota-llvm.git] / lib / CodeGen / MachineBlockPlacement.cpp
index 4beaa7f..f5e3056 100644 (file)
@@ -1271,10 +1271,7 @@ void MachineBlockPlacement::buildCFGChains(MachineFunction &F) {
       //
       bool needUpdateBr = true;
       if (!Cond.empty() && (!FBB || FBB == ChainBB)) {
-        // XXX-disabled: Don't bother with added fake conditional branches.
-        /*
         PrevBB->updateTerminator();
-        */
         needUpdateBr = false;
         Cond.clear();
         TBB = FBB = nullptr;