[clang] Clang: Support minimumnum and maximumnum intrinsics (PR #96281)
YunQiang Su via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 11 17:17:10 PDT 2024
================
@@ -15314,6 +15314,32 @@ bool FloatExprEvaluator::VisitCallExpr(const CallExpr *E) {
Result = RHS;
----------------
wzssyqa wrote:
I guess it was due to that the `APFloat::minnum` claims that it fellow `IEEE-754 2019 minimumNumber semantics`.
and `fmin` needs to follow the libc's behavior.
We need to fix them.
https://github.com/llvm/llvm-project/pull/96281
More information about the cfe-commits
mailing list