[ARM][MVE] Enable masked gathers from vector of pointers
authorAnna Welker <anna.welker@arm.com>
Wed, 8 Jan 2020 13:08:27 +0000 (13:08 +0000)
committerAnna Welker <anna.welker@arm.com>
Wed, 8 Jan 2020 13:43:12 +0000 (13:43 +0000)
commit346f6b54bd1237a9a5a2d9bb1e424b57dc178998
tree7208adf580a9343feefc817765407cbda3839ef0
parent55a51e1c79a21080289ba88d5eac4bbe54ec4272
[ARM][MVE] Enable masked gathers from vector of pointers

Adds a pass to the ARM backend that takes a v4i32
gather and transforms it into a call to MVE's
masked gather intrinsics.

Differential Revision: https://reviews.llvm.org/D71743
llvm/lib/Target/ARM/ARM.h
llvm/lib/Target/ARM/ARMTargetMachine.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/lib/Target/ARM/CMakeLists.txt
llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp [new file with mode: 0644]
llvm/test/CodeGen/ARM/O3-pipeline.ll
llvm/test/CodeGen/Thumb2/mve-gather-ind32-scaled.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-gather-ind32-unscaled.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-gather-ptrs.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-gather-scatter-opt.ll [new file with mode: 0644]