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

Eric Christopher echristo at gmail.com
Wed Apr 23 16:57:56 PDT 2014

I think bswap can also be vectorized on some architectures?


On Wed, Apr 23, 2014 at 4:18 AM, Karthik Bhat <kv.bhat at samsung.com> wrote:
> 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
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

More information about the llvm-commits mailing list