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

Janek van Oirschot via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 16 06:23:34 PDT 2024


================
@@ -40,12 +41,20 @@ class AMDGPUAsmPrinter final : public AsmPrinter {
 
   AMDGPUResourceUsageAnalysis *ResourceUsage;
 
+  std::unique_ptr<MCResourceInfo> RI;
----------------
JanekvO wrote:

It requires a class inherited member for its constructor (in this case, `OutContext`).

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


More information about the cfe-commits mailing list