https://github.com/wenju-he created https://github.com/llvm/llvm-project/pull/183260
It becomes redundant since 2a48aab50254 which enabled -ffp-contract=fast-honor-pragmas globally. >From b94ca1b6b9e32e034da183b14d7db19d3e902bd6 Mon Sep 17 00:00:00 2001 From: Wenju He <[email protected]> Date: Sat, 21 Feb 2026 04:35:51 +0100 Subject: [PATCH] [libclc][NFC] Drop '#pragma clang fp contract(fast)' in clc_rsqrt It becomes redundant since 2a48aab50254 which enabled -ffp-contract=fast-honor-pragmas globally. --- libclc/clc/lib/generic/math/clc_rsqrt.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/libclc/clc/lib/generic/math/clc_rsqrt.inc b/libclc/clc/lib/generic/math/clc_rsqrt.inc index 07aad16f91916..485916d1921be 100644 --- a/libclc/clc/lib/generic/math/clc_rsqrt.inc +++ b/libclc/clc/lib/generic/math/clc_rsqrt.inc @@ -7,6 +7,5 @@ //===----------------------------------------------------------------------===// _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __clc_rsqrt(__CLC_GENTYPE val) { -#pragma clang fp contract(fast) return __CLC_FP_LIT(1.0) / __builtin_elementwise_sqrt(val); } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
