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

Nikolas Klauser via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 21 01:34:13 PDT 2024


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

Why is this a libbuiltin? IIUC this is only supposed to be an intrinsic, never alibrary function.

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


More information about the cfe-commits mailing list