[PATCH] D95363: [SVE][LoopVectorize] Add support for scalable vectorization of loops with vector reverse

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 9 03:10:43 PST 2021


david-arm accepted this revision.
david-arm added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: llvm/lib/IR/IRBuilder.cpp:996
+Value *IRBuilderBase::CreateVectorReverse(Value *V, const Twine &Name) {
+  auto Ty = cast<VectorType>(V->getType());
+  if (isa<ScalableVectorType>(Ty)) {
----------------
nit: I think in this case it's worth fixing the clang-tidy comment. It looks like the function above also uses "auto *..."


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95363



More information about the llvm-commits mailing list