[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:21:04 PDT 2017


anna updated this revision to Diff 94883.
anna added a comment.

Change AArch64 test case that already showcases a failing test case.
We should not be vectorizing the loop in this test case.


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.94883.patch
Type: text/x-patch
Size: 5728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/eb6d3ac5/attachment.bin>


More information about the llvm-commits mailing list