Commit efd9dc8
authored
This reverts commit 4190d57.
See https://lab.llvm.org/buildbot/#/builders/181/builds/33524
```
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/APFloat.cpp:32:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../libc/src/__support/math/asin_utils.h:548:1: in ‘constexpr’ expansion of ‘__llvm_libc::fputil::DyadicFloat<128>(__llvm_libc::Sign::POS, -127, __llvm_libc::BigInt<128, false, long unsigned int>(__llvm_libc::operator""_u128(((const char*)"0x80000000\'00000000\'00000000\'00000000"))))’
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/dyadic_float.h:109:5: in ‘constexpr’ expansion of ‘((__llvm_libc::fputil::DyadicFloat<128>*)this)->__llvm_libc::fputil::DyadicFloat<128>::normalize()’
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/dyadic_float.h:118:16: in ‘constexpr’ expansion of ‘((__llvm_libc::fputil::DyadicFloat<128>*)this)->__llvm_libc::fputil::DyadicFloat<128>::mantissa.__llvm_libc::BigInt<128, false, long unsigned int>::operator<<=(((size_t)shift_length))’
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../libc/src/__support/big_int.h:829:52: in ‘constexpr’ expansion of ‘__llvm_libc::multiword::shift<__llvm_libc::multiword::LEFT, false, long unsigned int, 2>(((__llvm_libc::BigInt<128, false, long unsigned int>*)this)->__llvm_libc::BigInt<128, false, long unsigned int>::val, s)’
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../libc/src/__support/big_int.h:264:35: error: ‘constexpr __llvm_libc::cpp::enable_if_t<((((sizeof (To) == sizeof (From)) && __llvm_libc::cpp::is_trivially_constructible<To>::value) && __llvm_libc::cpp::is_trivially_copyable<T>::value) && __llvm_libc::cpp::is_trivially_copyable<From>::value), To> __llvm_libc::cpp::bit_cast(const From&) [with To = __int128 unsigned; From = __llvm_libc::cpp::array<long unsigned int, 2>; __llvm_libc::cpp::enable_if_t<((((sizeof (To) == sizeof (From)) && __llvm_libc::cpp::is_trivially_constructible<To>::value) && __llvm_libc::cpp::is_trivially_copyable<T>::value) && __llvm_libc::cpp::is_trivially_copyable<From>::value), To> = __int128 unsigned]’ called in a constant expression
264 | auto tmp = cpp::bit_cast<type>(array);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/APFloat.cpp:32:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../libc/src/__support/CPP/bit.h:48:1: note: ‘constexpr __llvm_libc::cpp::enable_if_t<((((sizeof (To) == sizeof (From)) && __llvm_libc::cpp::is_trivially_constructible<To>::value) && __llvm_libc::cpp::is_trivially_copyable<T>::value) && __llvm_libc::cpp::is_trivially_copyable<From>::value), To> __llvm_libc::cpp::bit_cast(const From&) [with To = __int128 unsigned; From = __llvm_libc::cpp::array<long unsigned int, 2>; __llvm_libc::cpp::enable_if_t<((((sizeof (To) == sizeof (From)) && __llvm_libc::cpp::is_trivially_constructible<To>::value) && __llvm_libc::cpp::is_trivially_copyable<T>::value) && __llvm_libc::cpp::is_trivially_copyable<From>::value), To> = __int128 unsigned]’ is not usable as a ‘constexpr’ function because:
48 | bit_cast(const From &from) {
| ^~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../libc/src/__support/CPP/bit.h:56:28: error: call to non-‘constexpr’ function ‘void __llvm_libc::cpp::inline_copy(const char*, char*) [with unsigned int N = 16]’
56 | inline_copy<sizeof(From)>(src, dst);
```
1 parent f0c9acc commit efd9dc8
File tree
8 files changed
+1
-162
lines changed- libc
- src/__support/math
- llvm
- include/llvm/ADT
- lib
- Support
- Target/AMDGPU
- unittests/ADT
8 files changed
+1
-162
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | 660 | | |
666 | 661 | | |
667 | 662 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1493 | 1493 | | |
1494 | 1494 | | |
1495 | 1495 | | |
1496 | | - | |
1497 | | - | |
1498 | 1496 | | |
1499 | 1497 | | |
1500 | 1498 | | |
| |||
1647 | 1645 | | |
1648 | 1646 | | |
1649 | 1647 | | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | 1648 | | |
1655 | 1649 | | |
1656 | 1650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
6158 | 6155 | | |
6159 | 6156 | | |
6160 | 6157 | | |
6161 | | - | |
6162 | | - | |
6163 | | - | |
6164 | | - | |
6165 | | - | |
6166 | | - | |
6167 | | - | |
6168 | | - | |
6169 | | - | |
6170 | | - | |
6171 | | - | |
6172 | | - | |
6173 | | - | |
6174 | | - | |
6175 | | - | |
6176 | | - | |
6177 | | - | |
6178 | | - | |
6179 | | - | |
6180 | | - | |
6181 | | - | |
6182 | | - | |
6183 | | - | |
6184 | 6158 | | |
6185 | 6159 | | |
6186 | 6160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1531 | 1531 | | |
1532 | 1532 | | |
1533 | 1533 | | |
1534 | | - | |
| 1534 | + | |
1535 | 1535 | | |
1536 | 1536 | | |
1537 | 1537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10182 | 10182 | | |
10183 | 10183 | | |
10184 | 10184 | | |
10185 | | - | |
10186 | | - | |
10187 | | - | |
10188 | | - | |
10189 | | - | |
10190 | | - | |
10191 | | - | |
10192 | | - | |
10193 | | - | |
10194 | | - | |
10195 | | - | |
10196 | | - | |
10197 | | - | |
10198 | | - | |
10199 | | - | |
10200 | | - | |
10201 | | - | |
10202 | | - | |
10203 | | - | |
10204 | | - | |
10205 | | - | |
10206 | | - | |
10207 | | - | |
10208 | | - | |
10209 | | - | |
10210 | | - | |
10211 | | - | |
10212 | | - | |
10213 | | - | |
10214 | | - | |
10215 | | - | |
10216 | | - | |
10217 | | - | |
10218 | | - | |
10219 | | - | |
10220 | | - | |
10221 | | - | |
10222 | | - | |
10223 | | - | |
10224 | | - | |
10225 | | - | |
10226 | | - | |
10227 | | - | |
10228 | | - | |
10229 | | - | |
10230 | | - | |
10231 | | - | |
10232 | | - | |
10233 | | - | |
10234 | | - | |
10235 | | - | |
10236 | | - | |
10237 | | - | |
10238 | | - | |
10239 | | - | |
10240 | | - | |
10241 | | - | |
10242 | | - | |
10243 | | - | |
10244 | | - | |
10245 | | - | |
10246 | | - | |
10247 | | - | |
10248 | | - | |
10249 | | - | |
10250 | | - | |
10251 | | - | |
10252 | | - | |
10253 | | - | |
10254 | | - | |
10255 | | - | |
10256 | | - | |
10257 | | - | |
10258 | | - | |
10259 | 10185 | | |
0 commit comments