Adds fake conditional branches right after relaxed loads if necessary
[oota-llvm.git] / lib / CodeGen / MachineBlockPlacement.cpp
index f5e3056450116514c2960b7c7794a248257bef1b..4beaa7f396436b47825b08499c522cba4fb1a802 100644 (file)
@@ -1271,7 +1271,10 @@ 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;