[llvm] [TableGen] Avoid assignmentInAssert warning (PR #139715)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 05:13:40 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-x86-64-b2` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/18474
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
17.752 [1646/64/2133] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ReOptimizeLayer.cpp.o
17.764 [1645/64/2134] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebugInfoSupport.cpp.o
17.776 [1644/64/2135] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupport.cpp.o
17.784 [1643/64/2136] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupportPlugin.cpp.o
17.796 [1642/64/2137] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/LLJITUtilsCBindings.cpp.o
17.804 [1641/64/2138] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/PerfSupportPlugin.cpp.o
17.816 [1640/64/2139] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/VTuneSupportPlugin.cpp.o
17.828 [1639/64/2140] Building ARMGenDisassemblerTables.inc...
18.089 [1638/64/2141] Linking CXX static library lib/libLLVMOrcJIT.a
18.137 [1637/64/2142] Building AArch64GenPostLegalizeGILowering.inc...
FAILED: lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc
cd /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64 && /b/ml-opt-dev-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64PostLegalizerLowering" -I /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/b/ml-opt-dev-x86-64-b1/build/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPostLegalizeGILowering.inc -d AArch64GenPostLegalizeGILowering.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /b/ml-opt-dev-x86-64-b1/llvm-project/llvm /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 /b/ml-opt-dev-x86-64-b1/build /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64 /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc.d /b/ml-opt-dev-x86-64-b1/build/CMakeFiles/d/3e3f4bcfe3b6a75b51731758c88a6c757b83b1211757d953bbd2cb2dc066e7ec.d
llvm-tblgen: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2615: virtual void {anonymous}::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream&): Assertion `ExpectedID == ID && "combine rules are not ordered!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /b/ml-opt-dev-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64PostLegalizerLowering -I /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/b/ml-opt-dev-x86-64-b1/build/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPostLegalizeGILowering.inc -d AArch64GenPostLegalizeGILowering.inc.d
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 llvm-tblgen 0x000055de1c418268
1 llvm-tblgen 0x000055de1c415b05
2 libpthread.so.0 0x00007f0b0b477140
3 libc.so.6 0x00007f0b0af97d61 gsignal + 321
4 libc.so.6 0x00007f0b0af81537 abort + 291
5 libc.so.6 0x00007f0b0af8140f
6 libc.so.6 0x00007f0b0af906e2
7 llvm-tblgen 0x000055de1c2dbe0b
8 llvm-tblgen 0x000055de1c1335c5
9 llvm-tblgen 0x000055de1c2f44aa
10 llvm-tblgen 0x000055de1c45436b
11 llvm-tblgen 0x000055de1c423560
12 llvm-tblgen 0x000055de1c0fedcf
13 libc.so.6 0x00007f0b0af82d7a __libc_start_main + 234
14 llvm-tblgen 0x000055de1c0c40da
Aborted
18.172 [1637/63/2143] Building AArch64GenMCPseudoLowering.inc...
18.189 [1637/62/2144] Linking CXX static library lib/libLLVMOrcDebugging.a
18.281 [1637/61/2145] Linking CXX executable bin/llvm-extract
18.289 [1637/60/2146] Building ARMGenMCCodeEmitter.inc...
18.328 [1637/59/2147] Building ARMGenAsmWriter.inc...
18.392 [1637/58/2148] Building AArch64GenExegesis.inc...
18.724 [1637/57/2149] Building AArch64GenPostLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc
cd /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64 && /b/ml-opt-dev-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64PostLegalizerCombiner" -I /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/b/ml-opt-dev-x86-64-b1/build/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPostLegalizeGICombiner.inc -d AArch64GenPostLegalizeGICombiner.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /b/ml-opt-dev-x86-64-b1/llvm-project/llvm /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 /b/ml-opt-dev-x86-64-b1/build /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64 /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc.d /b/ml-opt-dev-x86-64-b1/build/CMakeFiles/d/291584379a7d9c616284feb7337446733b3133e30d0ae7d1919c13df78b54247.d
llvm-tblgen: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2615: virtual void {anonymous}::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream&): Assertion `ExpectedID == ID && "combine rules are not ordered!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /b/ml-opt-dev-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64PostLegalizerCombiner -I /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/b/ml-opt-dev-x86-64-b1/build/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPostLegalizeGICombiner.inc -d AArch64GenPostLegalizeGICombiner.inc.d
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 llvm-tblgen 0x00005612e4758268
1 llvm-tblgen 0x00005612e4755b05
```
</details>
https://github.com/llvm/llvm-project/pull/139715
More information about the llvm-commits
mailing list