Skip to content
  • Chandler Carruth's avatar
    [PM] Relax asserts and always try to reconstruct loop simplify form when · ad34d913
    Chandler Carruth authored
    we can while splitting critical edges.
    
    The only code which called this and didn't require simplified loops to
    be preserved is polly, and the code behaves correctly there anyways.
    Without this change, it becomes really hard to share this code with the
    new pass manager where things like preserving loop simplify form don't
    make any sense.
    
    If anyone discovers this code behaving incorrectly, what it *should* be
    testing for is whether the loops it needs to be in simplified form are
    in fact in that form. It should always be trying to preserve that form
    when it exists.
    
    llvm-svn: 226443
    ad34d913
Loading