Skip to content
  • Bob Wilson's avatar
    Re-commit my previous SSAUpdater changes. The previous version naively tried · ca51425d
    Bob Wilson authored
    to determine where to place PHIs by iteratively comparing reaching definitions
    at each block.  That was just plain wrong.  This version now computes the
    dominator tree within the subset of the CFG where PHIs may need to be placed,
    and then places the PHIs in the iterated dominance frontier of each definition.
    The rest of the patch is mostly the same, with a few more performance
    improvements added in.
    
    llvm-svn: 101612
    ca51425d
Loading