diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel index 4ab0126291276..fe843d3207ceb 100644 --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -4001,6 +4001,17 @@ libc_math_function( ], ) +libc_math_function( + name = "tanpif", + additional_deps = [ + ":sincosf_utils", + ":hdr_fenv_macros", + ":__support_macros_config", + ":__support_macros_optimization", + ":__support_fputil_multiply_add", + ], +) + libc_math_function( name = "tanpif16", additional_deps = [ 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 23cead18de4c1..d20922df1b8b5 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 @@ -530,6 +530,14 @@ math_mpfr_test( ], ) +math_mpfr_test( + name = "tanpif", + hdrs = ["sdcomp26094.h"], + deps = [ + "//libc:__support_cpp_array", + ], +) + math_mpfr_test( name = "sqrt", hdrs = ["SqrtTest.h"], diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel index cf25376878347..4df1c4508d764 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel @@ -1518,6 +1518,8 @@ math_test(name = "tanf") math_test(name = "tanhf") +math_test(name = "tanpif") + math_test( name = "totalorder", hdrs = ["TotalOrderTest.h"],