forked from OSchip/llvm-project
parent
9153b3871d
commit
f479b74a95
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue