[llvm] [TableGen] Avoid assignmentInAssert warning (PR #139715)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 05:13:45 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b2` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/18237
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
21.104 [2557/64/1255] Building CXX object lib/IRPrinter/CMakeFiles/LLVMIRPrinter.dir/IRPrintingPasses.cpp.o
21.117 [2556/64/1256] Building CXX object lib/FuzzMutate/CMakeFiles/LLVMFuzzMutate.dir/RandomIRBuilder.cpp.o
21.138 [2555/64/1257] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenData.cpp.o
21.166 [2554/64/1258] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenDataReader.cpp.o
21.181 [2553/64/1259] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/OutlinedHashTree.cpp.o
21.206 [2552/64/1260] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenDataWriter.cpp.o
21.208 [2551/64/1261] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/OutlinedHashTreeRecord.cpp.o
21.230 [2550/64/1262] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/StableFunctionMap.cpp.o
21.246 [2549/64/1263] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/StableFunctionMapRecord.cpp.o
21.250 [2548/64/1264] Building AArch64GenPostLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc /b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc
cd /b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64 && /b/ml-opt-rel-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64PostLegalizerCombiner" -I /b/ml-opt-rel-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-rel-x86-64-b1/build/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-rel-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-rel-x86-64-b1/llvm-project/llvm /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 /b/ml-opt-rel-x86-64-b1/build /b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64 /b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc.d /b/ml-opt-rel-x86-64-b1/build/CMakeFiles/d/d6c4aa13464686e2e4d18060cb2a920d938f0f96d23c175ebfe914780ee18ffc.d
llvm-tblgen: /b/ml-opt-rel-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-rel-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64PostLegalizerCombiner -I /b/ml-opt-rel-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-rel-x86-64-b1/build/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-rel-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 0x000055fd6117b268
1 llvm-tblgen 0x000055fd61178b05
2 libpthread.so.0 0x00007fe57ef23140
3 libc.so.6 0x00007fe57ea43d61 gsignal + 321
4 libc.so.6 0x00007fe57ea2d537 abort + 291
5 libc.so.6 0x00007fe57ea2d40f
6 libc.so.6 0x00007fe57ea3c6e2
7 llvm-tblgen 0x000055fd6103ee0b
8 llvm-tblgen 0x000055fd60e965c5
9 llvm-tblgen 0x000055fd610574aa
10 llvm-tblgen 0x000055fd611b736b
11 llvm-tblgen 0x000055fd61186560
12 llvm-tblgen 0x000055fd60e61dcf
13 libc.so.6 0x00007fe57ea2ed7a __libc_start_main + 234
14 llvm-tblgen 0x000055fd60e270da
Aborted
21.283 [2548/63/1265] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/LoopRotation.cpp.o
21.287 [2548/62/1266] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/LoopPredication.cpp.o
21.288 [2548/61/1267] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/LoopSimplifyCFG.cpp.o
21.333 [2548/60/1268] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/LoopStrengthReduce.cpp.o
21.410 [2548/59/1269] Building AArch64GenPostLegalizeGILowering.inc...
FAILED: lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc /b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc
cd /b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64 && /b/ml-opt-rel-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64PostLegalizerLowering" -I /b/ml-opt-rel-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-rel-x86-64-b1/build/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-rel-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-rel-x86-64-b1/llvm-project/llvm /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/lib/Target/AArch64 /b/ml-opt-rel-x86-64-b1/build /b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64 /b/ml-opt-rel-x86-64-b1/build/lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc.d /b/ml-opt-rel-x86-64-b1/build/CMakeFiles/d/fc9976aec971c445b9ee1910a756bf5cb7a06dd1926bde09d161273f41f005cf.d
llvm-tblgen: /b/ml-opt-rel-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-rel-x86-64-b1/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64PostLegalizerLowering -I /b/ml-opt-rel-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-rel-x86-64-b1/build/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include -I /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/lib/Target /b/ml-opt-rel-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 0x000055e453981268
1 llvm-tblgen 0x000055e45397eb05
2 libpthread.so.0 0x00007ff3c22cb140
3 libc.so.6 0x00007ff3c1debd61 gsignal + 321
```
</details>
https://github.com/llvm/llvm-project/pull/139715
More information about the llvm-commits
mailing list