[llvm] [libc][bazel] Update bazel overlay for ceilf128 emulated float128 changes (PR #216515)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 15 15:10:08 PDT 2026
https://github.com/DeanSturtevant1 created https://github.com/llvm/llvm-project/pull/216515
This updates the Bazel overlay following commit e5174fe683e882f6bbd2ef023c9c9e293b273a98:
- Remove `:llvm_libc_types_float128` from `__support_math_ceilf128` deps as `include/llvm-libc-types/float128.h` is no longer included.
- Add `:__support_cpp_bit` to `ceilf128` additional_deps for `bit_cast`.
- Add `ceilf128` math MPFR test target in `libc/test/src/math/BUILD.bazel`.
>From 1a09270935bb667e14325218c1d5820d94ae3565 Mon Sep 17 00:00:00 2001
From: Dean Sturtevant <dsturtevant at google.com>
Date: Sat, 15 Aug 2026 18:03:35 -0400
Subject: [PATCH] [libc][bazel] Update bazel overlay for ceilf128 emulated
float128 changes
This updates the Bazel overlay following commit e5174fe683e882f6bbd2ef023c9c9e293b273a98:
- Remove `:llvm_libc_types_float128` from `__support_math_ceilf128` deps as `include/llvm-libc-types/float128.h` is no longer included.
- Add `:__support_cpp_bit` to `ceilf128` additional_deps for `bit_cast`.
- Add `ceilf128` math MPFR test target in `libc/test/src/math/BUILD.bazel`.
TAG=agy
CONV=5c2e315a-19b2-48ec-9cf9-98bfadbae600
---
utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 2 +-
.../llvm-project-overlay/libc/test/src/math/BUILD.bazel | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index e3db15f34be0a..4de5c04a6510d 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -5295,7 +5295,6 @@ libc_support_library(
":__support_fputil_float128",
":__support_fputil_nearest_integer_operations",
":__support_macros_config",
- ":llvm_libc_types_float128",
],
)
@@ -11062,6 +11061,7 @@ libc_math_function(
libc_math_function(
name = "ceilf128",
additional_deps = [
+ ":__support_cpp_bit",
":__support_math_ceilf128",
],
)
diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
index 9b5fa61303f10..5d27043f47103 100644
--- a/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
@@ -54,6 +54,11 @@ math_mpfr_test(
hdrs = ["CeilTest.h"],
)
+math_mpfr_test(
+ name = "ceilf128",
+ hdrs = ["CeilTest.h"],
+)
+
math_mpfr_test(name = "cos")
math_mpfr_test(
More information about the llvm-commits
mailing list