[libclc] [libclc] Refine __clc_fp*_subnormals_supported and __clc_flush_denormal_if_not_supported (PR #157633)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 23:03:33 PDT 2025


================
@@ -430,6 +412,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
       # Error on undefined macros
       -Werror=undef
       -fdiscard-value-names
+      -Xclang -fdenormal-fp-math-f32=dynamic
----------------
wenju-he wrote:

> Why only `-fdenormal-fp-math-f32` and not the general `-fdenormal-fp-math`? `-fdenormal-fp-math-f32` seems to be mostly intended to be used in the driver for toolchains.

done, thanks @Maetveis 

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


More information about the cfe-commits mailing list