Skip to content
Commit c5dfee44 authored by Peter Waller's avatar Peter Waller
Browse files

[CodeGen][AArch64][SVE] Use ld1r[bhsd] for vector splat from memory



This avoids the use of the vector unit for copying from scalar to
vector. There is an extra ptrue instruction, but a predicate register
with the ptrue pattern populated is likely to be free in the context of
real code.

Tests were generated from a template to cover the axes mentioned at the
top of the test file.

Co-authored-by: default avatarFrancesco Petrogalli <francesco.petrogalli@arm.com>

Differential Revision: https://reviews.llvm.org/D103170
parent 745758ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment