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

Akshay Deodhar via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 15:03:46 PST 2025


================
@@ -271,6 +272,16 @@ void NVPTXTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
         PM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM)));
       });
 
+  PB.registerPipelineParsingCallback(
----------------
akshayrdeodhar wrote:

Ah- I incorrectly believed that calling that pass in `opt` requires a callback. Looks like it is unnecessary.

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


More information about the llvm-commits mailing list