RFC: Interface user provided vector functions with the vectorizer.

+1.

Dear all,

I have updated the proposal with the changes that are required to be
able to generate the vector function signature in the front-end instead
of the back-end.

I have updated the example, showcasing the use of the
`llvm.compiler.used` intrinsics.

I have also mentioned that the `SVFS` should be wrapped in an analysis
pass. I haven't proposed a brand new pass because I suspect that there
is already one that could handle the information of the SVFS. Please
point me at such pass if it exists.

I have also CCed Sumedh, who is working on the implementation of the
SVFS described here.

Kind regards,

Francesco

*** DRAFT OF THE PROPOSAL ***

SCOPE OF THE RFC : Interface user provided vector functions with the vectorizer.

Dear all,

I have a WIP patch that require your attention, as I am in the process of replacing the TLI (TargetLibraryInfo) mappings with the IR attribute that we agreed to introduce here.

I’d appreciate if you could look at the patch at https://reviews.llvm.org/D67572

Thank you,

Francesco