[PATCH] D102253: [LV] Prevent vectorization with unsupported element types.

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 08:11:32 PDT 2021


david-arm accepted this revision.
david-arm added a comment.

LGTM! Seems like outstanding review comments have been addressed. Thanks!



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:1520
+  /// vectorize with scalable vectors.
+  bool isLegalToVectorizeInstTypesForScalable(ElementCount VF) {
+    for (BasicBlock *BB : TheLoop->blocks())
----------------
nit: I think perhaps you can just remove the `VF` argument now?


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

https://reviews.llvm.org/D102253



More information about the llvm-commits mailing list