[all-commits] [llvm/llvm-project] e130de: [RISCV] Add vector integer mul/mulh/div/rem ISel p...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Jan 6 01:30:28 PST 2021


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    A llvm/test/CodeGen/RISCV/rvv/vdiv-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vdiv-sdnode-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vrem-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vrem-sdnode-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vremu-sdnode-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vremu-sdnode-rv64.ll

  Log Message:
  -----------
  [RISCV] Add vector integer mul/mulh/div/rem ISel patterns

There is no test coverage for the mulhs or mulhu patterns as I can't get
the DAGCombiner to generate them for scalable vectors. There are a few
places in that still need updating for that to work. I left the patterns
in regardless as they are correct.

Reviewed By: craig.topper

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




More information about the All-commits mailing list