[PATCH] Move getIntrinsicIDForCall from LoopVectorize to VectorUtil

Karthik Bhat kv.bhat at samsung.com
Tue Apr 29 22:55:35 PDT 2014


Hi nadav, aschwaighofer, hfinkel, rsilvera,

Part 1/2 of [ Vectorize intrinsic math function calls in SLPVectorizer ]

Splitting patch in http://reviews.llvm.org/D3535

Move getIntrinsicIDForCall and supporting calls to VectorUtil. The same function can be used by SLPVectorizer to decide if a CallInst can be treated as Intrinsic or not.
No Functionality change.

Once we move the relevent functions to identify intrinsics into VectorUtil we will use the same in second part of patch were we vectorize math intrinsics in SLPVectorizer.

Thanks
Karthik Bhat

http://reviews.llvm.org/D3559

Files:
  include/llvm/Transforms/Utils/VectorUtils.h
  lib/Transforms/Vectorize/LoopVectorize.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3559.8953.patch
Type: text/x-patch
Size: 9417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140430/ac474e25/attachment.bin>


More information about the llvm-commits mailing list