File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 7
7
; RUN: llc -mtriple=aarch64-apple-tvos6.0 < %s | FileCheck -check-prefix=APPLE %s
8
8
; RUN: llc -mtriple=aarch64-apple-xros6.0 < %s | FileCheck -check-prefix=APPLE %s
9
9
; RUN: llc -mtriple=aarch64-apple-xros1.0 < %s | FileCheck -check-prefix=APPLE %s
10
+ ; RUN: llc -mtriple=arm64-apple-driverkit < %s | FileCheck -check-prefix=MISSED %s
11
+ ; RUN: llc -mtriple=arm64-apple-driverkit1.0 < %s | FileCheck -check-prefix=MISSED %s
12
+ ; RUN: llc -mtriple=arm64-apple-driverkit24.0 < %s | FileCheck -check-prefix=MISSED %s
13
+ ; RUN: llc -mtriple=arm64-apple-bridgeos < %s | FileCheck -check-prefix=LINUX %s
14
+ ; RUN: llc -mtriple=arm64-apple-bridgeos1.0 < %s | FileCheck -check-prefix=LINUX %s
15
+ ; RUN: llc -mtriple=arm64-apple-bridgeos9.0 < %s | FileCheck -check-prefix=LINUX %s
10
16
11
17
; RUN: not llc -mtriple=aarch64-apple-macos10.8 -filetype=null %s 2>&1 | FileCheck -check-prefix=ERR %s
12
18
; RUN: not llc -mtriple=aarch64-apple-ios6.0 -filetype=null %s 2>&1 | FileCheck -check-prefix=ERR %s
@@ -23,6 +29,11 @@ define float @test_exp10_f32(float %x) {
23
29
; APPLE-LABEL: test_exp10_f32:
24
30
; APPLE: ; %bb.0:
25
31
; APPLE-NEXT: b ___exp10f
32
+ ;
33
+ ; MISSED-LABEL: test_exp10_f32:
34
+ ; MISSED: ; %bb.0:
35
+ ; MISSED-NEXT: b _exp10f
36
+ ;
26
37
%ret = call float @llvm.exp10.f32 (float %x )
27
38
ret float %ret
28
39
}
@@ -35,6 +46,11 @@ define double @test_exp10_f64(double %x) {
35
46
; APPLE-LABEL: test_exp10_f64:
36
47
; APPLE: ; %bb.0:
37
48
; APPLE-NEXT: b ___exp10
49
+ ;
50
+ ; MISSED-LABEL: test_exp10_f64:
51
+ ; MISSED: ; %bb.0:
52
+ ; MISSED-NEXT: b _exp10
53
+ ;
38
54
%ret = call double @llvm.exp10.f64 (double %x )
39
55
ret double %ret
40
56
}
Original file line number Diff line number Diff line change 8
8
; RUN: llc -mtriple=x86_64-apple-ios8.0 < %s | FileCheck -check-prefix=APPLE %s
9
9
; RUN: llc -mtriple=x86_64-apple-tvos8.0 < %s | FileCheck -check-prefix=APPLE %s
10
10
; RUN: llc -mtriple=x86_64-apple-xros8.0 < %s | FileCheck -check-prefix=APPLE %s
11
+ ; RUN: llc -mtriple=x86_64-apple-driverkit < %s | FileCheck -check-prefix=MISSED %s
12
+ ; RUN: llc -mtriple=x86_64-apple-driverkit24.0 < %s | FileCheck -check-prefix=MISSED %s
11
13
12
14
; RUN: not llc -mtriple=x86_64-apple-macos10.8 -filetype=null %s 2>&1 | FileCheck -check-prefix=ERR %s
13
15
; Check exp10/exp10f is emitted as __exp10/__exp10f on assorted systems.
@@ -22,6 +24,11 @@ define float @test_exp10_f32(float %x) {
22
24
; APPLE-LABEL: test_exp10_f32:
23
25
; APPLE: ## %bb.0:
24
26
; APPLE-NEXT: jmp ___exp10f ## TAILCALL
27
+ ;
28
+ ; MISSED-LABEL: test_exp10_f32:
29
+ ; MISSED: ## %bb.0:
30
+ ; MISSED-NEXT: jmp _exp10f ## TAILCALL
31
+
25
32
%ret = call float @llvm.exp10.f32 (float %x )
26
33
ret float %ret
27
34
}
@@ -34,6 +41,11 @@ define double @test_exp10_f64(double %x) {
34
41
; APPLE-LABEL: test_exp10_f64:
35
42
; APPLE: ## %bb.0:
36
43
; APPLE-NEXT: jmp ___exp10 ## TAILCALL
44
+ ;
45
+ ; MISSED-LABEL: test_exp10_f64:
46
+ ; MISSED: ## %bb.0:
47
+ ; MISSED-NEXT: jmp _exp10 ## TAILCALL
48
+ ;
37
49
%ret = call double @llvm.exp10.f64 (double %x )
38
50
ret double %ret
39
51
}
You can’t perform that action at this time.
0 commit comments