================
@@ -531,6 +551,7 @@ static bool interp__builtin_fmax(InterpState &S, CodePtr 
OpPC,
   const Floating &LHS = S.Stk.pop<Floating>();
   Floating Result = S.allocFloat(LHS.getSemantics());
 
+  // fmin and fmax handle special values (NaN, INF) per IEEE 754.
----------------
Serosh-commits wrote:

> Same comment.

ditto

https://github.com/llvm/llvm-project/pull/194327
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to