Skip to content

Commit c5d4368

Browse files
committed
Update one more test.
1 parent 5d46492 commit c5d4368

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/SYCLLowerIR/ESIMD/lower_invoke_simd.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,18 @@ define linkonce_odr dso_local x86_regcallcc <16 x float> @SIMD_CALL_HELPER(<16 x
7474

7575
;---- Check that original SIMD_CALL_HELPER retained, because there are
7676
;---- 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
7878
; CHECK: %{{.*}} = call x86_regcallcc <16 x float> %{{.*}}(<16 x float> %{{.*}})
7979
; CHECK: }
8080

8181
;---- 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]]
8383
; Verify that indirect call is converted to direct
8484
; CHECK: %{{.*}} = call x86_regcallcc <16 x float> @SIMD_CALLEE(<16 x float> %{{.*}})
8585
; CHECK: }
8686

8787
;---- 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]]
8989
; Verify that indirect call is converted to direct
9090
; CHECK: %{{.*}} = call x86_regcallcc <16 x float> @ANOTHER_SIMD_CALLEE(<16 x float> %{{.*}})
9191
; CHECK: }
@@ -94,7 +94,7 @@ declare dso_local x86_regcallcc noundef float @_Z33__regcall3____builtin_invoke_
9494

9595
; Check that VCStackCall attribute is added to the invoke_simd target functions:
9696
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" }
9898

9999
!0 = !{}
100100
!1 = !{i32 16}

0 commit comments

Comments
 (0)