Skip to content

Commit 7189d82

Browse files
authored
[libspirv] Delete clc_* files in generic math and re-use clc (#19165)
llvm-diff shows a lot of changes, including * __nv_ldexp and __nvvm_reflect_ocl calls are newly added __spirv_ocl_remquo/tanpi in libspirv-nvptx64--nvidiacl.bc. * __ocml_ldexp_f64 is replaced with llvm.ldexp.f64.i32 in __spirv_ocl_remquo in libspirv-amdgcn--amdhsa.bc. The changes look reasonable since some functions are replaced with clc implementations.
1 parent 23969c6 commit 7189d82

19 files changed

+32
-1768
lines changed

libclc/libspirv/lib/generic/SOURCES

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,6 @@ math/atanh.cl
6565
math/atanpi.cl
6666
math/cbrt.cl
6767
math/ceil.cl
68-
math/clc_exp10.cl
69-
math/clc_fmod.cl
70-
math/clc_remainder.cl
71-
math/clc_remquo.cl
72-
math/clc_rootn.cl
73-
math/clc_tan.cl
74-
math/clc_tanpi.cl
7568
math/copysign.cl
7669
math/cos.cl
7770
math/cosh.cl
@@ -82,7 +75,6 @@ math/erfc.cl
8275
math/exp.cl
8376
math/exp10.cl
8477
math/exp2.cl
85-
math/exp_helper.cl
8678
math/expm1.cl
8779
math/fabs.cl
8880
math/fdim.cl

libclc/libspirv/lib/generic/math/clc_exp10.cl

Lines changed: 0 additions & 165 deletions
This file was deleted.

libclc/libspirv/lib/generic/math/clc_fmod.cl

Lines changed: 0 additions & 176 deletions
This file was deleted.

0 commit comments

Comments
 (0)