[all-commits] [llvm/llvm-project] 6f30d0: [RISCV] Merge the vsetvli and vsetvlimax intrinsic...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Feb 17 10:08:59 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f30d0035a8e5ddbffdb940a88c4ab62525face1
      https://github.com/llvm/llvm-project/commit/6f30d0035a8e5ddbffdb940a88c4ab62525face1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

  Log Message:
  -----------
  [RISCV] Merge the vsetvli and vsetvlimax intrinsic selection

These have very similar code just with a different number of
operands and handling for vsetivl.

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


  Commit: d4353a3101542522d226419675946ca59ab7e546
      https://github.com/llvm/llvm-project/commit/d4353a3101542522d226419675946ca59ab7e546
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h

  Log Message:
  -----------
  [RISCV] Merge the handlers for masked and unmasked segment loads/stores.

A lot of the code for the masked and unmasked is the same. This
patch adds a boolean to handle the differences so we can share
the code.

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


Compare: https://github.com/llvm/llvm-project/compare/519f5917b458...d4353a310154


More information about the All-commits mailing list