[all-commits] [llvm/llvm-project] 2749b9: [RISCV] Add isel patterns for vmacc, vnmsac.

Yeting Kuo via All-commits all-commits at lists.llvm.org
Tue Oct 11 18:19:19 PDT 2022


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmacc-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vnmsac-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/vmacc-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/vnmsac-vp.ll

  Log Message:
  -----------
  [RISCV] Add isel patterns for vmacc, vnmsac.

The patch selects VSELECT/VP_MERGE_VL which uses fmadd/fnmsub as true operand
and the adden of the fmadd/fnmsub as false operand.

Reviewed By: craig.topper

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




More information about the All-commits mailing list