[AArch64] Concat zip1 and zip2 is a wider zip1
authorDavid Green <david.green@arm.com>
Sat, 18 Feb 2023 19:54:29 +0000 (19:54 +0000)
committerDavid Green <david.green@arm.com>
Sat, 18 Feb 2023 19:54:29 +0000 (19:54 +0000)
commit8e3dc1366fb8365c4beb394ef2d34f1c639e8064
treefe19d9971cefa21a87de7b3377d770030817eab6
parent3bd38f66398303eb375085dc2681c94c7169f273
[AArch64] Concat zip1 and zip2 is a wider zip1

Given concat(zip1(a, b), zip2(a, b)), we can convert that to a 128bit zip1(a, b)
if we widen a and b out first.

Fixes #54226

Differential Revision: https://reviews.llvm.org/D121088
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/arm64-zip.ll
llvm/test/CodeGen/AArch64/complex-deinterleaving-mixed-cases.ll
llvm/test/CodeGen/AArch64/complex-deinterleaving-uniform-cases.ll