[ARM][MVE] Enable tail predication for loops containing MVE gather/scatters
authorAnna Welker <anna.welker@arm.com>
Wed, 12 Aug 2020 12:44:18 +0000 (13:44 +0100)
committerAnna Welker <anna.welker@arm.com>
Wed, 12 Aug 2020 14:32:37 +0000 (15:32 +0100)
commit4fe5615eabbb2a47e7ac32917e621852e057efe8
tree5166aac6965ee3340a51f5b25be6686cad7b45f9
parent25bbe234e4e73e6345f4f0b61e680abf5a90d59f
[ARM][MVE] Enable tail predication for loops containing MVE gather/scatters

Widen the scope of memory operations that are allowed to be tail predicated
to include gathers and scatters, such that loops that are auto-vectorized
with the option -enable-arm-maskedgatscat (and actually end up containing
an MVE gather or scatter) can be tail predicated.

Differential Revision: https://reviews.llvm.org/D85138
llvm/lib/Target/ARM/ARMBaseInstrInfo.h
llvm/lib/Target/ARM/MVETailPredication.cpp
llvm/test/CodeGen/Thumb2/mve-gather-scatter-tailpred.ll [new file with mode: 0644]