jlebar added a comment. > I'm leaning towards giving targets a hook to accept the PassManagerBuilder and adjust as they want it. Me too. I don't think it should be called "early as possible", but in principle I think I agree. Repository: rL LLVM https://reviews.llvm.org/D28031