commit | 1222287543a5b5917f8c31aa8c88d740f70222d9 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Nov 13 21:56:15 2009 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Nov 13 21:56:15 2009 +0000 |
tree | 6adb9002432415f75761c4e5caf45dca25290995 | |
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