[PATCH] LoopVectorize: teach loop vectorizer to vectorize calls.
hfinkel at anl.gov
hfinkel at anl.gov
Thu Mar 5 20:47:36 PST 2015
================
Comment at: lib/Analysis/LoopAccessAnalysis.cpp:967
@@ +966,3 @@
+ if (Call && Call->getCalledFunction() &&
+ TLI->isFunctionVectorizable(Call->getCalledFunction()->getName()))
+ continue;
----------------
You also need to check for !Call->isNoBuiltin() when not an intrinsic.
http://reviews.llvm.org/D8095
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list