| commit | ad205d610239538327cc1ea99df1fa972ff8c222 | [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 | 3024d490abd206bc8e26d6b68ea94b3b151f0abf | |
| parent | 27440e71fc2fbe0337e1554a9c0a52352f3a31d0 [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. llvm-svn: 88707