summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/TextAPIError.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2023-07-09 16:18:50 -0400
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2023-07-25 12:01:41 -0400
commite17882430e5c243c7244dadcd0a6b5cce2219386 (patch)
treea524949b24d2c5e0050472cc50a98e3d41c602ce /llvm/lib/TextAPI/TextAPIError.cpp
parent12832c1773f520563601c85bd1163fc3e734d3e6 (diff)
[CUDA][HIP] Rename and fix `-fcuda-approx-transcendentals`
Rename -fcuda-approx-transcendentals as -fgpu-approx-transcendentals and pass it to both device and host clang -cc1. Fix its interaction with -ffast-math to allow -fno-gpu-approx-transcendentals to override the implicit -fcuda-approx-transcendentals due to -ffast-math. Rename the predefined macro to be __CLANG_GPU_APPROX_TRANSCENDENTALS__. Emit the macro for both device and host compilation. Reviewed by: Artem Belevich, Fangrui Song Differential Revision: https://reviews.llvm.org/D154797
Diffstat (limited to 'llvm/lib/TextAPI/TextAPIError.cpp')
0 files changed, 0 insertions, 0 deletions