[flang-commits] [clang] [flang] [llvm] [C++23] [CLANG] Adding C++23 constexpr math functions: fmin, fmax and frexp. (PR #88978)

Zahira Ammarguellat via flang-commits flang-commits at lists.llvm.org
Mon Aug 5 06:47:52 PDT 2024


================
@@ -253,8 +253,10 @@ def FmodF16F128 : F16F128MathTemplate, Builtin {
 
 def FrexpF16F128 : F16F128MathTemplate, Builtin {
   let Spellings = ["__builtin_frexp"];
-  let Attributes = [FunctionWithBuiltinPrefix, NoThrow];
+  let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, ConstexprSince];
----------------
zahiraam wrote:

Done.

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


More information about the flang-commits mailing list