[llvm] [NVPTX] Do not run the NVVMReflect pass as part of the normal pipeline (PR #121834)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 14:00:10 PST 2025


================
@@ -255,7 +255,6 @@ void NVPTXTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
   PB.registerPipelineStartEPCallback(
       [this](ModulePassManager &PM, OptimizationLevel Level) {
         FunctionPassManager FPM;
-        FPM.addPass(NVVMReflectPass(Subtarget.getSmVersion()));
----------------
jhuber6 wrote:

It's in `addIRPasses()`, which is only generated for the backend portion.

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


More information about the llvm-commits mailing list