[PATCH] Add fveclib option and add several entries to table of vectorizable functions.

hfinkel at anl.gov hfinkel at anl.gov
Mon Mar 9 22:30:47 PDT 2015


This LGTM, but needs a regression test for the command-line handling before it can be committed (that we accept -fveclib=Accelerate and -fveclib=none, that the last one wins, and that we get an error on an unknown one). There are lots of potential examples, see test/Driver/code-model.c, test/Driver/visibility.cpp.


================
Comment at: include/clang/Driver/Options.td:761
@@ -759,1 +760,3 @@
+    HelpText<"Use the given vector functions library">;
+
 def fno_lax_vector_conversions : Flag<["-"], "fno-lax-vector-conversions">, Group<f_Group>,
----------------
Remove blank line.

http://reviews.llvm.org/D8097

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






More information about the cfe-commits mailing list