[all-commits] [llvm/llvm-project] c6c13c: [SystemZ] Implement memcpy of variable length with...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue Oct 5 08:15:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6c13c58eebda605a9a05f1f13cac1e46407afc7
      https://github.com/llvm/llvm-project/commit/c6c13c58eebda605a9a05f1f13cac1e46407afc7
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
    M llvm/test/CodeGen/SystemZ/loop-03.ll
    M llvm/test/CodeGen/SystemZ/memcpy-01.ll
    M llvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll

  Log Message:
  -----------
  [SystemZ] Implement memcpy of variable length with MVC.

Instead of making a memcpy libcall, emit an MVC loop and an EXRL instruction
the same way as is already done for memset 0.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D106874




More information about the All-commits mailing list