[PATCH] Extend LoopVectorizationLegality::isConsecutivePtr to handle multiple level GEPs
Wei Mi
wmi at google.com
Wed Jun 17 23:59:49 PDT 2015
> can't we just use SCEV for checking it? It would be more general, than checking for all operands being 0 etc.
I try that and it seems works. The code looks simpler this way. I havn't done much test. llvm unit test is ok. I will do more testing for it.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10281
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/pr23580.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10281.27919.patch
Type: text/x-patch
Size: 4450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150618/e5081cd7/attachment.bin>
More information about the llvm-commits
mailing list