[llvm] [TableGen] Avoid assignmentInAssert warning (PR #139715)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 07:54:41 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/16415
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
13.607 [1745/64/2164] Building ARMGenDisassemblerTables.inc...
13.864 [1744/64/2165] Building AArch64GenExegesis.inc...
13.907 [1743/64/2166] Building AVRGenCallingConv.inc...
13.925 [1742/64/2167] Building AVRGenAsmMatcher.inc...
13.937 [1741/64/2168] Building AArch64GenMCPseudoLowering.inc...
14.018 [1740/64/2169] Building AVRGenDisassemblerTables.inc...
14.021 [1739/64/2170] Building AVRGenAsmWriter.inc...
14.092 [1738/64/2171] Building SPIRVGenRegisterBank.inc...
14.131 [1737/64/2172] Building AArch64GenMCCodeEmitter.inc...
14.175 [1736/64/2173] Building AArch64GenPreLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenPreLegalizeGICombiner.inc /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64/AArch64GenPreLegalizeGICombiner.inc
cd /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64 && /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64PreLegalizerCombiner" -I /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64 -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include -I /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64/AArch64GenPreLegalizeGICombiner.inc
llvm-tblgen: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64PreLegalizerCombiner -I /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64 -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include -I /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64/AArch64GenPreLegalizeGICombiner.inc
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 0x0000561298b3fb30
1 llvm-tblgen 0x0000561298b3d10f
2 llvm-tblgen 0x0000561298b3d25a
3 libc.so.6 0x00007f41b5cb0520
4 libc.so.6 0x00007f41b5d049fc pthread_kill + 300
5 libc.so.6 0x00007f41b5cb0476 raise + 22
6 libc.so.6 0x00007f41b5c967f3 abort + 211
7 libc.so.6 0x00007f41b5c9671b
8 libc.so.6 0x00007f41b5ca7e96
9 llvm-tblgen 0x0000561298a0221b
10 llvm-tblgen 0x0000561298854de9
11 llvm-tblgen 0x0000561298a1afb8
12 llvm-tblgen 0x0000561298b7dc4f
13 llvm-tblgen 0x0000561298b4b44d
14 llvm-tblgen 0x000056129881f598
15 libc.so.6 0x00007f41b5c97d90
16 libc.so.6 0x00007f41b5c97e40 __libc_start_main + 128
17 llvm-tblgen 0x00005612987e5f25
Aborted (core dumped)
14.178 [1736/63/2174] Building AArch64GenCallingConv.inc...
14.240 [1736/62/2175] Building AArch64GenO0PreLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc
cd /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64 && /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64O0PreLegalizerCombiner" -I /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64 -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include -I /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc
llvm-tblgen: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64O0PreLegalizerCombiner -I /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64 -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include -I /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc
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 0x000055827d394b30
1 llvm-tblgen 0x000055827d39210f
2 llvm-tblgen 0x000055827d39225a
3 libc.so.6 0x00007f076e398520
```
</details>
https://github.com/llvm/llvm-project/pull/139715
More information about the llvm-commits
mailing list