[all-commits] [llvm/llvm-project] 7a4968: [AMDGPU] Add dynamic stack bit info to kernel-reso...

Corbin Robeck via All-commits all-commits at lists.llvm.org
Tue Jul 25 12:22:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a4968b5a378d1f06e638c99d0e983c35045fb34
      https://github.com/llvm/llvm-project/commit/7a4968b5a378d1f06e638c99d0e983c35045fb34
  Author: Corbin Robeck <corbin.robeck at amd.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M clang/test/Frontend/amdgcn-machine-analysis-remarks.cl
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll

  Log Message:
  -----------
  [AMDGPU] Add dynamic stack bit info to kernel-resource-usage Rpass output

In code object 5 (https://llvm.org/docs/AMDGPUUsage.html#code-object-v5-metadata) the AMDGPU backend added the .uses_dynamic_stack bit to the kernel meta data to identity kernels which have compile time indeterminable stack usage (indirect function calls and recursion mainly). This patch adds this information to the output of the kernel-resource-usage remarks.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D156040

Author:    Corbin Robeck <corbin.robeck at amd.com>




More information about the All-commits mailing list