[PATCH] D126025: AMDGPU: allow reordering of functions in AMDGPUResourceUsageAnalysis
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 3 07:02:48 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/hsa-metadata-resource-usage-function-ordering.ll:15-18
+; GFX7: .sgpr_count: 37
+; GFX7: .sgpr_spill_count: 0
+; GFX7: .vgpr_count: 0
+; GFX7: .vgpr_spill_count: 0
----------------
These aren't the most helpful register counts. Can you mark the functions internal, and add some artificial asm register uses to get a more helpful value?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126025/new/
https://reviews.llvm.org/D126025
More information about the llvm-commits
mailing list