[all-commits] [llvm/llvm-project] eaa780: [SystemZ] Patchset for expanding memcpy/memset usi...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Fri May 13 06:31:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaa78035c6a59b0607878f463ad7b7b7444f2c60
      https://github.com/llvm/llvm-project/commit/eaa78035c6a59b0607878f463ad7b7b7444f2c60
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.h
    A llvm/test/CodeGen/SystemZ/codegenprepare-gepoffs-split.ll
    A llvm/test/CodeGen/SystemZ/dag-combine-06.ll
    A llvm/test/CodeGen/SystemZ/memcpy-03.ll
    A llvm/test/CodeGen/SystemZ/memset-08.ll
    A llvm/test/CodeGen/SystemZ/store-replicated-vals.ll

  Log Message:
  -----------
  [SystemZ] Patchset for expanding memcpy/memset using at most two stores.

* Set MaxStoresPerMemcpy and MaxStoresPerMemset to 2.

* Optimize stores of replicated values in SystemZ::combineSTORE(). This
  handles the now expanded memory operations and as well some other
  pre-existing cases.

* Reject a big displacement in isLegalAddressingMode() for a vector type.

* Return true from shouldConsiderGEPOffsetSplit().

Reviewed By: Ulrich Weigand

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




More information about the All-commits mailing list