[all-commits] [llvm/llvm-project] 10879c: [RISCV] Add tests for possible splat optimizations
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Fri Jan 28 04:43:42 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 10879c26a20307abb3f0d29da6504f6cc9cc41e3
https://github.com/llvm/llvm-project/commit/10879c26a20307abb3f0d29da6504f6cc9cc41e3
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2022-01-28 (Fri, 28 Jan 2022)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
A llvm/test/CodeGen/RISCV/rvv/splat-vectors.ll
Log Message:
-----------
[RISCV] Add tests for possible splat optimizations
These splats -- whether BUILD_VECTOR or SPLAT_VECTOR -- are formed by
first extracting a value from a vector and splatting it to all elements
of the destination vector. These could be performed more optimally,
avoiding the drop to scalar, using RVV's vrgather, for example.
More information about the All-commits
mailing list