[llvm] [AArch64] Optimize memcpy for non-power of two sizes (PR #168890)

David Green via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 22 02:22:58 PST 2025


https://github.com/davemgreen commented:

I don't believe this code has ever worked very well. The DAG often just undoes it as an optimisation.

This seems like it would an improvement baring those issues, I would guess that the existing code did it the way it did to try and produce the resulting loads/stores more in order.

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


More information about the llvm-commits mailing list