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

fodinabor via All-commits all-commits at lists.llvm.org
Fri Feb 12 16:32:37 PST 2021


  Branch: refs/heads/release/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)


  Commit: 2cf21fd6a5b4a6f0f0da55717a787fc38202cca8
      https://github.com/llvm/llvm-project/commit/2cf21fd6a5b4a6f0f0da55717a787fc38202cca8
  Author: Joachim Meyer <joachim at joameyer.de>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Support/CommandLine.h
    M llvm/lib/Support/CommandLine.cpp
    M llvm/unittests/Support/CommandLineTest.cpp

  Log Message:
  -----------
  [Support] Indent multi-line descr of enum cli options.

As noted in https://reviews.llvm.org/D93459, the formatting of
multi-line descriptions of clEnumValN and the likes is unfavorable.
Thus this patch adds support for correctly indenting these.

Reviewed By: serge-sans-paille

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

(cherry picked from commit e3f02302e318837d2421c6425450f04ae0a82b90)


Compare: https://github.com/llvm/llvm-project/compare/205ecd9b79c6...2cf21fd6a5b4


More information about the All-commits mailing list