[libclc] [libclc] Refine __clc_fp*_subnormals_supported and __clc_flush_denormal_if_not_supported (PR #157633)
Mészáros Gergely via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 2 23:54:21 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=dynamic
----------------
Maetveis wrote:
```suggestion
-fdenormal-fp-math=dynamic
```
You can drop the `-Xclang` `-fdenormal-fp-math` is a driver option. (https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fdenormal-fp-math)
https://github.com/llvm/llvm-project/pull/157633
More information about the cfe-commits
mailing list