paperchalice wrote: > I'm confused, `getPassInfo()` should only be used for the legacy pass manager? Yes, but in unit test I use the option `-start-after=no-op-module`, legacy pass manager doesn't recognize `no-op-module`. https://github.com/llvm/llvm-project/pull/78570