Remove the optimizations that convert BRCOND and BR_CC into
authorDan Gohman <gohman@apple.com>
Tue, 17 Nov 2009 00:47:23 +0000 (00:47 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 17 Nov 2009 00:47:23 +0000 (00:47 +0000)
commite0f06c78d3ee56cea4e7195c616aafc200cb0ba2
treeb48ffe2888d9cf36d44aad64fe4c7bc979836bef
parent76e3e50b8a2c72598b7ee586dd383bb63a236682
Remove the optimizations that convert BRCOND and BR_CC into
unconditional branches or fallthroghes. Instcombine/SimplifyCFG
should be simplifying branches with known conditions.

This fixes some problems caused by these transformations not
updating the MachineBasicBlock CFG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89017 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp