Skip to content

Commit 57e2877

Browse files
authored
[libspirv] Route SPIR-V pow* builtins through CLC (#18963)
These should have the potential to be more optimal for most targets, as they emit vectorised codegen. These were the last functions that tripped the bitwise conditional parenthesis warning in libspirv, so that has been re-enabled.
1 parent ae0e85c commit 57e2877

File tree

8 files changed

+12
-1258
lines changed

8 files changed

+12
-1258
lines changed

libclc/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,6 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
575575
list( APPEND spirv_build_flags
576576
-I${CMAKE_CURRENT_SOURCE_DIR}/opencl/include
577577
-I${CMAKE_CURRENT_SOURCE_DIR}/libspirv/include/
578-
# FIXME: Fix libspirv to not require disabling this noisy warning
579-
-Wno-bitwise-conditional-parentheses
580578
)
581579

582580
add_libclc_builtin_set(

libclc/libspirv/lib/generic/SOURCES

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ math/cbrt.cl
6767
math/ceil.cl
6868
math/clc_exp10.cl
6969
math/clc_fmod.cl
70-
math/clc_pow.cl
71-
math/clc_pown.cl
72-
math/clc_powr.cl
7370
math/clc_remainder.cl
7471
math/clc_remquo.cl
7572
math/clc_rootn.cl

0 commit comments

Comments
 (0)