[all-commits] [llvm/llvm-project] afd03c: [RISCV] Define vector single-width reduction intri...

Monk Chiang via All-commits all-commits at lists.llvm.org
Thu Dec 24 17:57:06 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afd03cd33582be4931cf7957354e583bcfe8d99e
      https://github.com/llvm/llvm-project/commit/afd03cd33582be4931cf7957354e583bcfe8d99e
  Author: Monk Chiang <monk.chiang at sifive.com>
  Date:   2020-12-25 (Fri, 25 Dec 2020)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    A llvm/test/CodeGen/RISCV/rvv/vfredmax-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfredmax-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfredmin-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfredmin-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfredosum-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfredosum-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfredsum-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfredsum-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vredand-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vredand-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vredmax-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vredmax-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vredmaxu-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vredmaxu-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vredmin-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vredmin-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vredminu-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vredminu-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vredor-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vredor-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vredsum-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vredsum-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vredxor-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vredxor-rv64.ll

  Log Message:
  -----------
  [RISCV] Define vector single-width reduction intrinsic.

integer group:
vredsum/vredmaxu/vredmax/vredminu/vredmin/vredand/vredor/vredxor
float group:
vfredosum/vfredsum/vfredmax/vfredmin

We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen at sifive.com>

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




More information about the All-commits mailing list