Skip to content
  • Cameron Zwarich's avatar
    Turn this pass ordering: · 58c8670a
    Cameron Zwarich authored
    Natural Loop Information
     Loop Pass Manager
       Canonicalize natural loops
     Scalar Evolution Analysis
     Loop Pass Manager
       Induction Variable Users
       Canonicalize natural loops
       Induction Variable Users
       Loop Strength Reduction
    
    into this:
    
    Scalar Evolution Analysis
    Loop Pass Manager
      Canonicalize natural loops
      Induction Variable Users
      Loop Strength Reduction
    
    This fixes <rdar://problem/8869639>. I also filed PR9184 on doing this sort of
    thing automatically, but it seems easier to just change the ordering of the
    passes if this is the only case.
    
    llvm-svn: 125254
    58c8670a
Loading