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

Michael Zolotukhin mzolotukhin at apple.com
Wed Jun 17 18:02:44 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: test/Transforms/LoopVectorize/pr23580.ll:2
@@ +1,3 @@
+; PR23580
+; RUN: opt < %s -loop-rotate -loop-vectorize -instcombine -S | FileCheck %s
+
----------------
Can we just run `-loop-rotate` manually on the test and use the output as the new test (we won't need to run `-loop-rotate` there)?
And why do we need `-instcombine`? Could we just check vectorizer's output?

http://reviews.llvm.org/D10281

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list