diff options
author | Bradley Smith <bradley.smith@arm.com> | 2021-04-27 15:31:46 +0100 |
---|---|---|
committer | Bradley Smith <bradley.smith@arm.com> | 2021-05-04 15:05:05 +0100 |
commit | 9f37980d45c7ea05c16851b1d672ab41907a38b7 (patch) | |
tree | 15ec728aeae4b66e2d8fae2480086a3d0c7a912c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b04148f77713c92ee57b33b7b858ad18ce8d78e3 (diff) | |
download | llvm-9f37980d45c7ea05c16851b1d672ab41907a38b7.zip llvm-9f37980d45c7ea05c16851b1d672ab41907a38b7.tar.gz llvm-9f37980d45c7ea05c16851b1d672ab41907a38b7.tar.bz2 |
[AArch64][SVE] Fold insert(zero, extract(X, 0), 0) -> X, when X is known to zero lanes 1-N
Specifically, this allow us to rely on the lane zero'ing behaviour of
SVE reduce instructions.
Co-authored-by: Paul Walker <paul.walker@arm.com>
Differential Revision: https://reviews.llvm.org/D101369
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions