[AArch64] Change GeneratePerfectShuffle to return one destination operand for zip...
authorZain Jaffal <z_jaffal@apple.com>
Wed, 15 Mar 2023 20:47:53 +0000 (20:47 +0000)
committerZain Jaffal <z_jaffal@apple.com>
Wed, 15 Mar 2023 21:05:18 +0000 (21:05 +0000)
commit4b09d7a8ac1169dd3a3f13b126e0cdb2f3e2adb3
treee0b03e158e09ce865c8d91306fc522c27485cfd9
parent9e6a65f52ca6263795d81bde220fb4c80b7b05ec
[AArch64] Change GeneratePerfectShuffle to return one destination operand for zip and transpose operations.

The tests added where crashing because zip instruction was returning two destination operands. ZIP according to arm returns only one destination operand.

Reviewed By: dmgreen, fhahn

Differential Revision: https://reviews.llvm.org/D146055
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/arm64-zip.ll