[llvm-dev] Vectorization of math function failed?

Venkataramanan Kumar via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 1 02:26:57 PDT 2020


Hi Alexandre,

On Tue, 1 Sep, 2020, 2:21 pm Alexandre Bique, <bique.alexandre at gmail.com>
wrote:

> On Tue, Sep 1, 2020 at 9:07 AM Venkataramanan Kumar
> <venkataramanan.kumar.llvm at gmail.com> wrote:
> >   Hi Alexandre,
>
> Hi Venkataramanan,
>
> > I am not sure if we can generate vector calls to GlibC libmvec.
> Is the support for libmvec on the roadmap? If not how to add it?
>

I also wanted to check with others here,  if we can add support for vector
routines in Glibc libmvec.

Libmvec may not be available in machines which uses lower versions of
glibc. We may have to take care of generating calls only when we detect
libmvec and also meet required ISA requirements.

Otherwise is it ok to generate vector calls under a flag?

Regards,
Venkat.



> > ./clang --autocomplete=-fveclib=
> This is amazing, thank you! I think it should be documented in clang
> auto vectorization documentation.
>
> Thank you very much,
> --
> Alexandre BIQUE
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200901/61beff47/attachment.html>


More information about the llvm-dev mailing list