Rewrite some of the test/CodeGen/X86 tests to use FileCheck instead of grep
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-fneg.ll
1 ; RUN: llc < %s -fast-isel -fast-isel-abort -mtriple=x86_64-apple-darwin10 | FileCheck %s
2 ; RUN: llc < %s -fast-isel -march=x86 -mattr=+sse2 | FileCheck --check-prefix=SSE2 %s
3
4 ; SSE2: xor
5 ; SSE2: xor
6
7 ; CHECK: doo:
8 ; CHECK: xor
9 define double @doo(double %x) nounwind {
10   %y = fsub double -0.0, %x
11   ret double %y
12 }
13
14 ; CHECK: foo:
15 ; CHECK: xor
16 define float @foo(float %x) nounwind {
17   %y = fsub float -0.0, %x
18   ret float %y
19 }