This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by dorit on Oct 23 2018, 1:43 AM.

Details

Summary

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

Both deal with Opt for size scenario;
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, D53011 introduced this support, so we don't have to invalidate interleave-groups when masked-interleaved support is enabled.

Diff Detail

Repository
rL LLVM

Event Timeline

dorit created this revision.Oct 23 2018, 1:43 AM
hsaito accepted this revision.Oct 23 2018, 12:23 PM

LGTM. "Final cleanup" rather than "merge".

This revision is now accepted and ready to land.Oct 23 2018, 12:23 PM
This revision was automatically updated to reflect the committed changes.