[PATCH] D116140: [AMDGPU] Add agpr_count to metadata and AsmParser

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 17:12:14 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:1168
+
+  // Sourced from AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::getTotalNumVGPRs()
+  int getTotalNumVgprs() {
----------------
Really should avoid repeating this then. Usually things that need to be shared between codegen and MC go in AMDGPUBaseInfo


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116140



More information about the llvm-commits mailing list