diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-11-11 19:31:31 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-11-11 19:31:31 +0000 |
commit | 4f7fd3baeb2c30bc04a4ea8a979f2a4bd3a00b35 (patch) | |
tree | 186e8fde82a6152adaec4609a5545f60a15981f8 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | da0fb53c16cafc915996c306bd59362a9f96ecf2 (diff) | |
download | llvm-4f7fd3baeb2c30bc04a4ea8a979f2a4bd3a00b35.zip llvm-4f7fd3baeb2c30bc04a4ea8a979f2a4bd3a00b35.tar.gz llvm-4f7fd3baeb2c30bc04a4ea8a979f2a4bd3a00b35.tar.bz2 |
Fix liveness calculation when splitting critical edges during PHI elimination.
- Edges are split before any phis are eliminated, so the code is SSA.
- Create a proper IR BasicBlock for the split edges.
- LiveVariables::addNewBlock now has same syntax as
MachineDominatorTree::addNewBlock. Algorithm calculates predecessor live-out
set rather than successor live-in set.
This feature still causes some miscompilations.
llvm-svn: 86867
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions