summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/sincos.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/sincos.ll')
-rw-r--r--llvm/test/CodeGen/X86/sincos.ll18
1 files changed, 6 insertions, 12 deletions
diff --git a/llvm/test/CodeGen/X86/sincos.ll b/llvm/test/CodeGen/X86/sincos.ll
index 42b1555e78b1..79034077f183 100644
--- a/llvm/test/CodeGen/X86/sincos.ll
+++ b/llvm/test/CodeGen/X86/sincos.ll
@@ -9,11 +9,10 @@ declare double @sin(double) readonly
declare x86_fp80 @sinl(x86_fp80) readonly
-define float @test1(float %X) {
+define float @test1(float %X) nounwind {
; CHECK-LABEL: test1:
; CHECK: ## %bb.0:
; CHECK-NEXT: subl $12, %esp
-; CHECK-NEXT: .cfi_def_cfa_offset 16
; CHECK-NEXT: flds {{[0-9]+}}(%esp)
; CHECK-NEXT: fstps (%esp)
; CHECK-NEXT: calll _sinf
@@ -23,11 +22,10 @@ define float @test1(float %X) {
ret float %Y
}
-define double @test2(double %X) {
+define double @test2(double %X) nounwind {
; CHECK-LABEL: test2:
; CHECK: ## %bb.0:
; CHECK-NEXT: subl $12, %esp
-; CHECK-NEXT: .cfi_def_cfa_offset 16
; CHECK-NEXT: fldl {{[0-9]+}}(%esp)
; CHECK-NEXT: fstpl (%esp)
; CHECK-NEXT: calll _sin
@@ -37,11 +35,10 @@ define double @test2(double %X) {
ret double %Y
}
-define x86_fp80 @test3(x86_fp80 %X) {
+define x86_fp80 @test3(x86_fp80 %X) nounwind {
; CHECK-LABEL: test3:
; CHECK: ## %bb.0:
; CHECK-NEXT: subl $28, %esp
-; CHECK-NEXT: .cfi_def_cfa_offset 32
; CHECK-NEXT: fldt {{[0-9]+}}(%esp)
; CHECK-NEXT: fstpt (%esp)
; CHECK-NEXT: calll _sinl
@@ -58,11 +55,10 @@ declare double @cos(double) readonly
declare x86_fp80 @cosl(x86_fp80) readonly
-define float @test4(float %X) {
+define float @test4(float %X) nounwind {
; CHECK-LABEL: test4:
; CHECK: ## %bb.0:
; CHECK-NEXT: subl $12, %esp
-; CHECK-NEXT: .cfi_def_cfa_offset 16
; CHECK-NEXT: flds {{[0-9]+}}(%esp)
; CHECK-NEXT: fstps (%esp)
; CHECK-NEXT: calll _cosf
@@ -72,11 +68,10 @@ define float @test4(float %X) {
ret float %Y
}
-define double @test5(double %X) {
+define double @test5(double %X) nounwind {
; CHECK-LABEL: test5:
; CHECK: ## %bb.0:
; CHECK-NEXT: subl $12, %esp
-; CHECK-NEXT: .cfi_def_cfa_offset 16
; CHECK-NEXT: fldl {{[0-9]+}}(%esp)
; CHECK-NEXT: fstpl (%esp)
; CHECK-NEXT: calll _cos
@@ -86,11 +81,10 @@ define double @test5(double %X) {
ret double %Y
}
-define x86_fp80 @test6(x86_fp80 %X) {
+define x86_fp80 @test6(x86_fp80 %X) nounwind {
; CHECK-LABEL: test6:
; CHECK: ## %bb.0:
; CHECK-NEXT: subl $28, %esp
-; CHECK-NEXT: .cfi_def_cfa_offset 32
; CHECK-NEXT: fldt {{[0-9]+}}(%esp)
; CHECK-NEXT: fstpt (%esp)
; CHECK-NEXT: calll _cosl