Skip to content

Commit 381623e

Browse files
authored
[bazel] Port llvm#151228: BFloat16 (llvm#152377)
1 parent d1b6ce5 commit 381623e

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

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

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,7 @@ libc_support_library(
11091109
deps = [
11101110
":__support_cpp_bit",
11111111
":__support_cpp_type_traits",
1112+
":__support_fputil_basic_operations",
11121113
":__support_fputil_cast",
11131114
":__support_fputil_comparison_operations",
11141115
":__support_fputil_dyadic_float",
@@ -2205,7 +2206,6 @@ libc_support_library(
22052206
name = "__support_math_asin",
22062207
hdrs = ["src/__support/math/asin.h"],
22072208
deps = [
2208-
":__support_math_asin_utils",
22092209
":__support_fputil_double_double",
22102210
":__support_fputil_dyadic_float",
22112211
":__support_fputil_fenv_impl",
@@ -2215,38 +2215,39 @@ libc_support_library(
22152215
":__support_fputil_sqrt",
22162216
":__support_macros_optimization",
22172217
":__support_macros_properties_cpu_features",
2218+
":__support_math_asin_utils",
22182219
],
22192220
)
22202221

22212222
libc_support_library(
22222223
name = "__support_math_asinhf",
22232224
hdrs = ["src/__support/math/asinhf.h"],
22242225
deps = [
2225-
":__support_math_acoshf_utils",
22262226
":__support_fputil_fp_bits",
2227-
":__support_fputil_polyeval",
22282227
":__support_fputil_multiply_add",
2228+
":__support_fputil_polyeval",
22292229
":__support_fputil_sqrt",
22302230
":__support_macros_config",
22312231
":__support_macros_optimization",
2232+
":__support_math_acoshf_utils",
22322233
],
22332234
)
22342235

22352236
libc_support_library(
22362237
name = "__support_math_asinhf16",
22372238
hdrs = ["src/__support/math/asinhf16.h"],
22382239
deps = [
2239-
":__support_math_acoshf_utils",
2240-
":__support_fputil_fenv_impl",
2241-
":__support_fputil_fp_bits",
2242-
":__support_fputil_polyeval",
22432240
":__support_fputil_cast",
22442241
":__support_fputil_except_value_utils",
2242+
":__support_fputil_fenv_impl",
2243+
":__support_fputil_fp_bits",
22452244
":__support_fputil_multiply_add",
2245+
":__support_fputil_polyeval",
22462246
":__support_fputil_rounding_mode",
22472247
":__support_fputil_sqrt",
22482248
":__support_macros_config",
22492249
":__support_macros_optimization",
2250+
":__support_math_acoshf_utils",
22502251
],
22512252
)
22522253

@@ -2288,12 +2289,12 @@ libc_support_library(
22882289
name = "__support_math_atan2f",
22892290
hdrs = ["src/__support/math/atan2f.h"],
22902291
deps = [
2292+
":__support_fputil_double_double",
22912293
":__support_fputil_fenv_impl",
22922294
":__support_fputil_fp_bits",
2293-
":__support_fputil_polyeval",
2294-
":__support_fputil_double_double",
22952295
":__support_fputil_multiply_add",
22962296
":__support_fputil_nearest_integer",
2297+
":__support_fputil_polyeval",
22972298
":__support_macros_config",
22982299
":__support_macros_optimization",
22992300
":__support_math_inv_trigf_utils",
@@ -2304,13 +2305,13 @@ libc_support_library(
23042305
name = "__support_math_atan2f128",
23052306
hdrs = ["src/__support/math/atan2f128.h"],
23062307
deps = [
2307-
":__support_math_atan_utils",
2308-
":__support_fputil_fp_bits",
23092308
":__support_fputil_dyadic_float",
2309+
":__support_fputil_fp_bits",
23102310
":__support_fputil_nearest_integer",
23112311
":__support_integer_literals",
23122312
":__support_macros_config",
23132313
":__support_macros_optimization",
2314+
":__support_math_atan_utils",
23142315
":__support_uint128",
23152316
],
23162317
)
@@ -2337,8 +2338,8 @@ libc_support_library(
23372338
":__support_fputil_except_value_utils",
23382339
":__support_fputil_fenv_impl",
23392340
":__support_fputil_fp_bits",
2340-
":__support_fputil_polyeval",
23412341
":__support_fputil_multiply_add",
2342+
":__support_fputil_polyeval",
23422343
":__support_fputil_sqrt",
23432344
":__support_macros_optimization",
23442345
],
@@ -2348,15 +2349,15 @@ libc_support_library(
23482349
name = "__support_math_asinf",
23492350
hdrs = ["src/__support/math/asinf.h"],
23502351
deps = [
2351-
":__support_math_inv_trigf_utils",
2352+
":__support_fputil_except_value_utils",
23522353
":__support_fputil_fenv_impl",
23532354
":__support_fputil_fp_bits",
2354-
":__support_fputil_except_value_utils",
23552355
":__support_fputil_multiply_add",
23562356
":__support_fputil_sqrt",
23572357
":__support_macros_config",
23582358
":__support_macros_optimization",
23592359
":__support_macros_properties_cpu_features",
2360+
":__support_math_inv_trigf_utils",
23602361
],
23612362
)
23622363

@@ -2366,8 +2367,8 @@ libc_support_library(
23662367
deps = [
23672368
":__support_fputil_fenv_impl",
23682369
":__support_fputil_fp_bits",
2369-
":__support_fputil_polyeval",
23702370
":__support_fputil_multiply_add",
2371+
":__support_fputil_polyeval",
23712372
":__support_fputil_sqrt",
23722373
":__support_macros_optimization",
23732374
],
@@ -2377,24 +2378,24 @@ libc_support_library(
23772378
name = "__support_math_atanhf",
23782379
hdrs = ["src/__support/math/atanhf.h"],
23792380
deps = [
2380-
":__support_math_acoshf_utils",
23812381
":__support_fputil_fenv_impl",
23822382
":__support_fputil_fp_bits",
23832383
":__support_macros_config",
23842384
":__support_macros_optimization",
2385+
":__support_math_acoshf_utils",
23852386
],
23862387
)
23872388

23882389
libc_support_library(
23892390
name = "__support_math_atanhf16",
23902391
hdrs = ["src/__support/math/atanhf16.h"],
23912392
deps = [
2392-
":__support_fputil_fenv_impl",
2393-
":__support_fputil_fp_bits",
2394-
":__support_fputil_polyeval",
23952393
":__support_fputil_cast",
23962394
":__support_fputil_except_value_utils",
2395+
":__support_fputil_fenv_impl",
2396+
":__support_fputil_fp_bits",
23972397
":__support_fputil_multiply_add",
2398+
":__support_fputil_polyeval",
23982399
":__support_macros_config",
23992400
":__support_macros_optimization",
24002401
],
@@ -2405,9 +2406,9 @@ libc_support_library(
24052406
hdrs = ["src/__support/math/cbrt.h"],
24062407
deps = [
24072408
":__support_fputil_double_double",
2408-
":__support_fputil_polyeval",
2409-
":__support_fputil_fenv_impl",
24102409
":__support_fputil_dyadic_float",
2410+
":__support_fputil_fenv_impl",
2411+
":__support_fputil_polyeval",
24112412
":__support_integer_literals",
24122413
],
24132414
)
@@ -2995,21 +2996,21 @@ libc_math_function(
29952996
libc_math_function(
29962997
name = "atanf",
29972998
additional_deps = [
2998-
":__support_math_atanf"
2999+
":__support_math_atanf",
29993000
],
30003001
)
30013002

30023003
libc_math_function(
30033004
name = "atanf16",
30043005
additional_deps = [
3005-
":__support_math_atanf16"
3006+
":__support_math_atanf16",
30063007
],
30073008
)
30083009

30093010
libc_math_function(
30103011
name = "atan",
30113012
additional_deps = [
3012-
":__support_math_atan"
3013+
":__support_math_atan",
30133014
],
30143015
)
30153016

@@ -3030,7 +3031,7 @@ libc_math_function(
30303031
libc_math_function(
30313032
name = "atan2",
30323033
additional_deps = [
3033-
":__support_math_atan2",
3034+
":__support_math_atan2",
30343035
],
30353036
)
30363037

0 commit comments

Comments
 (0)