Skip to content

Commit c3dde3c

Browse files
authored
[bazel] Add tanpif rules after llvm#147192 (llvm#148909)
1 parent 63d099a commit c3dde3c

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4001,6 +4001,17 @@ libc_math_function(
40014001
],
40024002
)
40034003

4004+
libc_math_function(
4005+
name = "tanpif",
4006+
additional_deps = [
4007+
":sincosf_utils",
4008+
":hdr_fenv_macros",
4009+
":__support_macros_config",
4010+
":__support_macros_optimization",
4011+
":__support_fputil_multiply_add",
4012+
],
4013+
)
4014+
40044015
libc_math_function(
40054016
name = "tanpif16",
40064017
additional_deps = [

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,14 @@ math_mpfr_test(
530530
],
531531
)
532532

533+
math_mpfr_test(
534+
name = "tanpif",
535+
hdrs = ["sdcomp26094.h"],
536+
deps = [
537+
"//libc:__support_cpp_array",
538+
],
539+
)
540+
533541
math_mpfr_test(
534542
name = "sqrt",
535543
hdrs = ["SqrtTest.h"],

utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,6 +1518,8 @@ math_test(name = "tanf")
15181518

15191519
math_test(name = "tanhf")
15201520

1521+
math_test(name = "tanpif")
1522+
15211523
math_test(
15221524
name = "totalorder",
15231525
hdrs = ["TotalOrderTest.h"],

0 commit comments

Comments
 (0)