Skip to content
  1. Oct 09, 2006
    • Chris Lattner's avatar
      new testcase for SROA for stuff like "union { int*, float* }". · 7a36ae43
      Chris Lattner authored
      llvm-svn: 30822
      7a36ae43
    • Chris Lattner's avatar
      Eliminate more token factors by taking advantage of transitivity: · 5ab6d8b3
      Chris Lattner authored
      if TF depends on A and B, and A depends on B, TF just needs to depend on
      A.  With Jim's alias-analysis stuff enabled, this compiles the testcase in
      PR892 into:
      
      __Z4test3Val:
              subl $44, %esp
              call L__Z3foov$stub
              movl %edx, 28(%esp)
              movl %eax, 32(%esp)
              movl %eax, 24(%esp)
              movl %edx, 36(%esp)
              movl 52(%esp), %ecx
              movl %ecx, 4(%esp)
              movl %eax, 8(%esp)
              movl %edx, 12(%esp)
              movl 48(%esp), %eax
              movl %eax, (%esp)
              call L__Z3bar3ValS_$stub
              addl $44, %esp
              ret
      
      instead of:
      
      __Z4test3Val:
              subl $44, %esp
              call L__Z3foov$stub
              movl %eax, 24(%esp)
              movl %edx, 28(%esp)
              movl 24(%esp), %eax
              movl %eax, 32(%esp)
              movl 28(%esp), %eax
              movl %eax, 36(%esp)
              movl 32(%esp), %eax
              movl 36(%esp), %ecx
              movl 52(%esp), %edx
              movl %edx, 4(%esp)
              movl %eax, 8(%esp)
              movl %ecx, 12(%esp)
              movl 48(%esp), %eax
              movl %eax, (%esp)
              call L__Z3bar3ValS_$stub
              addl $44, %esp
              ret
      
      llvm-svn: 30821
      5ab6d8b3
    • Chris Lattner's avatar
      Fix PR897 · 9e512e5b
      Chris Lattner authored
      llvm-svn: 30820
      9e512e5b
  2. Oct 08, 2006
  3. Oct 07, 2006
Loading