File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11; 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
33
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.
66
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() #[[#]]
811
912define amdgpu_kernel void @preload_block_count_x (ptr addrspace (1 ) %out ) !dbg !4 !max_work_group_size !7 {
1013 %imp_arg_ptr = call ptr addrspace (4 ) @llvm.amdgcn.implicitarg.ptr ()
You can’t perform that action at this time.
0 commit comments