Stackmap shadows should consider call returns a branch target.
[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 ; SSE2-NOT: xor
7
8 ; CHECK-LABEL: doo:
9 ; CHECK: xor
10 define double @doo(double %x) nounwind {
11   %y = fsub double -0.0, %x
12   ret double %y
13 }
14
15 ; CHECK-LABEL: foo:
16 ; CHECK: xor
17 define float @foo(float %x) nounwind {
18   %y = fsub float -0.0, %x
19   ret float %y
20 }