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

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



This is essentially a merge of and

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


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.