Hi All,
Added a patch to vectorize intrinsic math functions in SLPVectorizer.
If any intrinsic math function can be replaced with llvm intrinsic function we do so after doing the relevent check and vectorize the same if vectorization turns out to be benificial.
This is quite similar to how we handle math functions in LoopVectorizer.
Could you please let me know your inputs on this patch?
Thanks
Karthik Bhat