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 Change all floating constants that are not exactly 2007-09-05 17:50:36 +00:00
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 Convert .cvsignore files 2007-06-29 16:35:07 +00:00
PowerPC Implement flt_rounds for PowerPC. 2008-01-18 19:55:37 +00:00
SPARC Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
X86 Add target-specific dag combines for FAND(x,0) and FOR(x,0). This allows 2008-01-25 05:46:26 +00:00