Skip to content
  • Dan Gohman's avatar
    Fix SplitCriticalEdge to properly update LCSSA form when splitting a · ec4557f3
    Dan Gohman authored
    loop exit edge -- new PHIs may be needed not only for the additional
    splits that are made to preserve LoopSimplify form, but also for the
    original split. Factor out the code that inserts new PHIs so that it
    can be used for both. Remove LoopRotation.cpp's code for manually
    updating LCSSA form, as it is now redundant. This fixes PR4934.
    
    llvm-svn: 81363
    ec4557f3
Loading