X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FMachineBlockPlacement.cpp;fp=lib%2FCodeGen%2FMachineBlockPlacement.cpp;h=4beaa7f396436b47825b08499c522cba4fb1a802;hb=81d225b93d55ec44d6e79f2d95440f250f3df064;hp=f5e3056450116514c2960b7c7794a248257bef1b;hpb=59278dfa2316824957b2633f5030103965030643;p=oota-llvm.git diff --git a/lib/CodeGen/MachineBlockPlacement.cpp b/lib/CodeGen/MachineBlockPlacement.cpp index f5e30564501..4beaa7f3964 100644 --- a/lib/CodeGen/MachineBlockPlacement.cpp +++ b/lib/CodeGen/MachineBlockPlacement.cpp @@ -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;