[PATCH] TLI: Add interface for querying whether a function is vectorizable.

hfinkel at anl.gov hfinkel at anl.gov
Thu Mar 5 20:36:20 PST 2015


================
Comment at: lib/Analysis/TargetLibraryInfo.cpp:758
@@ -753,1 +757,3 @@
 
+static bool compareByScalarFnName(const VecDesc &LHS, const VecDesc &RHS) {
+  return std::strncmp(LHS.ScalarFnName, RHS.ScalarFnName,
----------------
It looks like all of these comparison functions are only used once. Please make them lambdas at their current call sites.

http://reviews.llvm.org/D8093

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






More information about the llvm-commits mailing list