]> granicus.if.org Git - clang/commit
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)
commit443c999c967d555f6942834b0924c60226b3e6f2
tree145e76ba079d5cba15f46be54a67b10b9282cd83
parent34db84fdb092f89ea3678a0792074a5b9253829a
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169909 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/clang_f_opts.c