File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
utils/bazel/llvm-project-overlay/libc Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SHARED_MATH_FREXPF128_H
1111
1212#include " include/llvm-libc-types/float128.h"
13+
14+ #ifdef LIBC_TYPES_HAS_FLOAT128
15+
1316#include " shared/libc_common.h"
1417#include " src/__support/macros/properties/complex_types.h"
1518
16- #ifndef LIBC_TYPES_HAS_FLOAT128
17- #error unsupported
18- #endif
19-
2019namespace LIBC_NAMESPACE_DECL {
2120namespace shared {
2221
Original file line number Diff line number Diff line change 1111
1212#include " include/llvm-libc-types/float128.h"
1313
14- #ifndef LIBC_TYPES_HAS_FLOAT128
15- #error unsupported
16- #else
14+ #ifdef LIBC_TYPES_HAS_FLOAT128
1715
1816#include " src/__support/FPUtil/ManipulationFunctions.h"
1917#include " src/__support/common.h"
Original file line number Diff line number Diff line change @@ -2756,7 +2756,6 @@ libc_math_function(
27562756 name = "expf" ,
27572757 additional_deps = [
27582758 ":__support_math_expf" ,
2759- ":__support_math_frexpf128" ,
27602759 ":errno" ,
27612760 ],
27622761)
@@ -3210,7 +3209,12 @@ libc_math_function(name = "frexpf")
32103209
32113210libc_math_function (name = "frexpl" )
32123211
3213- libc_math_function (name = "frexpf128" )
3212+ libc_math_function (
3213+ name = "frexpf128" ,
3214+ additional_deps = [
3215+ ":__support_math_frexpf128" ,
3216+ ]
3217+ )
32143218
32153219libc_math_function (name = "frexpf16" )
32163220
You can’t perform that action at this time.
0 commit comments