[PATCH] D50778: [LV] Vectorize loops where non-phi instructions used outside loop
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 15 07:01:54 PDT 2018
anna created this revision.
anna added reviewers: Ayal, mkuper, fhahn.
Herald added a subscriber: javed.absar.
Follow up change to https://reviews.llvm.org/rL339703, where we now vectorize loops with non-phi
instructions used outside the loop. Note that the cyclic dependency
identification occurs when identifying reduction/induction vars.
We also need to identify that we do not allow users where the PSCEV information
within and outside the loop are different. This was the fix added in https://reviews.llvm.org/rL307837
for PR33706.
Repository:
rL LLVM
https://reviews.llvm.org/D50778
Files:
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
test/Transforms/LoopVectorize/no_outside_user.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50778.160802.patch
Type: text/x-patch
Size: 6122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180815/9bd2e42f/attachment.bin>
More information about the llvm-commits
mailing list