[llvm] [SystemZ] Improve handling of memmoves. (PR #196285)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 07:53:54 PDT 2026


================
@@ -1466,6 +1470,14 @@ bool SystemZTargetLowering::findOptimalMemOpLowering(
   assert(Limit != ~0U &&
          "Expected EmitTargetCodeForMemXXX() to handle AlwaysInline cases.");
 
+  if (Op.isMemmove()) {
----------------
uweigand wrote:

Do we even have to make any distinction between memmove and memcpy at this level?  Can we just have EmitTargetCodeFor... make the right decisions?

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


More information about the llvm-commits mailing list