Skip to content
  1. Apr 21, 2010
    • Evan Cheng's avatar
      Rewrite machine cse to avoid recursion. · 4b2ef56a
      Evan Cheng authored
      llvm-svn: 101964
      4b2ef56a
    • Dan Gohman's avatar
      Add another variant of this test which found a place where · ad33d337
      Dan Gohman authored
      CodeGen's ComputeMaskedBits was being over-conservative when computing
      bits for an ADD.
      
      llvm-svn: 101963
      ad33d337
    • Chris Lattner's avatar
      teach the x86 address matching stuff to handle · 84776786
      Chris Lattner authored
      (shl (or x,c), 3) the same as (shl (add x, c), 3)
      when x doesn't have any bits from c set.
      
      This finishes off PR1135.  Before we compiled the block to:
      to:
      
      LBB0_3:                                 ## %bb
      	cmpb	$4, %dl
      	sete	%dl
      	addb	%dl, %cl
      	movb	%cl, %dl
      	shlb	$2, %dl
      	addb	%r8b, %dl
      	shlb	$2, %dl
      	movzbl	%dl, %edx
      	movl	%esi, (%rdi,%rdx,4)
      	leaq	2(%rdx), %r9
      	movl	%esi, (%rdi,%r9,4)
      	leaq	1(%rdx), %r9
      	movl	%esi, (%rdi,%r9,4)
      	addq	$3, %rdx
      	movl	%esi, (%rdi,%rdx,4)
      	incb	%r8b
      	decb	%al
      	movb	%r8b, %dl
      	jne	LBB0_1
      
      Now we produce:
      
      LBB0_3:                                 ## %bb
      	cmpb	$4, %dl
      	sete	%dl
      	addb	%dl, %cl
      	movb	%cl, %dl
      	shlb	$2, %dl
      	addb	%r8b, %dl
      	shlb	$2, %dl
      	movzbl	%dl, %edx
      	movl	%esi, (%rdi,%rdx,4)
      	movl	%esi, 8(%rdi,%rdx,4)
      	movl	%esi, 4(%rdi,%rdx,4)
      	movl	%esi, 12(%rdi,%rdx,4)
      	incb	%r8b
      	decb	%al
      	movb	%r8b, %dl
      	jne	LBB0_1
      
      llvm-svn: 101958
      84776786
    • Dale Johannesen's avatar
      Because of the EMMS problem, right now we have to support · 0522b90c
      Dale Johannesen authored
      user-defined operations that use MMX register types, but
      the compiler shouldn't generate them on its own.  This adds
      a Synthesizable abstraction to represent this, and changes
      the vector widening computation so it won't produce MMX types.
      (The motivation is to remove noise from the ABI compatibility
      part of the gcc test suite, which has some breakage right now.)
      
      llvm-svn: 101951
      0522b90c
    • Devang Patel's avatar
      Rename ValueMapTy as ValueToValueMapTy to clearly indicate that this has no... · 21766432
      Devang Patel authored
      Rename ValueMapTy as ValueToValueMapTy to clearly indicate that this has no replationship with ADT/ValueMap.
      
      llvm-svn: 101950
      21766432
    • Devang Patel's avatar
      There is no need to install ValueMapper.h header. · 382b9696
      Devang Patel authored
      llvm-svn: 101949
      382b9696
  2. Apr 20, 2010
Loading