https://github.com/bogner commented: This is still missing changes in `llvm/lib/Passes/PassRegistry.def` to add the newpm style passes to the pass manager. Take a look at #100700 if you want some code to follow for the pattern. https://github.com/llvm/llvm-project/pull/102079