[PATCH] [SLPVectorization] Vectorize Reduction Chain feeding into a 'return' statement

Arnold Schwaighofer aschwaighofer at apple.com
Wed Nov 12 08:28:08 PST 2014


The code looks fine to me.

There could be a benefit in calling:

 SLPVectorizer::tryToVectorize(BinaryOperator *V, BoUpSLP &R) 

instead of directly calling tryToVectorizePair.

Did you run performance tests  (test-suite) on x86 or arm?

Thanks for working on this!

http://reviews.llvm.org/D6227






More information about the llvm-commits mailing list