Skip to content
  1. Dec 05, 2009
  2. Dec 04, 2009
  3. Dec 03, 2009
  4. Dec 02, 2009
  5. Dec 01, 2009
  6. Nov 30, 2009
  7. Nov 29, 2009
    • Nick Lewycky's avatar
      Teach ConstantFolding to do a better job when folding gep(bitcast). · e35e6f09
      Nick Lewycky authored
      This permits the devirtualization of llvm.org/PR3100#c9 when compiled by clang.
      
      llvm-svn: 90099
      e35e6f09
    • Chris Lattner's avatar
      add testcases for the foo_with_overflow op xforms added recently and · 1cc4cca1
      Chris Lattner authored
      fix bugs exposed by the tests.  Testcases from Alastair Lynn!
      
      llvm-svn: 90056
      1cc4cca1
    • Chris Lattner's avatar
      add PR# · 0d39613f
      Chris Lattner authored
      llvm-svn: 90049
      0d39613f
    • Chris Lattner's avatar
      Add a testcase for: · 73d45454
      Chris Lattner authored
      void test(int N, double* G) {
        long j;
        for (j = 1; j < N - 1; j++)
            G[j] = G[j] + G[j+1] + G[j-1];
      }
      
      which we now compile to one load in the loop:
      
      LBB1_2:                                                     ## %bb
      	movsd	16(%rsi,%rax,8), %xmm2
      	incq	%rdx
      	addsd	%xmm2, %xmm1
      	addsd	%xmm1, %xmm0
      	movapd	%xmm2, %xmm1
      	movsd	%xmm0, 8(%rsi,%rax,8)
      	incq	%rax
      	cmpq	%rcx, %rax
      	jne	LBB1_2
      
      instead of:
      
      LBB1_2:                                                     ## %bb
      	movsd	8(%rsi,%rax,8), %xmm0
      	addsd	16(%rsi,%rax,8), %xmm0
      	addsd	(%rsi,%rax,8), %xmm0
      	movsd	%xmm0, 8(%rsi,%rax,8)
      	incq	%rax
      	cmpq	%rcx, %rax
      	jne	LBB1_2
      
      llvm-svn: 90048
      73d45454
Loading