[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
    
    
  
================
@@ -144,15 +135,7 @@ define amdgpu_kernel void @empty_kernel() !dbg !7 {
   ret void
 }
 
-; STDERR: remark: foo.cl:52:0: Function Name: empty_func
-; STDERR-NEXT: remark: foo.cl:52:0:     SGPRs: 0
-; STDERR-NEXT: remark: foo.cl:52:0:     VGPRs: 0
-; STDERR-NEXT: remark: foo.cl:52:0:     AGPRs: 0
-; STDERR-NEXT: remark: foo.cl:52:0:     ScratchSize [bytes/lane]: 0
-; STDERR-NEXT: remark: foo.cl:52:0:     Dynamic Stack: False
-; STDERR-NEXT: remark: foo.cl:52:0:     Occupancy [waves/SIMD]: 0
-; STDERR-NEXT: remark: foo.cl:52:0:     SGPRs Spill: 0
-; STDERR-NEXT: remark: foo.cl:52:0:     VGPRs Spill: 0
+; STDERR-NOT: remark: foo.cl:52:0: Function Name: empty_func
----------------
jhuber6 wrote:
```suggestion
; STDERR-NOT: empty_func
```
https://github.com/llvm/llvm-project/pull/99720
    
    
More information about the llvm-commits
mailing list