================
@@ -27,6 +27,7 @@ _CLC_DEFINE_ISFPCLASS(int, long, __clc_isnan, fcNan, double)
 
 // The scalar version of __clc_isnan(half) returns an int, but the vector
 // versions return a short.
-_CLC_DEFINE_ISFPCLASS(int, short, __clc_isnan, fcNan, half)
+_CLC_DEFINE_RELATIONAL_UNARY(int, short, __clc_isnan, (x != x), half)
 
 #endif
+
----------------
Lurie97 wrote:

Thanks @wenju-he,
I've removed the unnecessary blank lines. Please let me know if there's 
anything else that should be changed.

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

Reply via email to