Skip to content
  • Jakob Stoklund Olesen's avatar
    Fix liveness calculation when splitting critical edges during PHI elimination. · 4f7fd3ba
    Jakob Stoklund Olesen authored
    - 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
    4f7fd3ba
Loading