Skip to content

Commit 15d413a

Browse files
rupprechtmahesh-attarde
authored andcommitted
1 parent 7e35ec8 commit 15d413a

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,19 @@ libc_support_library(
10011001
],
10021002
)
10031003

1004+
libc_support_library(
1005+
name = "__support_fputil_comparison_operations",
1006+
hdrs = [
1007+
"src/__support/FPUtil/comparison_operations.h",
1008+
],
1009+
deps = [
1010+
":__support_cpp_type_traits",
1011+
":__support_fputil_fenv_impl",
1012+
":__support_fputil_fp_bits",
1013+
":__support_macros_config",
1014+
],
1015+
)
1016+
10041017
libc_support_library(
10051018
name = "__support_file_file",
10061019
srcs = [

utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,15 @@ libc_test(
5858
"//libc/utils/MPFRWrapper:mpfr_wrapper",
5959
],
6060
)
61+
62+
libc_test(
63+
name = "comparison_operations_test",
64+
srcs = ["comparison_operations_test.cpp"],
65+
deps = [
66+
"//libc:__support_fputil_bfloat16",
67+
"//libc:__support_fputil_comparison_operations",
68+
"//libc:__support_fputil_rounding_mode",
69+
"//libc:__support_macros_properties_types",
70+
"//libc/test/UnitTest:fp_test_helpers",
71+
],
72+
)

utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ libc_test_library(
4444
"//libc:__support_cpp_type_traits",
4545
"//libc:__support_fputil_bfloat16",
4646
"//libc:__support_fputil_cast",
47+
"//libc:__support_fputil_comparison_operations",
4748
"//libc:__support_fputil_fp_bits",
4849
"//libc:__support_macros_config",
4950
"//libc:__support_macros_properties_types",

0 commit comments

Comments
 (0)