[llvm] [AMDGPU] NFC: Add helper to query archVGPR (PR #102690)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 12 01:45:29 PDT 2024
================
@@ -54,6 +54,8 @@ struct GCNRegPressure {
}
return std::max(Value[VGPR32], Value[AGPR32]);
}
+ unsigned getArchVGPRNum() const { return Value[VGPR32];}
----------------
arsenm wrote:
Should get comments? Also could just fold this into the usage PR
https://github.com/llvm/llvm-project/pull/102690
More information about the llvm-commits
mailing list