[all-commits] [llvm/llvm-project] 798968: [RISCV] Add scalable vector fadd/fsub/fmul/fdiv IS...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Jan 11 13:26:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7989684a2e4a496201ff41d31cede764487ca80f
      https://github.com/llvm/llvm-project/commit/7989684a2e4a496201ff41d31cede764487ca80f
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    A llvm/test/CodeGen/RISCV/rvv/vfadd-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfadd-sdnode-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfdiv-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfdiv-sdnode-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmul-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmul-sdnode-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfsub-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfsub-sdnode-rv64.ll

  Log Message:
  -----------
  [RISCV] Add scalable vector fadd/fsub/fmul/fdiv ISel patterns

Original patch by @rogfer01.

This patch adds ISel patterns for the above operations to the
corresponding vector/vector and vector/scalar RVV instructions, as well
as extra patterns to match operand-swapped scalar/vector vfrsub and
vfrdiv.

Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: Fraser Cormack <fraser at codeplay.com>

Reviewed By: craig.topper

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




More information about the All-commits mailing list