File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -passes='amdgpu-attributor,function(amdgpu-lower-kernel-arguments)' -amdgpu-kernarg-preload-count=16 -S < %s 2>&1 \
2
- ; RUN: | FileCheck -implicit-check-not='declare {{.*}} !dbg ' %s
2
+ ; RUN: | FileCheck --match-full-lines -- implicit-check-not='declare' %s
3
3
4
- ; The real test is via the -implicit-check-not, which confirms we do not
5
- ; leave behind a declaration which references the same DISubprogram metadata.
4
+ ; Confirms we do not leave behind a declaration which references the same
5
+ ; DISubprogram metadata.
6
6
7
- ; CHECK: define amdgpu_kernel void @preload_block_count_x{{.*}} !dbg ![[#]]
7
+ ; CHECK: define amdgpu_kernel void @preload_block_count_x{{.*}} !dbg ![[#]] !max_work_group_size ![[#]] {
8
+ ; CHECK: declare void @0{{.*}} #[[#]]
9
+ ; CHECK: declare noundef align 4 ptr addrspace(4) @llvm.amdgcn.implicitarg.ptr() #[[#]]
10
+ ; CHECK: declare noundef align 4 ptr addrspace(4) @llvm.amdgcn.kernarg.segment.ptr() #[[#]]
8
11
9
12
define amdgpu_kernel void @preload_block_count_x (ptr addrspace (1 ) %out ) !dbg !4 !max_work_group_size !7 {
10
13
%imp_arg_ptr = call ptr addrspace (4 ) @llvm.amdgcn.implicitarg.ptr ()
You can’t perform that action at this time.
0 commit comments