Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit dbe7178

Browse files
committed
X86: Check output of x86 copysignl testcase.
This makes the changes in an upcoming patch visible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242106 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 7c492a1 commit dbe7178

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

test/CodeGen/X86/pr13577.ll

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
1-
; RUN: llc < %s -march=x86-64
1+
; RUN: llc < %s -march=x86-64 | FileCheck %s
22

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
318
define x86_fp80 @foo(x86_fp80 %a) {
419
%1 = tail call x86_fp80 @copysignl(x86_fp80 0xK7FFF8000000000000000, x86_fp80 %a) nounwind readnone
520
ret x86_fp80 %1

0 commit comments

Comments
 (0)