Page MenuHomePhabricator

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

Authored by fhahn on Feb 18 2021, 2:23 PM.
This revision needs review, but there are no reviewers specified.

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