https://github.com/aeubanks commented: this seems like something that should be constant after creating the PassBuilder. what's wrong with creating a completely new PassBuilder if you want a different PTO? do you actually use this functionality? https://github.com/llvm/llvm-project/pull/92821