[PATCH] D22867: [LV] Untangle the concepts of uniform and scalar
Matthew Simpson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 13:19:47 PDT 2016
mssimpso updated the summary for this revision.
mssimpso updated this revision to Diff 65977.
mssimpso added a comment.
Addressed issues I alluded to in my previous comment.
This revision completely separates the decision to scalarize an induction variable from the logic in collectLoopUniforms and collectValuesToIgnore. The need to do this became apparent after better defining what we mean by uniform (see the added comment above the collectLoopUniforms declaration). Since scalar doesn't imply uniformity, it doesn't make sense to use collectLoopUniforms to determine which induction variables will be scalar.
https://reviews.llvm.org/D22867
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/induction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22867.65977.patch
Type: text/x-patch
Size: 17131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160728/f4d297ab/attachment-0001.bin>
More information about the llvm-commits
mailing list