[PATCH] D90879: [LoopVectorizer] NFC: Propagate ElementCount to more interfaces.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 13:37:37 PST 2020


sdesmalen created this revision.
sdesmalen added reviewers: dmgreen, fhahn, Ayal, vkmr.
Herald added subscribers: bmahjour, rogfer01, bollu, hiraditya.
Herald added a reviewer: rengolin.
Herald added a project: LLVM.
sdesmalen requested review of this revision.

Interfaces changed to take `ElementCount` as parameters:

- LoopVectorizationPlanner::buildVPlans
- LoopVectorizationPlanner::buildVPlansWithVPRecipes
- LoopVectorizationCostModel::selectVectorizationFactor

This patch is NFC for fixed-width vectors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90879

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90879.303250.patch
Type: text/x-patch
Size: 6912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201105/979b7e38/attachment.bin>


More information about the llvm-commits mailing list