This is an archive of the discontinued LLVM Phabricator instance.

[LoopVectorizer] NFC: Propagate ElementCount to more interfaces.
ClosedPublic

Authored by sdesmalen on Nov 5 2020, 1:37 PM.

Details

Summary

Interfaces changed to take ElementCount as parameters:

  • LoopVectorizationPlanner::buildVPlans
  • LoopVectorizationPlanner::buildVPlansWithVPRecipes
  • LoopVectorizationCostModel::selectVectorizationFactor

This patch is NFC for fixed-width vectors.

Diff Detail