[ARM][MVE] Allow tail predication for strides !=1 with gather/scatters
authorAnna Welker <anna.welker@arm.com>
Mon, 24 Aug 2020 11:04:57 +0000 (12:04 +0100)
committerAnna Welker <anna.welker@arm.com>
Mon, 24 Aug 2020 12:54:47 +0000 (13:54 +0100)
commit8048068c3ec55cd5dc20ecf111fe754ba1d25740
tree5535644b1b71775407aab279dc1a7abc5854d51f
parent105151ca5669a0536fb5bb1bc02bd3279cdbbfda
[ARM][MVE] Allow tail predication for strides !=1 with gather/scatters

If gather/scatters are enabled, ARMTargetTransformInfo now allows
tail predication for loops with a much wider range of strides, up
to anything that is loop invariant.

Differential Revision: https://reviews.llvm.org/D85410
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/test/Transforms/LoopVectorize/ARM/mve-gather-scatter-tailpred.ll [new file with mode: 0644]