[AArch64][SVE2p1] Make use of REVD instruction.
authorSander de Smalen <sander.desmalen@arm.com>
Tue, 6 Dec 2022 12:45:00 +0000 (12:45 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Tue, 6 Dec 2022 15:42:32 +0000 (15:42 +0000)
commit5922a04dbd665f56de562dda0ac4a482df15fc4f
treeb4620c9b591f071bdafcb7900cdf4e53ab90eb60
parentb04fc99c347058111cfb9313546df95e10c26132
[AArch64][SVE2p1] Make use of REVD instruction.

Reversing double-words within a quard-word is possible using the REVD instruction
when SVE2p1 is enabled.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D139119
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-fixed-length-permute-rev.ll
llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll