[PATCH] D20789: Consecutive memory access in Loop Vectorizer - fixed and simplified

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 03:48:43 PDT 2016


delena updated this revision to Diff 60501.
delena added a comment.

I changed interface of getPtrStride(). Instead of one "Assume" parameter which means "additional run-time assumptions", I put 2 parameters - "Assume memory access versioning in run-time" and "Assume no-wrap in address calculation".
isConsecutivePtr() sets to "true" only the first assumption.
Now all tests work correctly.


Repository:
  rL LLVM

http://reviews.llvm.org/D20789

Files:
  ../include/llvm/Analysis/LoopAccessAnalysis.h
  ../lib/Analysis/LoopAccessAnalysis.cpp
  ../lib/Transforms/Vectorize/LoopVectorize.cpp
  ../test/Transforms/LoopVectorize/consec_no_gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20789.60501.patch
Type: text/x-patch
Size: 9481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160613/9c35fd72/attachment.bin>


More information about the llvm-commits mailing list