[all-commits] [llvm/llvm-project] a14040: [RISCV] Use vmerge.vim for llvm.riscv.vfmerge with...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jan 12 11:14:13 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a14040bd4d902419b53cf0ad576caa0f01eccf5c
      https://github.com/llvm/llvm-project/commit/a14040bd4d902419b53cf0ad576caa0f01eccf5c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/vfmerge-rv32.ll
    M llvm/test/CodeGen/RISCV/rvv/vfmerge-rv64.ll

  Log Message:
  -----------
  [RISCV] Use vmerge.vim for llvm.riscv.vfmerge with a 0.0 scalar operand.

We can use a 0 immediate to avoid needing to materialize 0 into
an FPR first.

Reviewed By: frasercrmck

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




More information about the All-commits mailing list