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

suyog suyog.sarda at samsung.com
Wed Nov 12 08:12:16 PST 2014


Hi aschwaighofer, nadav, jmolloy, rengolin, hfinkel,

This patch vectorizes a reduction chain feeding into a 'return' statement.

(The reduction chain though, with current code, has to be in specific form - for return/store/others. 
Improvements in it to follow in separate patches).

I do have one question - Should this be moved under a special 'flag' (same as horizontal store)?

Please help in reviewing the patch.

Regards,
Suyog

http://reviews.llvm.org/D6227

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/return.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6227.16094.patch
Type: text/x-patch
Size: 3668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141112/7bc1d6c1/attachment.bin>


More information about the llvm-commits mailing list