This changeset adds the required Builtins for enabling AArch64 vectorization of libm trigonometry functions via SLEEF: http://sleef.org/.
- A new argument is added to -fveclib=<X>: SLEEF.
- A number of Builtins that were previously unimplemented are now enabled.
This changeset depends on https://reviews.llvm.org/D53927.
List of SLEEF vectorized trigonometry functions:
acos
asin
atan
atanh
cos
cosh
exp
exp2
exp10
lgamma
log10
log2
log
sin
sinh
sqrt
tan
tanh
tgamma
This is not really invalid value for the flag, it's invalid architecture for the value.
I think there's already a string for that somewhere in Clang.