[AArch64][SVE] Expand gather index to 32 bits instead of 64 bits
authorMatt Devereau <matthew.devereau@arm.com>
Thu, 28 Jul 2022 09:18:18 +0000 (09:18 +0000)
committerMatt Devereau <matthew.devereau@arm.com>
Wed, 28 Sep 2022 14:42:12 +0000 (14:42 +0000)
commit0a4771a7e845e5be750523219c314a0a61d9a0cb
tree3fe49b17dde42e4e445d340fb6b454292a1a8215
parentae1f707366f74e5271afb01b502ae690656fa9f9
[AArch64][SVE] Expand gather index to 32 bits instead of 64 bits

For gathers which load in 8 and 16 bit data then use that data
as an index, the index can be extended to 32 bits instead of
64 bits

Differential Revision: https://reviews.llvm.org/D130692
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-gather-scatter-dag-combine.ll