aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Signposts.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2021-02-23 22:09:24 -0800
committerRyan Prichard <rprichard@google.com>2021-02-24 14:27:37 -0800
commit341889ee9e03e73b313263c516b3d1fd33d4c4ba (patch)
tree2e1dcecdb5f9849011ccd98ebad9f1cb0ad779a3 /llvm/lib/Support/Signposts.cpp
parenta921aaf789912d981cbb2036bdc91ad7289e1523 (diff)
downloadllvm-341889ee9e03e73b313263c516b3d1fd33d4c4ba.zip
llvm-341889ee9e03e73b313263c516b3d1fd33d4c4ba.tar.gz
llvm-341889ee9e03e73b313263c516b3d1fd33d4c4ba.tar.bz2
[builtins] Define fmax and scalbn inline
Define inline versions of __compiler_rt_fmax* and __compiler_rt_scalbn* rather than depend on the versions in libm. As with __compiler_rt_logbn*, these functions are only defined for single, double, and quad precision (binary128). Fixes PR32279 for targets using only these FP formats (e.g. Android on arm/arm64/x86/x86_64). For single and double precision, on AArch64, use __builtin_fmax[f] instead of the new inline function, because the builtin expands to the AArch64 fmaxnm instruction. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D91841
Diffstat (limited to 'llvm/lib/Support/Signposts.cpp')
0 files changed, 0 insertions, 0 deletions