[clang] [llvm] [AMDGPU] Convert AMDGPUResourceUsageAnalysis pass from Module to MF pass (PR #102913)
Janek van Oirschot via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 08:56:39 PDT 2024
================
@@ -0,0 +1,533 @@
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -enable-ipra=0 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
+
+; SGPR use may not seem equal to the sgpr use provided in comments as the latter includes extra sgprs (e.g., for vcc use).
----------------
JanekvO wrote:
I applied the following renames:
the function level number of sgpr symbol went from `<function name>.num_sgpr` to `<function name>.numbered_sgpr`
remark went from `SGPRs` to `TotalSGPRs`
comment went from `NumSgprs` to `TotalNumSgprs`
https://github.com/llvm/llvm-project/pull/102913
More information about the llvm-commits
mailing list