[all-commits] [llvm/llvm-project] 74a130: [RISCV] Add isel patterns for vfmacc, vfnmacc, vfm...

Yeting Kuo via All-commits all-commits at lists.llvm.org
Tue Oct 4 18:57:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74a130af9735d37100408604828707db2922a971
      https://github.com/llvm/llvm-project/commit/74a130af9735d37100408604828707db2922a971
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmacc-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmsac-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfnmacc-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfnmsac-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmacc-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmsac-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmacc-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmsac-vp.ll

  Log Message:
  -----------
  [RISCV] Add isel patterns for vfmacc, vfnmacc, vfmsac and vfnmsac.

The patch selects VSELECT_VL/VP_MERGE_VL that uses VF(N)M(ACC|SAC) as its
true operand and the adden of the true operand as its false operand.

Reviewed By: craig.topper

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




More information about the All-commits mailing list