[all-commits] [llvm/llvm-project] b4106f: [RISCV] Fix incorrect RVV sdiv/udiv lowering

Fraser Cormack via All-commits all-commits at lists.llvm.org
Tue Feb 2 10:42:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4106f9c7b8c498d109301ced7bf9aca32027168
      https://github.com/llvm/llvm-project/commit/b4106f9c7b8c498d109301ced7bf9aca32027168
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

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

  Log Message:
  -----------
  [RISCV] Fix incorrect RVV sdiv/udiv lowering

Due to a clerical error, the sdiv operation was mapping to vdivu and
udiv to vdiv, when the opposite mapping is the correct one.

Reviewed By: craig.topper

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




More information about the All-commits mailing list