[all-commits] [llvm/llvm-project] 88c0e0: [RISCV] Improve i64 splat vector lowering in RV32.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Thu Jan 13 22:07:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88c0e0806b36a32e92f97585b85db6e2ec9860ec
      https://github.com/llvm/llvm-project/commit/88c0e0806b36a32e92f97585b85db6e2ec9860ec
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv32.ll

  Log Message:
  -----------
  [RISCV] Improve i64 splat vector lowering in RV32.

We could use vmv.v.i/vmv.v.x whose eew is 32 to lower the i64 splat vector if the i64 constant scalar could be splitted into two same i32 scalar.

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




More information about the All-commits mailing list