[llvm] [InlineCost] Use a const reference (NFC) (PR #95687)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 16 00:29:49 PDT 2024


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


More information about the llvm-commits mailing list