[clang] Clang: Support minimumnum and maximumnum intrinsics (PR #96281)
YunQiang Su via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 21 06:09:02 PDT 2024
================
@@ -3636,6 +3648,22 @@ def Fmin : FPMathTemplate, LibBuiltin<"math.h"> {
let OnlyBuiltinPrefixedAliasIsConstexpr = 1;
}
+def FmaximumNum : FPMathTemplate, LibBuiltin<"math.h"> {
----------------
wzssyqa wrote:
Oh, newer libc does have this function: https://www.gnu.org/software/libc/manual/html_node/Misc-FP-Arithmetic.html
https://github.com/llvm/llvm-project/pull/96281
More information about the cfe-commits
mailing list