[llvm] [NVPTX][NVPTXLowerArgs] Add NewPM interface for NVPTXLowerArgs (PR #128960)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 21:53:23 PST 2025


================
@@ -74,6 +75,15 @@ struct NVPTXCopyByValArgsPass : PassInfoMixin<NVPTXCopyByValArgsPass> {
   PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
 };
 
+struct NVPTXLowerArgsPass : PassInfoMixin<NVPTXLowerArgsPass> {
+private:
+  TargetMachine &TM;
----------------
AlexMaclean wrote:

Can this be made `const`?

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


More information about the llvm-commits mailing list