================
@@ -517,6 +536,7 @@ static bool interp__builtin_fmin(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.
----------------
hubert-reinterpretcast wrote:

I get the feeling that this comment has become out-of-sync with the code. The 
functions named by similar comments elsewhere appear to refer to the functions 
being called internally in the compiler.

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