[Clang] Add more fp128 math library function builtins
authorQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 4 Nov 2020 09:57:14 +0000 (17:57 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 4 Nov 2020 09:58:42 +0000 (17:58 +0800)
commit7faf62a80bfc3a9dfe34133681fcc31f8e8d658b
tree95e101cc49a8009056d4902b21e5d6e79ca2bccf
parentaf658d920e2b677117d52fdb83a871f2ca5a98a0
[Clang] Add more fp128 math library function builtins

Since glibc has supported math library functions conforming IEEE 128-bit
floating point types on some platform (like ppc64le), we can fix clang's
math builtins missing this type.

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D90593
clang/include/clang/Basic/Builtins.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/constrained-math-builtins.c
clang/test/CodeGen/math-builtins.c