nikic wrote: I think to meaningfully improve it we need a new, more declarative mechanism to declare pass options (at least for the simple cases). The current one is annoyingly ad-hoc. https://github.com/llvm/llvm-project/pull/146160