[all-commits] [llvm/llvm-project] d0969e: [RISCV] Optimize vfmv.s.f intrinsic with scalar 0....

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Mar 11 10:05:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0969e485c16bf8415c87b6d0375a88e738c9679
      https://github.com/llvm/llvm-project/commit/d0969e485c16bf8415c87b6d0375a88e738c9679
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/vfmv.s.f.ll

  Log Message:
  -----------
  [RISCV] Optimize vfmv.s.f intrinsic with scalar 0.0 to vmv.s.x with x0.

We already do this for RISCVISD::VFMV_S_F_VL and the vfmv.v.f
intrinsic.

Reviewed By: kito-cheng

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




More information about the All-commits mailing list