| commit | 4f7fd3baeb2c30bc04a4ea8a979f2a4bd3a00b35 | [log] [tgz] |
|---|---|---|
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Wed Nov 11 19:31:31 2009 +0000 |
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Wed Nov 11 19:31:31 2009 +0000 |
| tree | 186e8fde82a6152adaec4609a5545f60a15981f8 | |
| parent | da0fb53c16cafc915996c306bd59362a9f96ecf2 [diff] |
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