This is an archive of the discontinued LLVM Phabricator instance.

[LV] Compute max scalable & fixed VFs up front, then apply them. (WIP)
AbandonedPublic

Authored by fhahn on Feb 18 2021, 2:23 PM.

Details

Reviewers
None
Summary

This patch updates computeFeasibleMaxVF to operate in 3 stages:

  1. Compute the maximum fixed and scalable vectorization factors by optimistically assuming the largest possible VFs and then gradually constrainting them based on legality restrictions.
  2. Check if UserVF can be used, given the matching MaxVF
  3. Pick feasible VF, clamp it to matching MaxVF (Currently FixedMaxVF).

Diff Detail

Event Timeline

fhahn created this revision.Feb 18 2021, 2:23 PM
fhahn requested review of this revision.Feb 18 2021, 2:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 18 2021, 2:23 PM
fhahn updated this revision to Diff 328307.Mar 4 2021, 2:16 PM

Rebase & some improvements

fhahn abandoned this revision.Apr 27 2021, 4:17 AM

subsumed by D98509