[all-commits] [llvm/llvm-project] 7a4e9a: [SystemZ] Implement memcmp of variable length with...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue Oct 5 09:21:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a4e9a0c73667cb80e4572d41535a9e48f1ed9ef
      https://github.com/llvm/llvm-project/commit/7a4e9a0c73667cb80e4572d41535a9e48f1ed9ef
  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/SystemZInstrFormats.td
    M llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
    M llvm/test/CodeGen/SystemZ/memcmp-01.ll

  Log Message:
  -----------
  [SystemZ] Implement memcmp of variable length with CLC.

Following the same pattern of memset/memcpy, this patch implements a variable
length memcmp with a CLC loop followed by an EXRL instruction.

Review: Ulrich Weigand

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




More information about the All-commits mailing list