[PATCH] Extend LoopVectorizationLegality::isConsecutivePtr to handle multiple level GEPs

Wei Mi wmi at google.com
Wed Jun 17 17:01:57 PDT 2015


I made a fix to use dyn_cast_or_null and simplified the test. PTAL.


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.27898.patch
Type: text/x-patch
Size: 6007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150618/e4b042a8/attachment.bin>


More information about the llvm-commits mailing list