[PATCH] D106656: [LV] Remove assert that VF cannot be scalable in setCostBasedWideningDecision.

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 23 07:47:09 PDT 2021


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

LGTM!



================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll:132
+; CHECK-DAG:  %[[STEP:.*]] = call <vscale x 4 x i64> @llvm.experimental.stepvector.nxv4i64()
+; CHECK-DAG:  %[[IDXSPLATINS:.*]] = insertelement <vscale x 4 x i64> poison, i64 %index, i32 0
+; CHECK-DAG:  %[[IDXSPLAT:.*]] = shufflevector <vscale x 4 x i64> %[[IDXSPLATINS]], <vscale x 4 x i64> poison, <vscale x 4 x i32> zeroinitializer
----------------
nit: Can you use `%[[IDX]]` here instead of `%index`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106656



More information about the llvm-commits mailing list