[PATCH] D101260: [LoopVectorize][SVE] Remove assert for scalable vector in InnerLoopVectorizer::fixReduction

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 30 06:38:55 PDT 2021


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

LGTM! Thanks for making the changes. :)



================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/sve-reduction-inloop.ll:15
+; CHECK:         [[WIDE_LOAD:%.*]] = load <vscale x 8 x i8>, <vscale x 8 x i8>*
+; CHECK-NEXT:    [[TMP22:%.*]] = call i32 @llvm.vscale.i32()
+; CHECK-NEXT:    [[TMP23:%.*]] = mul i32 [[TMP22]], 8
----------------
nit: I think you can also just remove lines TMP22-24 as they're unused now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101260



More information about the llvm-commits mailing list