[llvm] [AMDGPU][NewPM] Port "AMDGPUResourceUsageAnalysis" to NPM (PR #130959)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 12 09:19:51 PDT 2025


================
@@ -1657,8 +1657,8 @@ bool AMDGPUAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
 }
 
 void AMDGPUAsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const {
-  AU.addRequired<AMDGPUResourceUsageAnalysis>();
-  AU.addPreserved<AMDGPUResourceUsageAnalysis>();
+  AU.addRequired<AMDGPUResourceUsageAnalysisWrapperPass>();
+  AU.addPreserved<AMDGPUResourceUsageAnalysisWrapperPass>();
----------------
arsenm wrote:

Missing legacy in wrapper pass name? do the other wrappers have it? 

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


More information about the llvm-commits mailing list