aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-13 21:56:15 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-13 21:56:15 +0000
commit1222287543a5b5917f8c31aa8c88d740f70222d9 (patch)
tree6adb9002432415f75761c4e5caf45dca25290995 /lib/CodeGen/MachineFunction.cpp
parentce727d0da006ca59bbd8c9ddc86e2fa71217d293 (diff)
Fix PHIElimination optimization that uses MBB->getBasicBlock.
The BasicBlock associated with a MachineBasicBlock does not necessarily correspond to the code in the MBB. Don't insert a new IR BasicBlock when splitting critical edges. We are not supposed to modify the IR during codegen, and we should be able to do just fine with a NULL BB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions