https://github.com/mtrofin approved this pull request. Lgtm, but can the commit message say this is about the printer pass - i.e. this should have no effect on inlining cost itself? https://github.com/llvm/llvm-project/pull/133637