Skip to content
  1. Apr 22, 2008
    • Chris Lattner's avatar
      remove dead code. · 8fb13cbe
      Chris Lattner authored
      llvm-svn: 50080
      8fb13cbe
    • Chris Lattner's avatar
      optimize "p != gep p, ..." better. This allows us to compile · c3a43935
      Chris Lattner authored
      getelementptr-seteq.ll into:
      
      define i1 @test(i64 %X, %S* %P) {
      	%C = icmp eq i64 %X, -1		; <i1> [#uses=1]
      	ret i1 %C
      }
      
      instead of:
      
      define i1 @test(i64 %X, %S* %P) {
      	%A.idx.mask = and i64 %X, 4611686018427387903		; <i64> [#uses=1]
      	%C = icmp eq i64 %A.idx.mask, 4611686018427387903		; <i1> [#uses=1]
      	ret i1 %C
      }
      
      And fixes the second half of PR2235.  This speeds up the insertion sort
      case by 45%, from 1.12s to 0.77s.  In practice, this will significantly
      speed up for loops structured like:
      
      for (double *P = Base + N; P != Base; --P)
        ...
      
      Which happens frequently for C++ iterators.
      
      llvm-svn: 50079
      c3a43935
  2. Apr 21, 2008
  3. Apr 20, 2008
  4. Apr 19, 2008
  5. Apr 17, 2008
  6. Apr 15, 2008
  7. Apr 14, 2008
  8. Apr 13, 2008
  9. Apr 11, 2008
  10. Apr 10, 2008
    • Dan Gohman's avatar
      Teach InstCombine's ComputeMaskedBits to handle pointer expressions · 99b7b3f0
      Dan Gohman authored
      in addition to integer expressions. Rewrite GetOrEnforceKnownAlignment
      as a ComputeMaskedBits problem, moving all of its special alignment
      knowledge to ComputeMaskedBits as low-zero-bits knowledge.
      
      Also, teach ComputeMaskedBits a few basic things about Mul and PHI
      instructions.
      
      This improves ComputeMaskedBits-based simplifications in a few cases,
      but more noticeably it significantly improves instcombine's alignment
      detection for loads, stores, and memory intrinsics.
      
      llvm-svn: 49492
      99b7b3f0
    • Chris Lattner's avatar
      Disable an xform we've had for a long time, pow(x,0.5) -> sqrt. · a29d2536
      Chris Lattner authored
      This is not safe for all inputs.
      
      llvm-svn: 49458
      a29d2536
  11. Apr 09, 2008
  12. Apr 08, 2008
  13. Apr 07, 2008
Loading