Hi,
I am changing the way the vectorizer looks for vector functions in https://reviews.llvm.org/D67572.
People involved in the vectorizer should take a look at it.
The idea is to replace the TargetLibraryInfo API with an API that is based on IR attributes attached to function calls.
Cheers,
Francesco