[SLP] Add -slp-min-reg-size command line option.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 10 Mar 2016 02:49:47 +0000 (02:49 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 10 Mar 2016 02:49:47 +0000 (02:49 +0000)
commitb88fbe08fc1179434096828bee025e08628c4349
tree4d92ecb777ee85bdd729f4f2bceb218afb1bcc2d
parent237e606a42eff667c71c0f274ddac7423ac81019
[SLP] Add -slp-min-reg-size command line option.

MinVecRegSize is currently hardcoded to 128; this patch adds a cl::opt
to allow changing it. I tried not to change any existing behavior for the default
case.

Differential revision: http://reviews.llvm.org/D13278

llvm-svn: 263089
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp