[clang] Clang: Support minimumnum and maximumnum intrinsics (PR #96281)

YunQiang Su via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 26 07:01:21 PDT 2024


================
@@ -3636,6 +3648,22 @@ def Fmin : FPMathTemplate, LibBuiltin<"math.h"> {
   let OnlyBuiltinPrefixedAliasIsConstexpr = 1;
 }
 
+def FmaximumNum : FPMathTemplate, LibBuiltin<"math.h"> {
----------------
wzssyqa wrote:

Yes. They are in C23: https://libc.llvm.org/c23.html

https://github.com/llvm/llvm-project/pull/96281


More information about the cfe-commits mailing list