[mono][llvm] Use the OP_MEMMOVE opcode instead of calling the managed memcpy method...
authorZoltan Varga <vargaz@gmail.com>
Thu, 10 Aug 2023 17:29:32 +0000 (13:29 -0400)
committerGitHub <noreply@github.com>
Thu, 10 Aug 2023 17:29:32 +0000 (12:29 -0500)
commit3e58f554ed44a636f08eabfb1cd6b270f74c4d71
tree24fbfc3d915d3b53e9bc6bb35229d0aa8c09f7b3
parent6f6e2482c6d97ba17b337d6a1a55971286b53927
[mono][llvm] Use the OP_MEMMOVE opcode instead of calling the managed memcpy method when compiling with LLVM. (#90097)

LLVM can emit optimized code when the length ends up being a constant.
src/mono/mono/mini/memory-access.c