Add -fslp-vectorize to enable bb-vectorize
authorHal Finkel <hfinkel@anl.gov>
Tue, 11 Dec 2012 19:59:32 +0000 (19:59 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 11 Dec 2012 19:59:32 +0000 (19:59 +0000)
commit061f1653e60586a424555bffa355bd258b91e082
tree13e031e215c4343d9dfec1242839213e177e6802
parentf762b72f355c4f64846afe4ffdaafbef66c85981
Add -fslp-vectorize to enable bb-vectorize

Add -fslp-vectorize (with -ftree-slp-vectorize as an alias for gcc compatibility)
to provide a way to enable the basic-block vectorization pass. This uses the same
acronym as gcc, superword-level parallelism (SLP), also common in the literature,
to refer to basic-block vectorization.

Nadav suggested this as a follow-up to the adding of -fvectorize.

llvm-svn: 169909
clang/include/clang/Driver/Options.td
clang/lib/Driver/Tools.cpp
clang/test/Driver/clang_f_opts.c