diff options
author | David Green <david.green@arm.com> | 2023-03-01 13:54:03 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2023-03-01 13:54:03 +0000 |
commit | 83bbd3fdbd75295669cf97967c38810d427c5c25 (patch) | |
tree | 075c6fb8d6c1df3a7cafdc7aa14f2d1ecee9ec1b /clang/unittests/libclang/LibclangTest.cpp | |
parent | 8e4f8259f75fa3415e3834058cd19a1ae52d9ec6 (diff) | |
download | llvm-83bbd3fdbd75295669cf97967c38810d427c5c25.zip llvm-83bbd3fdbd75295669cf97967c38810d427c5c25.tar.gz llvm-83bbd3fdbd75295669cf97967c38810d427c5c25.tar.bz2 |
[AArch64] Load into zero vector patterns
A LDR will implicitly zero the rest of the vector, so vector_insert(zeros,
load, 0) can use a single load. This adds tablegen patterns for both scaled and
unscaled loads, detecting where we are inserting a load into the lower element
of a zero vector.
Differential Revision: https://reviews.llvm.org/D144086
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions