diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-11-13 21:56:15 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-11-13 21:56:15 +0000 |
commit | 1222287543a5b5917f8c31aa8c88d740f70222d9 (patch) | |
tree | 6adb9002432415f75761c4e5caf45dca25290995 /lib/CodeGen/MachineFunction.cpp | |
parent | ce727d0da006ca59bbd8c9ddc86e2fa71217d293 (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