Skip to content
  • Nate Begeman's avatar
    Initial implementation of the strength reduction for GEP instructions in · b18121e6
    Nate Begeman authored
    loops.  This optimization is not turned on by default yet, but may be run
    with the opt tool's -loop-reduce flag.  There are many FIXMEs listed in the
    code that will make it far more applicable to a wide range of code, but you
    have to start somewhere :)
    
    This limited version currently triggers on the following tests in the
    MultiSource directory:
    pcompress2: 7 times
    cfrac: 5 times
    anagram: 2 times
    ks: 6 times
    yacr2: 2 times
    
    llvm-svn: 17134
    b18121e6
Loading