[PATCH] D31910: [LV] Avoid vectorizing first order recurrences when phi used outside loop

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 13:40:27 PDT 2017


anna updated this revision to Diff 94884.
anna marked 2 inline comments as done.
anna added a comment.

remove the check for IV having outside users. That is already handled (i.e. vectorized correctly) by the vectorizer.


https://reviews.llvm.org/D31910

Files:
  lib/Transforms/Utils/LoopUtils.cpp
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
  test/Transforms/LoopVectorize/first-order-recurrence.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31910.94884.patch
Type: text/x-patch
Size: 5408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/298c5ea8/attachment.bin>


More information about the llvm-commits mailing list