[PATCH] D102437: [LV] NFCI: Move implementation of isScalarWithPredication to LoopVectorizationLegality

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 14 04:19:30 PDT 2021


sdesmalen updated this revision to Diff 345394.
sdesmalen marked 3 inline comments as done.
sdesmalen added a comment.

- Removed LoopVectorizationCostModel::isLegalMasked*
- Marked canVectorizeWithPredication as `const`.
- Rebased on rG459c48e04f25 <https://reviews.llvm.org/rG459c48e04f25a40a81e9e11ccb9c17a88dc39999> (which also removes VF from isPredicatedInst)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102437/new/

https://reviews.llvm.org/D102437

Files:
  llvm/include/llvm/IR/Instructions.h
  llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
  llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102437.345394.patch
Type: text/x-patch
Size: 11125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210514/fafb0782/attachment.bin>


More information about the llvm-commits mailing list