[all-commits] [llvm/llvm-project] 1dd5e6: [RISCV] Use vmv.s.x instead of vfmv.s.f when the f...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Wed Dec 29 18:35:38 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dd5e6fed5dbfe105451277d749e3c4240b925c4
  Author: jacquesguan <jacquesguan at me.com>
  Date:   2021-12-30 (Thu, 30 Dec 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll

  Log Message:
  [RISCV] Use vmv.s.x instead of vfmv.s.f when the floating point scalar is 0.

Use integer vector scalar move instruction when move 0 to avoid add a integer-float move instruction.

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

More information about the All-commits mailing list