llvm/test/CodeGen
Chris Lattner af723b9ae4 Add target-specific dag combines for FAND(x,0) and FOR(x,0). This allows
us to compile:

double test(double X) {
  return copysign(0.0, X);
}

into:

_test:
	andpd	LCPI1_0(%rip), %xmm0
	ret

instead of:
_test:
	pxor	%xmm1, %xmm1
	andpd	LCPI1_0(%rip), %xmm1
	movapd	%xmm0, %xmm2
	andpd	LCPI1_1(%rip), %xmm2
	movapd	%xmm1, %xmm0
	orpd	%xmm2, %xmm0
	ret



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46344 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-25 05:46:26 +00:00
..
Alpha xfail a test 2007-11-28 05:37:13 +00:00
ARM Remove xfail. This is fixed. 2007-12-20 02:25:21 +00:00
CBackend
CellSPU remove extraneous &&'s from tests, as Scott is apparently not going to. 2008-01-18 19:53:43 +00:00
Generic new testcase. 2008-01-17 19:47:23 +00:00
IA64
PowerPC Implement flt_rounds for PowerPC. 2008-01-18 19:55:37 +00:00
SPARC
X86 Add target-specific dag combines for FAND(x,0) and FOR(x,0). This allows 2008-01-25 05:46:26 +00:00