aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-11 19:31:31 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-11 19:31:31 +0000
commit4f7fd3baeb2c30bc04a4ea8a979f2a4bd3a00b35 (patch)
tree186e8fde82a6152adaec4609a5545f60a15981f8 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentda0fb53c16cafc915996c306bd59362a9f96ecf2 (diff)
downloadllvm-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