Enable the SLP-vectorizer by default

llvm-svn: 187596
This commit is contained in:
Nadav Rotem 2013-08-01 18:28:23 +00:00
parent 9153b3871d
commit f479b74a95
1 changed files with 2 additions and 2 deletions

View File

@ -3452,9 +3452,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
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.