[all-commits] [llvm/llvm-project] 5c9684: [DAG][sve] Lowering for VLS masked truncating stores

Matthew Devereau via All-commits all-commits at lists.llvm.org
Fri Dec 17 07:05:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c9684704d15503107ce79ccaf362402ad2b0b2a
      https://github.com/llvm/llvm-project/commit/5c9684704d15503107ce79ccaf362402ad2b0b2a
  Author: David Truby <david.truby at arm.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-fixed-length-masked-stores.ll

  Log Message:
  -----------
  [DAG][sve] Lowering for VLS masked truncating stores

This extends the custom lowering for truncating stores on
fixed length vectors in SVE to support masked truncating stores.
It also adds a DAG combine for truncates followed by masked
stores.

Reviewed By: peterwaller-arm, paulwalker-arm

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


  Commit: e00f22c1b1a3c64feee290804623478416803b7a
      https://github.com/llvm/llvm-project/commit/e00f22c1b1a3c64feee290804623478416803b7a
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    A llvm/test/Analysis/CostModel/AArch64/masked_ldst_vls.ll

  Log Message:
  -----------
  [AArch64][SVE] Teach cost model that masked loads/stores are cheap

Reduce the cost of VLS masked loads/stores to make the vectorizor emit them more frequently.


Compare: https://github.com/llvm/llvm-project/compare/2438540a4a61...e00f22c1b1a3


More information about the All-commits mailing list