Skip to content
  • Evan Cheng's avatar
    - Teach LSR to avoid changing cmp iv stride if it will create an immediate that · 85a9f430
    Evan Cheng authored
      cannot be folded into target cmp instruction.
    - Avoid a phase ordering issue where early cmp optimization would prevent the
      later count-to-zero optimization.
    - Add missing checks which could cause LSR to reuse stride that does not have
      users.
    - Fix a bug in count-to-zero optimization code which failed to find the pre-inc
      iv's phi node.
    - Remove, tighten, loosen some incorrect checks disable valid transformations.
    - Quite a bit of code clean up.
    
    llvm-svn: 86969
    85a9f430
Loading