[llvm-branch-commits] [libc] [llvm] [libc][math] Adds mantissa manipulation functions for float80 (PR #238689)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 4 02:55:56 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 135771 tests passed
* 967 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>[code=1] libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__internal__.dir/ldexpf80.cpp.o</summary>

```
FAILED: [code=1] libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__internal__.dir/ldexpf80.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_24_0_0_git -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_COPT_MEMCPY_X86_USE_NTA_STORES -DLIBC_ADD_NULL_CHECKS -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -DLIBC_COPT_HARDENING_MODE=LIBC_HARDENING_MODE_NONE -DLIBC_COPT_SCANF_PROVIDE_ISOC99_ALIASES -DLIBC_COPT_PROVIDE_GNU_ALIASES -ffixed-point -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -Wshadow -DLIBC_COMPILER_HAS_STDC_FENV_ACCESS -UNDEBUG -MD -MT libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__internal__.dir/ldexpf80.cpp.o -MF libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__internal__.dir/ldexpf80.cpp.o.d -o libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__internal__.dir/ldexpf80.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:23: error: unknown type name 'Float80'; did you mean 'float80'?
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                       ^~~~~~~
|                       float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:40: error: unknown type name 'Float80'; did you mean 'float80'?
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                                        ^~~~~~~
|                                        float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:31: error: incomplete result type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80') in function definition
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                               ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:48: error: variable has incomplete type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80')
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:17:29: error: incomplete result type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80') in function definition
17 | LLVM_LIBC_FUNCTION(float80, ldexpf80, (float80 x, int exp)) {
|                             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:17:48: error: variable has incomplete type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80')
17 | LLVM_LIBC_FUNCTION(float80, ldexpf80, (float80 x, int exp)) {
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:18:62: error: unknown type name 'Float80'; did you mean 'float80'?
18 |   return cpp::bit_cast<float80>(math::ldexpf80(cpp::bit_cast<Float80>(x), exp));
|                                                              ^~~~~~~
|                                                              float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
7 errors generated.
```
</details>
<details>
<summary>[code=1] libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.dir/ldexpf80.cpp.o</summary>

```
FAILED: [code=1] libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.dir/ldexpf80.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_24_0_0_git -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_COPT_MEMCPY_X86_USE_NTA_STORES -DLIBC_ADD_NULL_CHECKS -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -DLIBC_COPT_HARDENING_MODE=LIBC_HARDENING_MODE_NONE -DLIBC_COPT_SCANF_PROVIDE_ISOC99_ALIASES -DLIBC_COPT_PROVIDE_GNU_ALIASES -ffixed-point -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -Wshadow -DLIBC_COMPILER_HAS_STDC_FENV_ACCESS -DLIBC_COPT_PUBLIC_PACKAGING -UNDEBUG -MD -MT libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.dir/ldexpf80.cpp.o -MF libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.dir/ldexpf80.cpp.o.d -o libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.dir/ldexpf80.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:23: error: unknown type name 'Float80'; did you mean 'float80'?
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                       ^~~~~~~
|                       float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:40: error: unknown type name 'Float80'; did you mean 'float80'?
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                                        ^~~~~~~
|                                        float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:31: error: incomplete result type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80') in function definition
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                               ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:48: error: variable has incomplete type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80')
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:17:1: error: incomplete result type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80') in function definition
17 | LLVM_LIBC_FUNCTION(float80, ldexpf80, (float80 x, int exp)) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/common.h:101:53: note: expanded from macro 'LLVM_LIBC_FUNCTION'
101 |   GET_FIFTH(__VA_ARGS__, LLVM_LIBC_FUNCTION_IMPL_4, LLVM_LIBC_FUNCTION_IMPL_3, \
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:17:48: error: variable has incomplete type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80')
17 | LLVM_LIBC_FUNCTION(float80, ldexpf80, (float80 x, int exp)) {
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:18:62: error: unknown type name 'Float80'; did you mean 'float80'?
18 |   return cpp::bit_cast<float80>(math::ldexpf80(cpp::bit_cast<Float80>(x), exp));
|                                                              ^~~~~~~
|                                                              float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
7 errors generated.
```
</details>
<details>
<summary>[code=1] libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.__internal__.dir/ldexpf80.cpp.o</summary>

```
FAILED: [code=1] libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.__internal__.dir/ldexpf80.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_24_0_0_git -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_COPT_MEMCPY_X86_USE_NTA_STORES -DLIBC_ADD_NULL_CHECKS -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -DLIBC_COPT_HARDENING_MODE=LIBC_HARDENING_MODE_NONE -DLIBC_COPT_SCANF_PROVIDE_ISOC99_ALIASES -DLIBC_COPT_PROVIDE_GNU_ALIASES -ffixed-point -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -Wshadow -DLIBC_COMPILER_HAS_STDC_FENV_ACCESS -UNDEBUG -MD -MT libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.__internal__.dir/ldexpf80.cpp.o -MF libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.__internal__.dir/ldexpf80.cpp.o.d -o libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.__internal__.dir/ldexpf80.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:23: error: unknown type name 'Float80'; did you mean 'float80'?
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                       ^~~~~~~
|                       float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:40: error: unknown type name 'Float80'; did you mean 'float80'?
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                                        ^~~~~~~
|                                        float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:31: error: incomplete result type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80') in function definition
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                               ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:48: error: variable has incomplete type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80')
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:17:29: error: incomplete result type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80') in function definition
17 | LLVM_LIBC_FUNCTION(float80, ldexpf80, (float80 x, int exp)) {
|                             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:17:48: error: variable has incomplete type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80')
17 | LLVM_LIBC_FUNCTION(float80, ldexpf80, (float80 x, int exp)) {
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:18:62: error: unknown type name 'Float80'; did you mean 'float80'?
18 |   return cpp::bit_cast<float80>(math::ldexpf80(cpp::bit_cast<Float80>(x), exp));
|                                                              ^~~~~~~
|                                                              float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
7 errors generated.
```
</details>
<details>
<summary>[code=1] libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.dir/ldexpf80.cpp.o</summary>

```
FAILED: [code=1] libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.dir/ldexpf80.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_24_0_0_git -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_COPT_MEMCPY_X86_USE_NTA_STORES -DLIBC_ADD_NULL_CHECKS -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -DLIBC_COPT_HARDENING_MODE=LIBC_HARDENING_MODE_NONE -DLIBC_COPT_SCANF_PROVIDE_ISOC99_ALIASES -DLIBC_COPT_PROVIDE_GNU_ALIASES -ffixed-point -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -Wshadow -DLIBC_COMPILER_HAS_STDC_FENV_ACCESS -DLIBC_COPT_PUBLIC_PACKAGING -UNDEBUG -MD -MT libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.dir/ldexpf80.cpp.o -MF libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.dir/ldexpf80.cpp.o.d -o libc/src/math/generic/CMakeFiles/libc.src.math.generic.ldexpf80.__NO_FMA_OPT.dir/ldexpf80.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:23: error: unknown type name 'Float80'; did you mean 'float80'?
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                       ^~~~~~~
|                       float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:40: error: unknown type name 'Float80'; did you mean 'float80'?
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                                        ^~~~~~~
|                                        float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:31: error: incomplete result type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80') in function definition
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                               ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/ldexpf80.h:21:48: error: variable has incomplete type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80')
21 | LIBC_INLINE constexpr Float80 ldexpf80(Float80 x, int exp) {
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:17:1: error: incomplete result type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80') in function definition
17 | LLVM_LIBC_FUNCTION(float80, ldexpf80, (float80 x, int exp)) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/common.h:101:53: note: expanded from macro 'LLVM_LIBC_FUNCTION'
101 |   GET_FIFTH(__VA_ARGS__, LLVM_LIBC_FUNCTION_IMPL_4, LLVM_LIBC_FUNCTION_IMPL_3, \
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:17:48: error: variable has incomplete type 'float80' (aka '__llvm_libc_24_0_0_git::fputil::Float80')
17 | LLVM_LIBC_FUNCTION(float80, ldexpf80, (float80 x, int exp)) {
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:100:8: note: forward declaration of '__llvm_libc_24_0_0_git::fputil::Float80'
100 | struct Float80;
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/math/generic/ldexpf80.cpp:18:62: error: unknown type name 'Float80'; did you mean 'float80'?
18 |   return cpp::bit_cast<float80>(math::ldexpf80(cpp::bit_cast<Float80>(x), exp));
|                                                              ^~~~~~~
|                                                              float80
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/macros/properties/types.h:104:7: note: 'float80' declared here
104 | using float80 = LIBC_NAMESPACE::fputil::Float80;
|       ^
7 errors generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/238689


More information about the llvm-branch-commits mailing list