[clang] [llvm] [AMDGPU] Convert AMDGPUResourceUsageAnalysis pass from Module to MF pass (PR #102913)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 21 11:48:02 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).
----------------
arsenm wrote:

We should either fix the naming of these fields to say it's only the numbered SGPRs, or just always include the + vcc part? 

https://github.com/llvm/llvm-project/pull/102913


More information about the cfe-commits mailing list