@@ -74,18 +74,18 @@ define linkonce_odr dso_local x86_regcallcc <16 x float> @SIMD_CALL_HELPER(<16 x
74
74
75
75
;---- Check that original SIMD_CALL_HELPER retained, because there are
76
76
;---- invoke_simd calls where simd target can't be inferred.
77
- ; CHECK: define {{.*}} <16 x float> @SIMD_CALL_HELPER(<16 x float> (<16 x float>)* {{.*}}%{{.*}}, <16 x float> %{{.*}}) #1
77
+ ; CHECK: define {{.*}} <16 x float> @SIMD_CALL_HELPER(<16 x float> (<16 x float>)* {{.*}}%{{.*}}, <16 x float> %{{.*}}) #[[HELPER_ATTRS:[0-9]+]] !sycl_explicit_simd !0 !intel_reqd_sub_group_size ! 1
78
78
; CHECK: %{{.*}} = call x86_regcallcc <16 x float> %{{.*}}(<16 x float> %{{.*}})
79
79
; CHECK: }
80
80
81
81
;---- Optimized version for the SIMD_CALLEE call
82
- ; CHECK: define {{.*}} <16 x float> @[[NAME1]](<16 x float> %{{.*}}) #1
82
+ ; CHECK: define {{.*}} <16 x float> @[[NAME1]](<16 x float> %{{.*}}) #[[HELPER_ATTRS]]
83
83
; Verify that indirect call is converted to direct
84
84
; CHECK: %{{.*}} = call x86_regcallcc <16 x float> @SIMD_CALLEE(<16 x float> %{{.*}})
85
85
; CHECK: }
86
86
87
87
;---- Optimized version for the ANOTHER_SIMD_CALLEE call
88
- ; CHECK: define {{.*}} <16 x float> @[[NAME2]](<16 x float> %{{.*}}) #1
88
+ ; CHECK: define {{.*}} <16 x float> @[[NAME2]](<16 x float> %{{.*}}) #[[HELPER_ATTRS]]
89
89
; Verify that indirect call is converted to direct
90
90
; CHECK: %{{.*}} = call x86_regcallcc <16 x float> @ANOTHER_SIMD_CALLEE(<16 x float> %{{.*}})
91
91
; CHECK: }
@@ -94,7 +94,7 @@ declare dso_local x86_regcallcc noundef float @_Z33__regcall3____builtin_invoke_
94
94
95
95
; Check that VCStackCall attribute is added to the invoke_simd target functions:
96
96
attributes #0 = { "sycl-module-id" ="invoke_simd.cpp" }
97
- ; CHECK: attributes #1 = { "VCStackCall" "sycl-module-id"="invoke_simd.cpp" }
97
+ ; CHECK: attributes #[[HELPER_ATTRS]] = { "VCStackCall" "sycl-module-id"="invoke_simd.cpp" }
98
98
99
99
!0 = !{}
100
100
!1 = !{i32 16 }
0 commit comments