[all-commits] [llvm/llvm-project] f39bd0: [AMDGPU] Do not print `kernel-resource-usage` info...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jul 22 05:08:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f39bd0a24e8aaa55c957c179607c071a86590ec1
      https://github.com/llvm/llvm-project/commit/f39bd0a24e8aaa55c957c179607c071a86590ec1
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll

  Log Message:
  -----------
  [AMDGPU] Do not print `kernel-resource-usage` information on non-kernels (#99720)

Summary:
This pass is used to get helpful information about the kernel resources
without needing to insepct the binary. However, it currently prints on
every function. These values will always be zero, so it's just spam on
the terminal, at best an indication that a function wasn't internalized
/ optimized out. This patch makes it only print for kernels to make it
more useful in practice.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list