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 | 409558d2c4f941068e3d00eed5e0242ddeb90fba (patch) | |
tree | ab6b159d6b6c15d5278703254f21998e6f66e0d1 /lib/CodeGen/BranchFolding.cpp | |
parent | 2c86b6b0413e8ddf58ffea4a9917a81835606569 (diff) | |
download | external_llvm-409558d2c4f941068e3d00eed5e0242ddeb90fba.zip external_llvm-409558d2c4f941068e3d00eed5e0242ddeb90fba.tar.gz external_llvm-409558d2c4f941068e3d00eed5e0242ddeb90fba.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions