[libclc] Use generic subnormal_config for spirv-vulkan (#217240) Since clspv properly handles denorm with https://github.com/google/clspv/pull/1616 we should rely on the generic implementation of subnormal_config. GitOrigin-RevId: d4c19355521fe0d7af54dd80c766fa00d1c6a278
diff --git a/clc/lib/spirv/CMakeLists.txt b/clc/lib/spirv/CMakeLists.txt index 11d3918..1a6340f 100644 --- a/clc/lib/spirv/CMakeLists.txt +++ b/clc/lib/spirv/CMakeLists.txt
@@ -8,5 +8,8 @@ math/clc_fmin.cl math/clc_runtime_has_hw_fma32.cl math/clc_sw_fma.cl - subnormal_config.cl ) + +if(NOT LIBCLC_TARGET_OS STREQUAL "vulkan") + libclc_add_sources(${LIBCLC_CLC_TARGET} FILES subnormal_config.cl) +endif()