[all-commits] [llvm/llvm-project] 4a5129: [AArch64][SVE] Implement SPLAT_VECTOR for i1 vectors.
Eli Friedman via All-commits
all-commits at lists.llvm.org
Mon Dec 9 15:08:10 PST 2019
Branch: refs/heads/splat-i1-sve
Home: https://github.com/llvm/llvm-project
Commit: 4a51298c13005be05e100f0ef46dbac47623bcd6
https://github.com/llvm/llvm-project/commit/4a51298c13005be05e100f0ef46dbac47623bcd6
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2019-12-09 (Mon, 09 Dec 2019)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-vector-splat.ll
Log Message:
-----------
[AArch64][SVE] Implement SPLAT_VECTOR for i1 vectors.
The generated sequence with whilelo is unintuitive, but it's the best
I could come up with given the limited number of SVE instructions that
interact with scalar registers. The other sequence I was considering
was something like dup+cmpne, but an extra scalar instruction seems
better than an extra vector instruction.
Differential Revision: https://reviews.llvm.org/D71160
More information about the All-commits
mailing list