diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2023-04-18 00:35:28 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2023-04-18 18:37:30 +0000 |
commit | 447d59e071227897207a3cf76e43746e5ce0ab10 (patch) | |
tree | b3e928d3082d34c1e70ffeeca10876f29855a564 /utils | |
parent | 310ee08d5d45d9388333842a79bf4cef761afddf (diff) | |
download | llvm-447d59e071227897207a3cf76e43746e5ce0ab10.tar.gz |
[libc][NFC] Move RoundingModeUtils to LibcFPTestHelpers.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D148602
Diffstat (limited to 'utils')
5 files changed, 5 insertions, 28 deletions
diff --git a/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel index 60010e385303..319f60b34f62 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel @@ -43,7 +43,6 @@ cc_library( "//libc:__support_cpp_type_traits", "//libc:__support_uint128", "//libc:libc_root", - "//libc/utils/testutils:libc_test_utils", "//llvm:Support", ], ) @@ -52,10 +51,12 @@ cc_library( name = "fp_test_helpers", srcs = [ "FPExceptMatcher.cpp", + "RoundingModeUtils.cpp", ], hdrs = [ "FPExceptMatcher.h", "FPMatcher.h", + "RoundingModeUtils.h", ], deps = [ ":LibcUnitTest", @@ -67,7 +68,6 @@ cc_library( "//libc:__support_fputil_fenv_impl", "//libc:__support_fputil_fp_bits", "//libc:libc_root", - "//libc/utils/testutils:libc_test_utils", ], ) diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/stdio/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/stdio/BUILD.bazel index 4f49ec7e53cb..f64607942973 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/src/stdio/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/src/stdio/BUILD.bazel @@ -21,7 +21,6 @@ libc_test( "//libc:__support_cpp_string_view", "//libc:__support_cpp_bit", "//libc:__support_arg_list", - "//libc/utils/testutils:libc_test_utils", "//libc/test/UnitTest:printf_matcher", ], ) @@ -64,7 +63,7 @@ libc_test( deps = [ "//libc:__support_fputil_fp_bits", "//libc:__support_fputil_platform_defs", - "//libc/utils/testutils:libc_test_utils", + "//libc/test/UnitTest:fp_test_helpers", ], ) diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel index ca9887b8798f..49dd13959106 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel @@ -128,7 +128,7 @@ libc_test( ], deps = [ "//libc:__support_fputil_fp_bits", - "//libc/utils/testutils:libc_test_utils", + "//libc/test/UnitTest:fp_test_helpers", ], ) @@ -140,7 +140,7 @@ libc_test( ], deps = [ "//libc:__support_fputil_fp_bits", - "//libc/utils/testutils:libc_test_utils", + "//libc/test/UnitTest:fp_test_helpers", ], ) diff --git a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel index 12643456e6fc..893bb51aa034 100644 --- a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel @@ -47,6 +47,5 @@ cc_library( "//libc/test/UnitTest:LibcUnitTest", "//libc/test/UnitTest:fp_test_helpers", "//libc/utils/MPFRWrapper:mpfr_impl", - "//libc/utils/testutils:libc_test_utils", ], ) diff --git a/utils/bazel/llvm-project-overlay/libc/utils/testutils/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/utils/testutils/BUILD.bazel deleted file mode 100644 index 43191e1ffe6d..000000000000 --- a/utils/bazel/llvm-project-overlay/libc/utils/testutils/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -# This file is licensed under the Apache License v2.0 with LLVM Exceptions. -# See https://llvm.org/LICENSE.txt for license information. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - -package(default_visibility = ["//visibility:public"]) - -licenses(["notice"]) - -cc_library( - name = "libc_test_utils", - srcs = [ - "RoundingModeUtils.cpp", - ], - hdrs = [ - "RoundingModeUtils.h", - ], - deps = [ - "//libc:libc_root", - "//llvm:Support", - ], -) |