[PATCH] D126025: AMDGPU: allow reordering of functions in AMDGPUResourceUsageAnalysis

Jacob Weightman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 07:45:12 PDT 2022


jweightman updated this revision to Diff 430969.
jweightman added a comment.

I updated the regression test to also check the behavior with external calls, and explicitly set the assumed external call stack size. I also included SGPR and VGPR register count assertions for all kernels in the test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126025/new/

https://reviews.llvm.org/D126025

Files:
  llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
  llvm/test/CodeGen/AMDGPU/hsa-metadata-resource-usage-function-ordering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126025.430969.patch
Type: text/x-patch
Size: 4275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220520/1cc1c19d/attachment.bin>


More information about the llvm-commits mailing list