11; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
22; RUN: llc < %s -mtriple=i686-linux-gnu -global-isel=0 | FileCheck %s --check-prefixes=X86,SDAG-X86
3- ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -global-isel=0 | FileCheck %s --check-prefixes=X64, SDAG-X64
3+ ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -global-isel=0 | FileCheck %s --check-prefixes=SDAG-X64
44; RUN: llc < %s -mtriple=i686-linux-gnu -global-isel -global-isel-abort=1 | FileCheck %s --check-prefixes=X86,GISEL-X86
55; RUN: llc < %s -mtriple=x86_64-linux-gnu -global-isel -global-isel-abort=1 | FileCheck %s --check-prefixes=GISEL-X64
66
@@ -14,9 +14,9 @@ define float @test_cos_f32(float %Val) nounwind {
1414; SDAG-X86-NEXT: addl $12, %esp
1515; SDAG-X86-NEXT: retl
1616;
17- ; X64-LABEL: test_cos_f32:
18- ; X64: # %bb.0:
19- ; X64-NEXT: jmp cosf@PLT # TAILCALL
17+ ; SDAG- X64-LABEL: test_cos_f32:
18+ ; SDAG- X64: # %bb.0:
19+ ; SDAG- X64-NEXT: jmp cosf@PLT # TAILCALL
2020;
2121; GISEL-X86-LABEL: test_cos_f32:
2222; GISEL-X86: # %bb.0:
@@ -47,9 +47,9 @@ define double @test_cos_f64(double %Val) nounwind {
4747; SDAG-X86-NEXT: addl $12, %esp
4848; SDAG-X86-NEXT: retl
4949;
50- ; X64-LABEL: test_cos_f64:
51- ; X64: # %bb.0:
52- ; X64-NEXT: jmp cos@PLT # TAILCALL
50+ ; SDAG- X64-LABEL: test_cos_f64:
51+ ; SDAG- X64: # %bb.0:
52+ ; SDAG- X64-NEXT: jmp cos@PLT # TAILCALL
5353;
5454; GISEL-X86-LABEL: test_cos_f64:
5555; GISEL-X86: # %bb.0:
@@ -85,14 +85,14 @@ define x86_fp80 @test_cos_f80(x86_fp80 %Val) nounwind {
8585; X86-NEXT: addl $12, %esp
8686; X86-NEXT: retl
8787;
88- ; X64-LABEL: test_cos_f80:
89- ; X64: # %bb.0:
90- ; X64-NEXT: subq $24, %rsp
91- ; X64-NEXT: fldt {{[0-9]+}}(%rsp)
92- ; X64-NEXT: fstpt (%rsp)
93- ; X64-NEXT: callq cosl@PLT
94- ; X64-NEXT: addq $24, %rsp
95- ; X64-NEXT: retq
88+ ; SDAG- X64-LABEL: test_cos_f80:
89+ ; SDAG- X64: # %bb.0:
90+ ; SDAG- X64-NEXT: subq $24, %rsp
91+ ; SDAG- X64-NEXT: fldt {{[0-9]+}}(%rsp)
92+ ; SDAG- X64-NEXT: fstpt (%rsp)
93+ ; SDAG- X64-NEXT: callq cosl@PLT
94+ ; SDAG- X64-NEXT: addq $24, %rsp
95+ ; SDAG- X64-NEXT: retq
9696;
9797; GISEL-X64-LABEL: test_cos_f80:
9898; GISEL-X64: # %bb.0:
@@ -105,5 +105,3 @@ define x86_fp80 @test_cos_f80(x86_fp80 %Val) nounwind {
105105 %res = call x86_fp80 @llvm.cos.f80 (x86_fp80 %Val )
106106 ret x86_fp80 %res
107107}
108- ;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
109- ; SDAG-X64: {{.*}}
0 commit comments