[llvm] [MemCpyOpt] Forward `memcpy` based on the actual copy memory location. (PR #87190)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 02:45:36 PDT 2024


================

----------------
nikic wrote:

Please make the bulk of the coverage not copy back into the same allocation, but into a separate (noalias) destination. The same-allocation case is a confusing edge-case where we should only verify that we switch to memmove in that case.

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


More information about the llvm-commits mailing list