[AArch64][SVE] Fix assertion failure when lowering fixed length gather/scatter
authorBradley Smith <bradley.smith@arm.com>
Thu, 5 Aug 2021 13:15:47 +0000 (13:15 +0000)
committerBradley Smith <bradley.smith@arm.com>
Mon, 9 Aug 2021 14:05:22 +0000 (14:05 +0000)
commit73ecb9987b00db274b7b2ac34b0602ffdb906a4b
treeeb528c1c76f6d5918fb4c1bc058bf3397de3b0a1
parentc0eb94231ebd96ce40b2d4d8955028950d940360
[AArch64][SVE] Fix assertion failure when lowering fixed length gather/scatter

The patterns for fixed length gather/scatter with 32-bit offsets and
64-bit memory type are slightly different that the rest of the patterns,
as such the lowering needs to be slightly different to ensure the
correct types are used.

Differential Revision: https://reviews.llvm.org/D107576
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
llvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll