[llvm] [TableGen] Avoid assignmentInAssert warning (PR #139715)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 05:13:07 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-x86-64-b1` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/18438
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
17.748 [2560/64/1252] Building CXX object lib/FuzzMutate/CMakeFiles/LLVMFuzzMutate.dir/RandomIRBuilder.cpp.o
17.771 [2559/64/1253] Building CXX object lib/FuzzMutate/CMakeFiles/LLVMFuzzMutate.dir/Operations.cpp.o
17.829 [2558/64/1254] Building CXX object lib/IRPrinter/CMakeFiles/LLVMIRPrinter.dir/IRPrintingPasses.cpp.o
17.851 [2557/64/1255] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenData.cpp.o
17.902 [2556/64/1256] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenDataReader.cpp.o
17.923 [2555/64/1257] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenDataWriter.cpp.o
17.947 [2554/64/1258] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/OutlinedHashTree.cpp.o
17.974 [2553/64/1259] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/OutlinedHashTreeRecord.cpp.o
17.987 [2552/64/1260] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/StableFunctionMap.cpp.o
17.996 [2551/64/1261] Building AArch64GenO0PreLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc /b/ml-opt-devrel-x86-64-b1/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc
cd /b/ml-opt-devrel-x86-64-b1/build/lib/Target/AArch64 && /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64O0PreLegalizerCombiner" -I /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-devrel-x86-64-b1/build/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenO0PreLegalizeGICombiner.inc -d AArch64GenO0PreLegalizeGICombiner.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 /b/ml-opt-devrel-x86-64-b1/build /b/ml-opt-devrel-x86-64-b1/build/lib/Target/AArch64 /b/ml-opt-devrel-x86-64-b1/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc.d /b/ml-opt-devrel-x86-64-b1/build/CMakeFiles/d/b273c47bf2016c55763cf38cc966402b1cc1e68a5e971525c2e0575807d3787b.d
llvm-tblgen: /b/ml-opt-devrel-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-devrel-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64O0PreLegalizerCombiner -I /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-devrel-x86-64-b1/build/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenO0PreLegalizeGICombiner.inc -d AArch64GenO0PreLegalizeGICombiner.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 0x0000563f8c494268
1 llvm-tblgen 0x0000563f8c491b05
2 libpthread.so.0 0x00007fb8ba1f2140
3 libc.so.6 0x00007fb8b9d12d61 gsignal + 321
4 libc.so.6 0x00007fb8b9cfc537 abort + 291
5 libc.so.6 0x00007fb8b9cfc40f
6 libc.so.6 0x00007fb8b9d0b6e2
7 llvm-tblgen 0x0000563f8c357e0b
8 llvm-tblgen 0x0000563f8c1af5c5
9 llvm-tblgen 0x0000563f8c3704aa
10 llvm-tblgen 0x0000563f8c4d036b
11 llvm-tblgen 0x0000563f8c49f560
12 llvm-tblgen 0x0000563f8c17adcf
13 libc.so.6 0x00007fb8b9cfdd7a __libc_start_main + 234
14 llvm-tblgen 0x0000563f8c1400da
Aborted
18.019 [2551/63/1262] Building AArch64GenMCPseudoLowering.inc...
18.031 [2551/62/1263] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/StableFunctionMapRecord.cpp.o
18.045 [2551/61/1264] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/LoopPredication.cpp.o
18.184 [2551/60/1265] Building AArch64GenPreLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenPreLegalizeGICombiner.inc /b/ml-opt-devrel-x86-64-b1/build/lib/Target/AArch64/AArch64GenPreLegalizeGICombiner.inc
cd /b/ml-opt-devrel-x86-64-b1/build/lib/Target/AArch64 && /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64PreLegalizerCombiner" -I /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-devrel-x86-64-b1/build/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPreLegalizeGICombiner.inc -d AArch64GenPreLegalizeGICombiner.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 /b/ml-opt-devrel-x86-64-b1/build /b/ml-opt-devrel-x86-64-b1/build/lib/Target/AArch64 /b/ml-opt-devrel-x86-64-b1/build/lib/Target/AArch64/AArch64GenPreLegalizeGICombiner.inc.d /b/ml-opt-devrel-x86-64-b1/build/CMakeFiles/d/9816016226e9540663faf137df85d2ff62fe674e4b6bca7413fe1e3d2ffddce0.d
llvm-tblgen: /b/ml-opt-devrel-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-devrel-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64PreLegalizerCombiner -I /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-devrel-x86-64-b1/build/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPreLegalizeGICombiner.inc -d AArch64GenPreLegalizeGICombiner.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 0x000056278ae6d268
1 llvm-tblgen 0x000056278ae6ab05
2 libpthread.so.0 0x00007f862726f140
3 libc.so.6 0x00007f8626d8fd61 gsignal + 321
4 libc.so.6 0x00007f8626d79537 abort + 291
```
</details>
https://github.com/llvm/llvm-project/pull/139715
More information about the llvm-commits
mailing list