[llvm] [LLVM][TableGen] Parameterize NumToSkip in DecoderEmitter (PR #135882)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 13:22:38 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux` running on `systemz-1` while building `llvm` at step 5 "compile-openmp".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (compile-openmp) failure: build (failure)
...
27.028 [3471/4/1895] Building CXX object lib/Target/CMakeFiles/LLVMTarget.dir/TargetMachineC.cpp.o
27.939 [3470/4/1896] Building AArch64GenMCPseudoLowering.inc...
28.154 [3469/4/1897] Building AArch64GenMCCodeEmitter.inc...
28.162 [3468/4/1898] Building AArch64GenO0PreLegalizeGICombiner.inc...
29.145 [3467/4/1899] Building AArch64GenPostLegalizeGILowering.inc...
29.528 [3466/4/1900] Building AArch64GenAsmWriter.inc...
30.280 [3465/4/1901] Building AArch64GenAsmMatcher.inc...
30.536 [3464/4/1902] Building AArch64GenCallingConv.inc...
30.833 [3463/4/1903] Building AArch64GenAsmWriter1.inc...
31.810 [3462/4/1904] Building AArch64GenDisassemblerTables.inc...
FAILED: lib/Target/AArch64/AArch64GenDisassemblerTables.inc /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/lib/Target/AArch64/AArch64GenDisassemblerTables.inc 
cd /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build && /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/bin/llvm-tblgen -gen-disassembler --num-to-skip-size=3 -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/Target/AArch64 -I/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/include -I/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/Target /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o lib/Target/AArch64/AArch64GenDisassemblerTables.inc -d lib/Target/AArch64/AArch64GenDisassemblerTables.inc.d
llvm-tblgen: /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/utils/TableGen/DecoderEmitter.cpp:150: void {anonymous}::DecoderTable::patchNumToSkip(size_t, uint32_t): Assertion `DestIdx > FixupIdx + NumToSkipSizeInBytes && "Expecting a forward jump in the decoding table"' 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/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/bin/llvm-tblgen -gen-disassembler --num-to-skip-size=3 -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/Target/AArch64 -I/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/include -I/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/Target /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o lib/Target/AArch64/AArch64GenDisassemblerTables.inc -d lib/Target/AArch64/AArch64GenDisassemblerTables.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       0x000002aa1713e136
1  llvm-tblgen       0x000002aa1713b9e6
2  llvm-tblgen       0x000002aa1713bb88
3  linux-vdso64.so.1 0x000003ff9dbfe480 __kernel_rt_sigreturn + 0
4  libc.so.6         0x000003ff9d598116
5  libc.so.6         0x000003ff9d548ac0 gsignal + 32
6  libc.so.6         0x000003ff9d52a460 abort + 264
7  libc.so.6         0x000003ff9d540188
8  libc.so.6         0x000003ff9d5401fe
9  llvm-tblgen       0x000002aa16f94294
10 llvm-tblgen       0x000002aa16fa20de
11 llvm-tblgen       0x000002aa16fa17b8
12 llvm-tblgen       0x000002aa16fa351c
13 llvm-tblgen       0x000002aa16fbac86
14 llvm-tblgen       0x000002aa17185680
15 llvm-tblgen       0x000002aa1714a13a
16 llvm-tblgen       0x000002aa16de2570
17 libc.so.6         0x000003ff9d52a712
18 libc.so.6         0x000003ff9d52a7f0 __libc_start_main + 160
19 llvm-tblgen       0x000002aa16da7aa0
Aborted
31.815 [3462/3/1905] Building AArch64GenExegesis.inc...
32.155 [3462/2/1906] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
34.168 [3462/1/1907] Building AArch64GenDAGISel.inc...
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the llvm-commits mailing list