[PATCH] D90880: [LoopVectorizer] NFC: Return ElementCount from compute[Feasible]MaxVF

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


sdesmalen created this revision.
sdesmalen added reviewers: dmgreen, fhahn, Ayal, vkmr.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
sdesmalen requested review of this revision.

Interfaces changed to return `ElementCount`:

- LoopVectorizationCostModel::computeMaxVF
- LoopVectorizationCostModel::computeFeasibleMaxVF

This is NFC for fixed-width vectors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90880

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90880.303251.patch
Type: text/x-patch
Size: 4252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201105/a9dd074e/attachment.bin>


More information about the llvm-commits mailing list