[PATCH] D81267: [LV] Enable the LoopVectorizer to create pointer inductions

Anna Welker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 05:49:01 PDT 2020


anwel updated this revision to Diff 276391.
anwel added a comment.

Hi, there was a bug concerning the location at which the new getelementptr instruction would be generated, thanks for catching this.
I have fixed the bug and derived a LoopVectorize test case from your C example.


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

https://reviews.llvm.org/D81267

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/ARM/pointer_iv.ll
  llvm/test/Transforms/LoopVectorize/pointer-induction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81267.276391.patch
Type: text/x-patch
Size: 54809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200708/f3791bc0/attachment.bin>


More information about the llvm-commits mailing list