[PATCH] LoopVectorize: teach loop vectorizer to vectorize calls.

hfinkel at anl.gov hfinkel at anl.gov
Sun Mar 8 14:50:02 PDT 2015


================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:3250
@@ +3249,3 @@
+            VectorF =
+                Function::Create(FTy, Function::ExternalLinkage, VFnName, M);
+          }
----------------
Please make sure these functions have the right readonly/readnone attributes (we should take them from the function being vectorized I think). Maybe just copy all of the attributes?

http://reviews.llvm.org/D8095

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






More information about the llvm-commits mailing list