[PATCH] D53559: [LV] Don't have fold-tail under optsize invalidate interleave-groups when masked-interleaving is enabled

Dorit Nuzman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 01:43:39 PDT 2018


dorit created this revision.
dorit added reviewers: Ayal, hsaito, dcaballe, fhahn.
Herald added a subscriber: rkruppe.

This is essentially a merge of https://reviews.llvm.org/D53011 and https://reviews.llvm.org/D50480

Both deal with Opt for size scenario;
https://reviews.llvm.org/D50480 added support for vectorizing loops of arbitrary trip-count without a reminder, which in turn makes everything in the loop conditional, including interleave-groups if any. It therefore invalidated all interleave-groups because we didn't have support for vectorizing predicated interleaved-groups at the time.
In the meantime, https://reviews.llvm.org/D53011 introduced this support, so we don't have to invalidate interleave-groups when masked-interleaved support is enabled.


https://reviews.llvm.org/D53559

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53559.170583.patch
Type: text/x-patch
Size: 23499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181023/3a4488e6/attachment.bin>


More information about the llvm-commits mailing list