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
..
2008-01-24 18:00:32 +00:00
2007-07-23 19:26:08 +00:00
2008-01-11 21:46:24 +00:00
2007-12-30 22:48:58 +00:00
2007-12-17 22:33:23 +00:00
2007-06-29 16:35:07 +00:00
2008-01-13 00:19:57 +00:00
2008-01-24 23:55:34 +00:00
2008-01-25 05:46:26 +00:00
2007-07-17 06:20:38 +00:00
2007-12-14 19:38:31 +00:00
2007-12-11 15:50:23 +00:00
2008-01-15 19:55:41 +00:00
2007-12-11 15:55:52 +00:00
2007-11-27 13:23:08 +00:00
2007-11-28 04:57:00 +00:00
2007-12-11 15:50:23 +00:00
2007-09-10 18:12:52 +00:00
2007-08-10 15:07:05 +00:00
2007-08-15 13:36:28 +00:00
2008-01-22 05:08:48 +00:00
2008-01-22 05:31:58 +00:00
2007-12-29 20:11:13 +00:00
2007-04-21 20:46:55 +00:00
2007-05-18 02:06:03 +00:00