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

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 16:53:22 PDT 2026


yonghong-song wrote:

@alexfh I just pushed a patch (https://github.com/llvm/llvm-project/pull/205222) to increase BPFMaxStoresPerMemFunc from 128 to 192. Hopefully it can mitigate the issue you encountered. You can also increase src/dst alignment to workaround the issue at the same time the code will be shorter and more efficient.

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


More information about the llvm-commits mailing list