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

Fraser Cormack via All-commits all-commits at lists.llvm.org
Fri Feb 12 16:31:14 PST 2021


  Branch: refs/heads/relase/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 34cda01e235c549b56ffe30a7b09df0414d56ea0
      https://github.com/llvm/llvm-project/commit/34cda01e235c549b56ffe30a7b09df0414d56ea0
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-02-12 (Fri, 12 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

(cherry picked from commit b4106f9c7b8c498d109301ced7bf9aca32027168)




More information about the All-commits mailing list