[libc] [llvm] [libc][math] Refactor exp implementation to header-only in src/__support/math folder. (PR #148761)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 07:52:18 PDT 2025


================
@@ -47,7 +47,7 @@ struct ExpRangeReduction {
   float exp_lo;
 };
 
-static constexpr ExpRangeReduction exp_range_reduction(float16 x) {
+[[gnu::unused]] static ExpRangeReduction exp_range_reduction(float16 x) {
----------------
lntue wrote:

use `[[maybe_unused]]`

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


More information about the llvm-commits mailing list