[Clang][SME2] Add multi-vector zip & unzip builtins (#74841)
commitf888e739d3247d09e287e4642ef85c1f9bb1ce43
authorKerry McLaughlin <kerry.mclaughlin@arm.com>
Mon, 18 Dec 2023 16:38:36 +0000 (18 16:38 +0000)
committerGitHub <noreply@github.com>
Mon, 18 Dec 2023 16:38:36 +0000 (18 16:38 +0000)
tree4825b0b4507d2a77b4a89fc1152994932c9c3d37
parent318d5bff0b65aa7d52fc7004d49587416f0fb564
[Clang][SME2] Add multi-vector zip & unzip builtins (#74841)

Adds the following SME2 builtins:
 - svzip (x2 & x4)
 - svzipq (x2 & x4)
 - svuzp (x2 & x4)
 - svuzpq (x2 & x4)

See https://github.com/ARM-software/acle/pull/217/files

Patch by David Sherwood <david.sherwood@arm.com>
clang/include/clang/Basic/arm_sve.td
clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c [new file with mode: 0644]
clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c [new file with mode: 0644]
clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c [new file with mode: 0644]
clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c [new file with mode: 0644]