aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendOptions.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2022-04-22 09:37:08 +0200
committerJean Perier <jperier@nvidia.com>2022-04-22 09:37:49 +0200
commit6c81b4a01e4956d70dac1a5733c063014e4fbe38 (patch)
tree3f16edc3daae14d5cd6e7b735eb596d5cc7110ae /clang/lib/Frontend/FrontendOptions.cpp
parent9687ca970f77ccb6b56ec05a4ccaf3cc94ec1655 (diff)
downloadllvm-6c81b4a01e4956d70dac1a5733c063014e4fbe38.zip
llvm-6c81b4a01e4956d70dac1a5733c063014e4fbe38.tar.gz
llvm-6c81b4a01e4956d70dac1a5733c063014e4fbe38.tar.bz2
[flang] Fold transformational bessels when host runtime has bessels
Transformational bessel intrinsic functions require the same math runtime as elemental bessel intrinsics. Currently elemental bessels could be folded if f18 was linked with pgmath (cmake -DLIBPGMATH_DIR option). `j0`, `y0`, ... C libm functions were not used because they are not standard C functions: they are Posix extensions. This patch enable: - Using the Posix bessel host runtime functions when available. - folding the transformational bessel using the elemental version. Differential Revision: https://reviews.llvm.org/D124167
Diffstat (limited to 'clang/lib/Frontend/FrontendOptions.cpp')
0 files changed, 0 insertions, 0 deletions