Reapply r81171 with a fix: don't try to use i64 when it
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-fneg.ll
1 ; RUN: llc < %s -fast-isel -fast-isel-abort -march=x86-64 | FileCheck %s
2 ; RUN: llc < %s -fast-isel -march=x86 | grep xor | count 2
3
4 ; CHECK: doo:
5 ; CHECK: xor
6 define double @doo(double %x) nounwind {
7   %y = fsub double -0.0, %x
8   ret double %y
9 }
10
11 ; CHECK: foo:
12 ; CHECK: xor
13 define float @foo(float %x) nounwind {
14   %y = fsub float -0.0, %x
15   ret float %y
16 }