https://github.com/rjodinchr created https://github.com/llvm/llvm-project/pull/217240
Since clspv properly handles denorm with https://github.com/google/clspv/pull/1616 we should rely on the generic implementation of subnormal_config. >From c4774f42cbd4e027087d4926305f5235c771d3d5 Mon Sep 17 00:00:00 2001 From: Romaric Jodin <[email protected]> Date: Wed, 19 Aug 2026 11:08:11 +0200 Subject: [PATCH] [libclc] Use generic subnormal_config for spirv-vulkan Since clspv properly handles denorm with https://github.com/google/clspv/pull/1616 we should rely on the generic implementation of subnormal_config. --- libclc/clc/lib/spirv/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libclc/clc/lib/spirv/CMakeLists.txt b/libclc/clc/lib/spirv/CMakeLists.txt index 11d39189891ce..1a6340f93a0fe 100644 --- a/libclc/clc/lib/spirv/CMakeLists.txt +++ b/libclc/clc/lib/spirv/CMakeLists.txt @@ -8,5 +8,8 @@ libclc_add_sources(${LIBCLC_CLC_TARGET} FILES 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() _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
