[PATCH] D88154: Initial support for vectorization using Libmvec (GLIBC vector math library).
Alexandre Bique via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 08:24:30 PDT 2020
abique added a comment.
Looks good to me.
Regarding the tests, it seems that you check if auto-vectorization takes advantages of libmvec?
Would it be interesting to have a test which declares a vector and call the builtin sin on it?
Thank you very much for the changes! :)
================
Comment at: clang/include/clang/Driver/Options.td:1564
def fveclib : Joined<["-"], "fveclib=">, Group<f_Group>, Flags<[CC1Option]>,
- HelpText<"Use the given vector functions library">, Values<"Accelerate,MASSV,SVML,none">;
+ HelpText<"Use the given vector functions library">, Values<"Accelerate,LIBMVEC,MASSV,SVML,none">;
def fno_lax_vector_conversions : Flag<["-"], "fno-lax-vector-conversions">, Group<f_Group>,
----------------
I think glibc always refer to the library as "libmvec" in lower case, should we do so here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88154/new/
https://reviews.llvm.org/D88154
More information about the llvm-commits
mailing list