[PATCH] D95350: [SVE][LoopVectorize] Add gather/scatter support for SVE

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 07:49:43 PST 2021


fhahn added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll:12
+entry:
+  %cmp10 = icmp sgt i64 %n, 0
+  br i1 %cmp10, label %for.body.preheader, label %for.cond.cleanup
----------------
david-arm wrote:
> fhahn wrote:
> > This shouldn't be necessary, LV will generate a minimum iteration check anyways.
> Sure, I simply adapted these tests by dumping out the module before the vectoriser, i.e. I didn't hand craft the tests. :) I can remove them no problem.
Thanks. This will make the life of anyone who has to adjust the tests in the future easier.


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

https://reviews.llvm.org/D95350



More information about the llvm-commits mailing list