Skip to content
  1. Apr 22, 2005
  2. Mar 06, 2005
  3. Mar 05, 2005
  4. Mar 04, 2005
  5. Mar 01, 2005
    • Jeff Cohen's avatar
      Fixed the following LSR bugs: · 8ea6f9e8
      Jeff Cohen authored
        * Loop invariant code does not dominate the loop header, but rather
          the end of the loop preheader.
      
        * The base for a reduced GEP isn't a constant unless all of its
          operands (preceding the induction variable) are constant.
      
        * Allow induction variable elimination for the simple case after all.
      
      Also made changes recommended by Chris for properly deleting
      instructions.
      
      llvm-svn: 20383
      8ea6f9e8
  6. Feb 28, 2005
  7. Feb 27, 2005
  8. Oct 18, 2004
    • 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