Fraser Cormack b231647475
[libclc] Move relational functions to the CLC library (#115171)
The OpenCL relational functions now call their CLC counterparts, and the
CLC relational functions are defined identically to how the OpenCL
functions were defined.

As usual, clspv and spir-v targets bypass these.

No observable changes to any libclc target (measured with llvm-diff).
2024-11-06 19:28:44 +00:00

8 lines
162 B
Common Lisp

#include <clc/clc.h>
#include <clc/relational/clc_isnormal.h>
#define FUNCTION isnormal
#define __CLC_BODY "unary_def.inc"
#include <clc/relational/floatn.inc>