[llvm] [AMDGPU] Do not print `kernel-resource-usage` information on non-kernels (PR #99720)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 20 05:34:24 PDT 2024
================
@@ -113,16 +113,7 @@ define amdgpu_kernel void @test_kernel() !dbg !3 {
ret void
}
-; STDERR: remark: foo.cl:42:0: Function Name: test_func
-; STDERR-NEXT: remark: foo.cl:42:0: SGPRs: 0
-; STDERR-NEXT: remark: foo.cl:42:0: VGPRs: 0
-; STDERR-NEXT: remark: foo.cl:42:0: AGPRs: 0
-; STDERR-NEXT: remark: foo.cl:42:0: ScratchSize [bytes/lane]: 0
-; STDERR-NEXT: remark: foo.cl:42:0: Dynamic Stack: False
-; STDERR-NEXT: remark: foo.cl:42:0: Occupancy [waves/SIMD]: 0
-; STDERR-NEXT: remark: foo.cl:42:0: SGPRs Spill: 0
-; STDERR-NEXT: remark: foo.cl:42:0: VGPRs Spill: 0
-; STDERR-NOT: LDS Size
+; STDERR-NOT: remark: foo.cl:42:0: Function Name: test_func
----------------
jhuber6 wrote:
```suggestion
; STDERR-NOT: test_func
```
https://github.com/llvm/llvm-project/pull/99720
More information about the llvm-commits
mailing list