2
2
; RUN: llc < %s -mtriple=armv7-apple-ios7 -mcpu=cortex-a8 | FileCheck %s --check-prefix=SINCOS
3
3
; RUN: llc < %s -mtriple=armv7-linux-gnu -mcpu=cortex-a8 | FileCheck %s --check-prefix=SINCOS-GNU
4
4
; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a8 | FileCheck %s --check-prefix=SINCOS-GNU
5
- ; RUN: llc < %s -mtriple=armv7-linux-android -mcpu=cortex-a8 | FileCheck %s --check-prefix=NOOPT-ANDROID
6
- ; RUN: llc < %s -mtriple=armv7-linux-android9 -mcpu=cortex-a8 | FileCheck %s --check-prefix=SINCOS-GNU
5
+ ; RUN: llc < %s -mtriple=armv7-linux-android -mcpu=cortex-a8 | FileCheck %s --check-prefix=SINCOS-GNU
7
6
8
7
; Combine sin / cos into a single call unless they may write errno (as
9
8
; captured by readnone attrbiute, controlled by clang -fmath-errno
@@ -22,10 +21,6 @@ entry:
22
21
; NOOPT: bl _sinf
23
22
; NOOPT: bl _cosf
24
23
25
- ; NOOPT-ANDROID-LABEL: test1:
26
- ; NOOPT-ANDROID: bl sinf
27
- ; NOOPT-ANDROID: bl cosf
28
-
29
24
%call = tail call float @sinf (float %x ) readnone
30
25
%call1 = tail call float @cosf (float %x ) readnone
31
26
%add = fadd float %call , %call1
@@ -44,10 +39,6 @@ entry:
44
39
; NOOPT: bl _sinf
45
40
; NOOPT: bl _cosf
46
41
47
- ; NOOPT-ANDROID-LABEL: test1_fast:
48
- ; NOOPT-ANDROID: bl sinf
49
- ; NOOPT-ANDROID: bl cosf
50
-
51
42
%call = tail call fast float @sinf (float %x ) readnone
52
43
%call1 = tail call fast float @cosf (float %x ) readnone
53
44
%add = fadd float %call , %call1
@@ -68,10 +59,6 @@ entry:
68
59
; NOOPT: bl _sinf
69
60
; NOOPT: bl _cosf
70
61
71
- ; NOOPT-ANDROID-LABEL: test1_errno:
72
- ; NOOPT-ANDROID: bl sinf
73
- ; NOOPT-ANDROID: bl cosf
74
-
75
62
%call = tail call float @sinf (float %x )
76
63
%call1 = tail call float @cosf (float %x )
77
64
%add = fadd float %call , %call1
@@ -90,10 +77,6 @@ entry:
90
77
; NOOPT: bl _sin
91
78
; NOOPT: bl _cos
92
79
93
- ; NOOPT-ANDROID-LABEL: test2:
94
- ; NOOPT-ANDROID: bl sin
95
- ; NOOPT-ANDROID: bl cos
96
-
97
80
%call = tail call double @sin (double %x ) readnone
98
81
%call1 = tail call double @cos (double %x ) readnone
99
82
%add = fadd double %call , %call1
@@ -112,10 +95,6 @@ entry:
112
95
; NOOPT: bl _sin
113
96
; NOOPT: bl _cos
114
97
115
- ; NOOPT-ANDROID-LABEL: test2_fast:
116
- ; NOOPT-ANDROID: bl sin
117
- ; NOOPT-ANDROID: bl cos
118
-
119
98
%call = tail call fast double @sin (double %x ) readnone
120
99
%call1 = tail call fast double @cos (double %x ) readnone
121
100
%add = fadd double %call , %call1
@@ -136,10 +115,6 @@ entry:
136
115
; NOOPT: bl _sin
137
116
; NOOPT: bl _cos
138
117
139
- ; NOOPT-ANDROID-LABEL: test2_errno:
140
- ; NOOPT-ANDROID: bl sin
141
- ; NOOPT-ANDROID: bl cos
142
-
143
118
%call = tail call double @sin (double %x )
144
119
%call1 = tail call double @cos (double %x )
145
120
%add = fadd double %call , %call1
0 commit comments