[libc-commits] [libc] [llvm] [libc][math] Refactor f16sqrtl to Header Only. (PR #176333)

Cheng Lingfei via libc-commits libc-commits at lists.llvm.org
Mon Jan 19 17:12:01 PST 2026


================
@@ -1139,6 +1139,16 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_math_f16sqrtl",
+    hdrs = ["src/__support/math/f16sqrtl.h"],
+    deps = [
+        ":__support_common",
+        ":__support_fputil_sqrt",
+        ":__support_macros_config",
+    ],
+)
+
----------------
clingfei wrote:

Sorry, I am not sure what the guard dependency means.
Do you refer to `__support_fputil_sqrt`?
In the latest commit, I moved this code after the definition of `__support_fputil_sqrt`.

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


More information about the libc-commits mailing list