Skip to content
  1. Jan 30, 2008
  2. Jan 29, 2008
  3. Jan 28, 2008
  4. Jan 27, 2008
    • Owen Anderson's avatar
      Reg alloc doesn't really need LiveVariables. · 9a8c890c
      Owen Anderson authored
      llvm-svn: 46420
      9a8c890c
    • Chris Lattner's avatar
      Implement some dag combines that allow doing fneg/fabs/fcopysign in integer · 888560d6
      Chris Lattner authored
      registers if used by a bitconvert or using a bitconvert.  This allows us to
      avoid constant pool loads and use cheaper integer instructions when the
      values come from or end up in integer regs anyway.  For example, we now 
      compile CodeGen/X86/fp-in-intregs.ll to:
      
      _test1:
      	movl	$2147483648, %eax
      	xorl	4(%esp), %eax
      	ret
      _test2:
      	movl	$1065353216, %eax
      	orl	4(%esp), %eax
      	andl	$3212836864, %eax
      	ret
      
      Instead of:
      _test1:
      	movss	4(%esp), %xmm0
      	xorps	LCPI2_0, %xmm0
      	movd	%xmm0, %eax
      	ret
      _test2:
      	movss	4(%esp), %xmm0
      	andps	LCPI3_0, %xmm0
      	movss	LCPI3_1, %xmm1
      	andps	LCPI3_2, %xmm1
      	orps	%xmm0, %xmm1
      	movd	%xmm1, %eax
      	ret
      
      bitconverts can happen due to various calling conventions that require
      fp values to passed in integer regs in some cases, e.g. when returning
      a complex.
      
      llvm-svn: 46414
      888560d6
    • Chris Lattner's avatar
      For long double constants, print an approximation of their value to the .s... · f1a6c9fe
      Chris Lattner authored
      For long double constants, print an approximation of their value to the .s file to make it easier to read.
      
      llvm-svn: 46407
      f1a6c9fe
  5. Jan 26, 2008
  6. Jan 25, 2008
  7. Jan 24, 2008
  8. Jan 23, 2008
    • Duncan Sands's avatar
      The last pieces needed for loading arbitrary · 95d46ef8
      Duncan Sands authored
      precision integers.  This won't actually work
      (and most of the code is dead) unless the new
      legalization machinery is turned on.  While
      there, I rationalized the handling of i1, and
      removed some bogus (and unused) sextload patterns.
      For i1, this could result in microscopically
      better code for some architectures (not X86).
      It might also result in worse code if annotating
      with AssertZExt nodes turns out to be more harmful
      than helpful.
      
      llvm-svn: 46280
      95d46ef8
    • Owen Anderson's avatar
      Fix an iterator invalidation issue. · 7fe0bb2b
      Owen Anderson authored
      llvm-svn: 46263
      7fe0bb2b
  9. Jan 22, 2008
Loading