[llvm] [BPF] Consider alignment when selecting memcpy/memmove/memset op type (PR #204042)

Ömer Sinan Ağacan via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 04:49:38 PDT 2026


osa1 wrote:

> I'm not quite sure how I can use llvm.memcpy.inline in the C BPF code

Sorry if I misunderstand the question (is there a limitation about C BPF that limits what you can use?), but you use `__builtin_memcpy_inline` instead of `__builtin_memcpy`.

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


More information about the llvm-commits mailing list