[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
Mon Aug 19 07:30:26 PDT 2024
================
@@ -40,12 +41,20 @@ class AMDGPUAsmPrinter final : public AsmPrinter {
AMDGPUResourceUsageAnalysis *ResourceUsage;
+ std::unique_ptr<MCResourceInfo> RI;
----------------
JanekvO wrote:
Only was I was able to do so was by explicitly adding the `MCContext` as argument for every public method in `AMDGPUResourceInfo`. Let me know if there's a way I missed without being so verbose with `MCContext` arguments in `AMDGPUResourceInfo`.
https://github.com/llvm/llvm-project/pull/102913
More information about the llvm-commits
mailing list