[PATCH] D85138: [ARM][MVE] Enable tail predication for loops containing MVE gather/scatters

Anna Welker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 3 08:39:16 PDT 2020


anwel created this revision.
anwel added reviewers: SjoerdMeijer, dmgreen, samparker.
anwel added a project: LLVM.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
anwel requested review of this revision.

Currently, MVE tail predication will only tail predicate a loop if there only are predicated loads and stores present. This patch widens the scope to also accept 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.


https://reviews.llvm.org/D85138

Files:
  llvm/lib/Target/ARM/ARMBaseInstrInfo.h
  llvm/lib/Target/ARM/MVETailPredication.cpp
  llvm/test/CodeGen/Thumb2/mve-gather-scatter-tailpred.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85138.282635.patch
Type: text/x-patch
Size: 12810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200803/67d19349/attachment.bin>


More information about the llvm-commits mailing list