[PATCH] Allow vectorization of few missed llvm intrinsic calls in BBVectorizor

Karthik Bhat kv.bhat at samsung.com
Wed Apr 23 04:18:21 PDT 2014


Hi hfinkel,

Hi Hal,
I'm currently going through and trying to understand BB Vectorizer while doing so i found that few llvm intrinsic function calls which can be vectorized are missed in the switch case of isVectorizableIntrinsic as a result these intrinsic functions are not getting vectorized. This patch modifies isVectorizableIntrinsic function and covers these intrinsic functions in the switch case so that they get vectorized.
Does this patch look good to commit?
Thanks
Karthik Bhat

http://reviews.llvm.org/D3468

Files:
  lib/Transforms/Vectorize/BBVectorize.cpp
  test/Transforms/BBVectorize/simple-int.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3468.8770.patch
Type: text/x-patch
Size: 11182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140423/3d76ea9a/attachment.bin>


More information about the llvm-commits mailing list