kparzysz added a comment. Actually, an extension point would not work, since extensions need to be added from outside of the PassManagerBuilder. There would have to be another way to collect them and add them to the pipeline. Repository: rL LLVM https://reviews.llvm.org/D28694