[libclc] libclc: do not use int64 in sincos helpers (PR #188056)

Romaric Jodin via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 26 06:11:26 PDT 2026


================
@@ -22,6 +22,18 @@
 #include "clc/relational/clc_isinf.h"
 #include "clc/relational/clc_isnan.h"
 
+#if defined(CLC_CLSPV)
----------------
rjodinchr wrote:

This is failing during clspv compilation of a kernel linking with a libclc builtins using that code.

clspv is not rejecting the type in libclc as int64 version of builtins are allowed/needed for devices supporting that data type.

https://github.com/llvm/llvm-project/pull/188056


More information about the cfe-commits mailing list