r187596 - Enable the SLP-vectorizer by default

Nadav Rotem nrotem at apple.com
Thu Aug 1 11:28:23 PDT 2013


Author: nadav
Date: Thu Aug  1 13:28:23 2013
New Revision: 187596

URL: http://llvm.org/viewvc/llvm-project?rev=187596&view=rev
Log:
Enable the SLP-vectorizer by default

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=187596&r1=187595&r2=187596&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Aug  1 13:28:23 2013
@@ -3452,9 +3452,9 @@ void Clang::ConstructJob(Compilation &C,
                    options::OPT_fno_vectorize, true))
     CmdArgs.push_back("-vectorize-loops");
 
-  // -fno-slp-vectorize is default.
+  // -fslp-vectorize is default.
   if (Args.hasFlag(options::OPT_fslp_vectorize,
-                   options::OPT_fno_slp_vectorize, false))
+                   options::OPT_fno_slp_vectorize, true))
     CmdArgs.push_back("-vectorize-slp");
 
   // -fno-slp-vectorize-aggressive is default.





More information about the cfe-commits mailing list