[all-commits] [llvm/llvm-project] 672b62: [AArch64][SVE] Custom lowering of floating-point r...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Thu Apr 30 03:24:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 672b62ea21dfe5f9bfb2b0362785f2685be830a0
      https://github.com/llvm/llvm-project/commit/672b62ea21dfe5f9bfb2b0362785f2685be830a0
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sve-intrinsics-fp-reduce.ll

  Log Message:
  -----------
  [AArch64][SVE] Custom lowering of floating-point reductions

Summary:
This patch implements custom floating-point reduction ISD nodes that
have vector results, which are used to lower the following intrinsics:

    * llvm.aarch64.sve.fadda
    * llvm.aarch64.sve.faddv
    * llvm.aarch64.sve.fmaxv
    * llvm.aarch64.sve.fmaxnmv
    * llvm.aarch64.sve.fminv
    * llvm.aarch64.sve.fminnmv

SVE reduction instructions keep their result within a vector register,
with all other bits set to zero.

Changes in this patch were implemented by Paul Walker and Sander de
Smalen.

Reviewers: sdesmalen, efriedma, rengolin

Reviewed By: efriedma

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


  Commit: 7e4c26bb8859f1feb104c60807933cf1d1db7499
      https://github.com/llvm/llvm-project/commit/7e4c26bb8859f1feb104c60807933cf1d1db7499
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAArch64.td

  Log Message:
  -----------
  [AArch64][SVE] Remove unused FP reduction intrinsic definitions

Summary: FP reductions no longer use these intrinsics since D78723.

Reviewers: efriedma, sdesmalen

Reviewed By: efriedma, sdesmalen

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


Compare: https://github.com/llvm/llvm-project/compare/058cd8c5be1c...7e4c26bb8859


More information about the All-commits mailing list