joker-eph wrote: After iterating on this PR, I ended up in a state where the initial build time and binary size improvements are lost. It's even regressing a bit on the binary sizes on large dialects right now. Closing... https://github.com/llvm/llvm-project/pull/226319