[llvm] Fix: Changed parameter to const reference instead of pass-by-value (PR #150928)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 15 16:30:58 PST 2025


adrian-prantl wrote:

Can you explain the motivation behind this change?
We usually prefer pass-by-value for anything small enough to fit into registers.

https://github.com/llvm/llvm-project/pull/150928


More information about the llvm-commits mailing list