================
@@ -14,5 +14,9 @@ _CLC_DEF bool __clc_fp16_subnormals_supported() { return
false; }
_CLC_DEF bool __clc_fp32_subnormals_supported() { return false; }
_CLC_DEF bool __clc_fp64_subnormals_supported() {
- return !__clc_subnormals_disabled();
+#if defined(__SPIRV__) || defined(__SPIR32__)
----------------
wenju-he wrote:
```suggestion
#if defined(CLC_SPIRV) || defined(CLC_CLSPV)
```
https://github.com/llvm/llvm-project/pull/182125
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits