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

Zahira Ammarguellat via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 05:21:53 PDT 2024


zahiraam wrote:

> Also, if at all possible, I think we only want the extra field for "library builtins" and not all builtins.

Yes, I have tried limiting it to `LibBuiltin` but the addition of `FrexpF16F128` led me to add it `Builtin` too.

> Alternatively, we don't need tablegen changes if we leave the encoding of which language standard a builtin is constexpr since to a helper function.

Will look into this.

Thanks.



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


More information about the llvm-commits mailing list