[llvm] [SystemZ] Improve handling of memmoves. (PR #196285)
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 25 07:02:40 PDT 2026
JonPsson1 wrote:
I must admit that I have found the current categorization slightly confusing, as I was expecting a separation between Memcpy and Memmove. My conclusion has been that other targets wish to treat them the same and therefore only need isMemcpy().
I thought about renaming isMemcpy() to isMemcpyOrMemmove(), which perhaps would make sense, then also have a separate isMemmove() method.
Generally, I would personally prefer to follow the C differentiation, and have a Copy() method, and another separate Move(). But since other targets do not care it seems, it is enough for me to just be able to call isMemmove()... Would this be acceptable for now?
https://github.com/llvm/llvm-project/pull/196285
More information about the llvm-commits
mailing list