[PATCH] D22869: [LV] Generate both scalar and vector integer induction variables
Matthew Simpson via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 13:34:02 PDT 2016
mssimpso updated this revision to Diff 66167.
mssimpso added a comment.
Addressed Adam's comments.
- Rebased.
- Used any_of in needsScalarInduction. I also simplified this a bit by removing the explicit check for the IV itself. At the very least, if the IV is scalar, it's update instruction will also be scalar.
https://reviews.llvm.org/D22869
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/X86/scatter_crash.ll
test/Transforms/LoopVectorize/induction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22869.66167.patch
Type: text/x-patch
Size: 25681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160729/3658d286/attachment.bin>
More information about the llvm-commits
mailing list