Skip to content
  1. Sep 29, 2011
    • Andrew Trick's avatar
      LSR: rewrite inner loops only. · bc6de90a
      Andrew Trick authored
      Rewriting the entire loop nest now requires -enable-lsr-nested.
      See PR11035 for some performance data.
      A few unit tests specifically test nested LSR, and are now under a flag.
      
      llvm-svn: 140762
      bc6de90a
  2. Sep 28, 2011
  3. Sep 27, 2011
  4. Sep 24, 2011
    • Andrew Trick's avatar
      LSR minor bug fix in RateRegister. · 8b2fe2f7
      Andrew Trick authored
      No test case. Noticed by inspection and I doubt it ever affects the
      outcome of the overall heuristic, let alone final codegen.
      
      llvm-svn: 140431
      8b2fe2f7
  5. Sep 22, 2011
  6. Sep 21, 2011
  7. Sep 15, 2011
  8. Sep 14, 2011
  9. Sep 13, 2011
  10. Sep 12, 2011
  11. Sep 10, 2011
    • Andrew Trick's avatar
      [disable-iv-rewrite] Allow WidenIV to handle NSW/NUW operations · c7868bf0
      Andrew Trick authored
      better.
      
      Don't immediately give up when an add operation can't be trivially
      sign/zero-extended within a loop. If it has NSW/NUW flags, generate a
      new expression with sign extended (non-recurrent) operand. As before,
      if SCEV says that all sign extends are loop invariant, then we can
      widen the operation.
      
      llvm-svn: 139453
      c7868bf0
  12. Sep 09, 2011
  13. Sep 06, 2011
  14. Sep 04, 2011
  15. Sep 02, 2011
    • Bill Wendling's avatar
      Update comments to reflect reality. · a336e705
      Bill Wendling authored
      llvm-svn: 139023
      a336e705
    • Andrew Trick's avatar
      Enable SCEV-based unrolling by default. · 31b941a6
      Andrew Trick authored
      This changes loop unrolling to use the same mechanism for trip count
      computation as indvars. This is a stronger check that tends to unroll
      more loops. A very common side-effect is that many single iteration
      loops will be removed sooner. The real goal was simply to remove
      dependence on canonical IVs.
      
      x86 is break even.
      ARM performance changes to expect (+ is good):
      External/SPEC/CFP2000/183.equake/183.equake +13%
      SingleSource/Benchmarks/Dhrystone/fldry     +21%
      MultiSource/Applications/spiff/spiff         +3%
      SingleSource/Benchmarks/Stanford/Puzzle     -14%
      
      The Puzzle regression is actually an improvement in loop optimization
      that defeats GVN: rdar://problem/10065079.
      
      llvm-svn: 139009
      31b941a6
    • Jakub Staszak's avatar
      Compare type size instead of type _store_ size to make sure that BitCastInst · 7470fb01
      Jakub Staszak authored
      will be valid. This fixes PR10820.
      
      llvm-svn: 139005
      7470fb01
  16. Sep 01, 2011
  17. Aug 31, 2011
  18. Aug 30, 2011
  19. Aug 26, 2011
  20. Aug 25, 2011
  21. Aug 24, 2011
Loading