Give an explicit triple to llvm/test/CodeGen/X86/pr13577.ll.
[oota-llvm.git] / test / CodeGen / X86 / pr13577.ll
1 ; RUN: llc < %s -mtriple=x86_64-darwin | FileCheck %s
2
3 ; CHECK-LABEL: LCPI0_0:
4 ; CHECK-NEXT: .long 4286578688
5 ; CHECK-LABEL: LCPI0_1:
6 ; CHECK-NEXT: .long 2139095040
7
8 ; CHECK-LABEL: foo:
9 ; CHECK: movq {{.*}}, %rax
10 ; CHECK: shlq $48, %rax
11 ; CHECK: sets %al
12 ; CHECK: testb %al, %al
13 ; CHECK: flds LCPI0_0(%rip)
14 ; CHECK: flds LCPI0_1(%rip)
15 ; CHECK: fcmovne %st(1), %st(0)
16 ; CHECK: fstp %st(1)
17 ; CHECK: retq
18 define x86_fp80 @foo(x86_fp80 %a) {
19   %1 = tail call x86_fp80 @copysignl(x86_fp80 0xK7FFF8000000000000000, x86_fp80 %a) nounwind readnone
20   ret x86_fp80 %1
21 }
22
23 declare x86_fp80 @copysignl(x86_fp80, x86_fp80) nounwind readnone