Skip to content

Commit 315a082

Browse files
authored
[SYCL][Test][Trivial] Fix mistyped CHECK: in work_group_static(_nv).ll (#16732)
1 parent a4225c0 commit 315a082

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/test/SYCLLowerIR/work_group_static.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ attributes #1 = { convergent norecurse }
3838
!2 = !{i32 4, i32 100000}
3939
!3 = !{!"clang version 13.0.0"}
4040
!4 = !{}
41-
; ![[ADDR_SPACE_MD]] = !{i32 1, i32 3}
41+
; CHECK: ![[ADDR_SPACE_MD]] = !{i32 1, i32 3}
4242
!5 = !{i32 1}

llvm/test/SYCLLowerIR/work_group_static_nv.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target triple = "nvptx64-nvidia-cuda"
88
; CHECK: @__sycl_dynamicLocalMemoryPlaceholder_GV = external local_unnamed_addr addrspace(3) global [0 x i8], align 128
99

1010
; Function Attrs: convergent norecurse
11-
; CHECK: @_ZTS7KernelA(ptr addrspace(1) %0)
11+
; CHECK: @_ZTS7KernelA(ptr addrspace(1) %0){{.*}} !kernel_arg_addr_space ![[ADDR_SPACE_MD:[0-9]+]]
1212
define void @_ZTS7KernelA(ptr addrspace(1) %0) local_unnamed_addr #0 !kernel_arg_addr_space !5 {
1313
entry:
1414
; CHECK: getelementptr inbounds i8, ptr addrspace(3) @__sycl_dynamicLocalMemoryPlaceholder_GV
@@ -34,5 +34,5 @@ attributes #1 = { convergent norecurse }
3434
!2 = !{i32 4, i32 100000}
3535
!3 = !{!"clang version 13.0.0"}
3636
!4 = !{}
37-
; ![[ADDR_SPACE_MD]] = !{i32 1, i32 3}
37+
; CHECK: ![[ADDR_SPACE_MD]] = !{i32 1}
3838
!5 = !{i32 1}

0 commit comments

Comments
 (0)