[all-commits] [llvm/llvm-project] b607cd: [RISCV] Use vmv.s.x to build one element splat vec...
Jianjian Guan via All-commits
all-commits at lists.llvm.org
Mon Jan 10 18:21:39 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b607cd39281f71528f82f0de8b230fff7217dc7e
https://github.com/llvm/llvm-project/commit/b607cd39281f71528f82f0de8b230fff7217dc7e
Author: jacquesguan <jacquesguan at me.com>
Date: 2022-01-11 (Tue, 11 Jan 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-int-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-int-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-int-vp.ll
Log Message:
-----------
[RISCV] Use vmv.s.x to build one element splat vector.
When we want to create an splat vector that only the first element is initialized, we could use vmv.s.x or vfmv.s.f to build it.
Differential Revision: https://reviews.llvm.org/D116277
More information about the All-commits
mailing list