================ @@ -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 + ---------------- wenju-he wrote:
nit: drop this empty line https://github.com/llvm/llvm-project/pull/225351 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
