kazutakahirata wrote: > See the comment directly above. The copy here is needed for the legacy pass manager. It looks like we still support AlwaysInliner for the legacy PM. Ah, thank you for pointing this out! https://github.com/llvm/llvm-project/pull/95687