[PATCH] D118053: [libc] Add bazel definition for hypot/hypotf.

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 24 09:45:22 PST 2022


rupprecht created this revision.
rupprecht added reviewers: gchatelet, sivachandra, michaelrj.
Herald added subscribers: ecnelises, tschuett.
rupprecht requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Patch by Clint Caywood.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118053

Files:
  utils/bazel/llvm-project-overlay/libc/BUILD.bazel


Index: utils/bazel/llvm-project-overlay/libc/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -75,6 +75,7 @@
     "src/__support/FPUtil/FEnvUtils.h",
     "src/__support/FPUtil/FPBits.h",
     "src/__support/FPUtil/FloatProperties.h",
+    "src/__support/FPUtil/Hypot.h",
     "src/__support/FPUtil/ManipulationFunctions.h",
     "src/__support/FPUtil/NearestIntegerOperations.h",
     "src/__support/FPUtil/NormalFloat.h",
@@ -371,6 +372,10 @@
 
 libc_math_function(name = "frexpl")
 
+libc_math_function(name = "hypot")
+
+libc_math_function(name = "hypotf")
+
 libc_math_function(name = "logb")
 
 libc_math_function(name = "logbf")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118053.402573.patch
Type: text/x-patch
Size: 778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220124/653c848a/attachment.bin>


More information about the llvm-commits mailing list