[llvm] llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h: 2 * pointless copy (#94385) (PR #94410)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 13:22:18 PDT 2024
dwblaikie wrote:
This data type is trivially copyable and seems to be 8 bytes - that seems small enough that passing by value might be OK?
What tooling caught this/what is the rules that determine what's too expensive to copy/should be passed by const ref?
https://github.com/llvm/llvm-project/pull/94410
More information about the llvm-commits
mailing list