Skip to content

Commit 983146e

Browse files
authored
Merge pull request swiftlang#23750 from drodriguez/android-armv7-simd
[android] Check for Android-specific ARMv7 SIMD generated code.
2 parents 6cf6e7f + f55c9e6 commit 983146e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/IRGen/objc_simd.sil

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-ir %s | %FileCheck %s --check-prefix=%target-cpu
1+
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-ir %s | %FileCheck %s --check-prefix=%target-cpu --check-prefix=%target-cpu-%target-sdk-name
22

33
import Swift
44
import simd
@@ -34,7 +34,10 @@ entry(%x : $float4):
3434
// aarch64-LABEL: define{{( dllexport)?}}{{( protected)?}} <3 x float> @simd_c_args_float3(<4 x i32>)
3535
// arm64-LABEL: define{{( dllexport)?}}{{( protected)?}} <3 x float> @simd_c_args_float3(<4 x i32>)
3636
// armv6-LABEL: define{{( dllexport)?}}{{( protected)?}} <3 x float> @simd_c_args_float3(<4 x i32>)
37-
// armv7-LABEL: define{{( dllexport)?}}{{( protected)?}} <3 x float> @simd_c_args_float3(<4 x i32>)
37+
// armv7-ios-LABEL: define <3 x float> @simd_c_args_float3(<4 x i32>)
38+
// armv7-linux-LABEL: define protected <3 x float> @simd_c_args_float3(<4 x i32>)
39+
// armv7-windows-LABEL: define dllexport <3 x float> @simd_c_args_float3(<4 x i32>)
40+
// armv7-android-LABEL: define protected <3 x float> @simd_c_args_float3(<3 x float>)
3841
// armv7s-LABEL: define{{( dllexport)?}}{{( protected)?}} <3 x float> @simd_c_args_float3(<4 x i32>)
3942
// armv7k-LABEL: define{{( dllexport)?}}{{( protected)?}} <3 x float> @simd_c_args_float3(<4 x i32>)
4043
// powerpc64-LABEL: define{{( dllexport)?}}{{( protected)?}} <3 x float> @simd_c_args_float3(<3 x float>)

0 commit comments

Comments
 (0)