[all-commits] [llvm/llvm-project] 278a3e: [RISCV] Use vmv.v.i vd, 0 instead of vmv.v.x vd, x...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jan 11 15:13:18 PST 2021


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

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

  Log Message:
  -----------
  [RISCV] Use vmv.v.i vd, 0 instead of vmv.v.x vd, x0 for llvm.riscv.vfmv.v.f with 0.0

This matches what we use for integer 0. It's also consistent with
the scalar 'mv' pseudo that uses addi rather than add with x0.




More information about the All-commits mailing list