[llvm] Reland logf128 constant folding (PR #103217)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 02:56:53 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-windows` running on `premerge-windows-1` while building `llvm` at step 5 "clean-build-dir".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/1882

Here is the relevant piece of the build log for the reference:
```
Step 5 (clean-build-dir) failure: Delete failed. (failure)
Step 7 (build-unified-tree) failure: build (failure)
...
[8105/12502] Building CXX object tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\semantics.cpp.obj
C:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\lib\Semantics\semantics.cpp(667): warning C4927: illegal conversion; more than one user-defined conversion has been implicitly applied
C:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\lib\Semantics\semantics.cpp(667): note: while calling the constructor 'Fortran::semantics::Symbol::Symbol(const Fortran::semantics::Symbol &) noexcept(false)'
C:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\include\flang\Semantics\symbol.h(959): note: compiler has generated 'Fortran::semantics::Symbol::Symbol' here
[8106/12502] Building CXX object tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\symbol.cpp.obj
[8107/12502] Building CXX object tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\tools.cpp.obj
[8108/12502] Building CXX object tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\type.cpp.obj
[8109/12502] Building CXX object tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\unparse-with-symbols.cpp.obj
[8110/12502] Building CXX object tools\flang\lib\Frontend\CMakeFiles\flangFrontend.dir\CodeGenOptions.cpp.obj
[8111/12502] Linking CXX static library lib\FortranSemantics.lib
FAILED: lib/FortranSemantics.lib 
cmd.exe /C "cd . && C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\lib.exe /nologo /machine:x64 /out:lib\FortranSemantics.lib tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\assignment.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\attr.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\canonicalize-acc.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\canonicalize-directives.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\canonicalize-do.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\canonicalize-omp.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-acc-structure.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-allocate.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-arithmeticif.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-call.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-case.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-coarray.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-cuda.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-data.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-deallocate.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-declarations.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-do-forall.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-if-stmt.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-io.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-namelist.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-nullify.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-omp-structure.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-purity.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-return.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-select-rank.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-select-type.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-stop.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\compute-offsets.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\data-to-inits.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\definable.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\expression.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\mod-file.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\pointer-assignment.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\program-tree.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\resolve-labels.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\resolve-directives.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\resolve-names-utils.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\resolve-names.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\rewrite-directives.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\rewrite-parse-tree.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\runtime-type-info.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\scope.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\semantics.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\symbol.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\tools.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\type.cpp.obj tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\unparse-with-symbols.cpp.obj  && cd ."
LINK : fatal error LNK1102: out of memory

[8112/12502] Building CXX object tools\flang\lib\Frontend\CMakeFiles\flangFrontend.dir\FrontendAction.cpp.obj
FAILED: tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/FrontendAction.cpp.obj 
sccache C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe  /nologo /TP -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\flang\lib\Frontend -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\lib\Frontend -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\include -Itools\flang\include -Iinclude -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\include -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\..\mlir\include -Itools\mlir\include -Itools\clang\include -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\..\clang\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\flang\lib\Frontend\CMakeFiles\flangFrontend.dir\FrontendAction.cpp.obj /Fdtools\flang\lib\Frontend\CMakeFiles\flangFrontend.dir\flangFrontend.pdb /FS -c C:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\lib\Frontend\FrontendAction.cpp
c1xx: fatal error C1356: unable to find mspdbcore.dll
<unnamed>' panicked at 'failed to reserve stack space for exception handling', library\std\src\sys\windows\stack_overflow.rs:15:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'panic in a function that cannot unwind', library\core\src\panicking.rs:126:5
stack backtrace:
   0:     0x7ff717445606 - <unknown>
   1:     0x7ff7169c07ab - <unknown>
   2:     0x7ff717424e81 - <unknown>
   3:     0x7ff71744a56b - <unknown>
   4:     0x7ff71744a148 - <unknown>
   5:     0x7ff71744b068 - <unknown>
   6:     0x7ff71744aa74 - <unknown>
   7:     0x7ff71744a9f9 - <unknown>
   8:     0x7ff71744a9e4 - <unknown>
   9:     0x7ff7175f8fe4 - <unknown>
  10:     0x7ff7175f9074 - <unknown>
  11:     0x7ff7175f9019 - <unknown>
  12:     0x7ff717440ff4 - <unknown>
  13:     0x7ff7175ed620 - <unknown>
  14:     0x7ff7175eccc0 - <unknown>
  15:     0x7ffe53284176 - RtlCaptureContext
  16:     0x7ff717440fd8 - <unknown>
  17:     0x7ffe42717974 - BaseThreadInitThunk
  18:     0x7ffe5323a4e1 - RtlUserThreadStart
thread caused non-unwinding panic. aborting.
[8113/12502] Building CXX object tools\flang\lib\Lower\CMakeFiles\FortranLower.dir\ConvertArrayConstructor.cpp.obj
FAILED: tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/ConvertArrayConstructor.cpp.obj 
sccache C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe  /nologo /TP -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\flang\lib\Lower -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\lib\Lower -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\include -Itools\flang\include -Iinclude -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\include -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\..\mlir\include -Itools\mlir\include -Itools\clang\include -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\..\clang\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\flang\lib\Lower\CMakeFiles\FortranLower.dir\ConvertArrayConstructor.cpp.obj /Fdtools\flang\lib\Lower\CMakeFiles\FortranLower.dir\FortranLower.pdb /FS -c C:\ws\buildbot\premerge-monolithic-windows\llvm-project\flang\lib\Lower\ConvertArrayConstructor.cpp
sccache: error: failed to execute compile
sccache: caused by: error reading compile response from server
sccache: caused by: Failed to read response header
sccache: caused by: An existing connection was forcibly closed by the remote host. (os error 10054)

```

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


More information about the llvm-commits mailing list