blob: 70191bdfdf117e45e2275758f906693209be7f27 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -fast-isel -fast-isel-abort -march=x86-64 | FileCheck %s
Dan Gohmanf154271b2009-09-03 22:53:57 +00002
3; CHECK: doo:
Dan Gohmanc4d34a72009-09-07 23:47:14 +00004; CHECK: xor
Dan Gohmanf154271b2009-09-03 22:53:57 +00005define double @doo(double %x) nounwind {
6 %y = fsub double -0.0, %x
7 ret double %y
8}
9
10; CHECK: foo:
Dan Gohmanc4d34a72009-09-07 23:47:14 +000011; CHECK: xor
Dan Gohmanf154271b2009-09-03 22:53:57 +000012define float @foo(float %x) nounwind {
13 %y = fsub float -0.0, %x
14 ret float %y
15}