[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:15:34 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/17049
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
14.626 [1679/64/2085] Building ARMGenDisassemblerTables.inc...
14.656 [1678/64/2086] Building AArch64GenO0PreLegalizeGICombiner.inc...
14.824 [1677/64/2087] Building ARMGenAsmMatcher.inc...
14.968 [1676/64/2088] Building AArch64GenMCCodeEmitter.inc...
15.128 [1675/64/2089] Building AArch64GenPreLegalizeGICombiner.inc...
15.229 [1674/64/2090] Building AVRGenCallingConv.inc...
15.308 [1673/64/2091] Building AVRGenAsmWriter.inc...
15.400 [1672/64/2092] Building AVRGenMCCodeEmitter.inc...
15.476 [1671/64/2093] Building AVRGenAsmMatcher.inc...
15.498 [1670/64/2094] Building AArch64GenDisassemblerTables.inc...
FAILED: lib/Target/AArch64/AArch64GenDisassemblerTables.inc /b/ml-opt-dev-x86-64-b1/build/lib/Target/AArch64/AArch64GenDisassemblerTables.inc
cd /b/ml-opt-dev-x86-64-b1/build && /b/ml-opt-dev-x86-64-b1/build/bin/llvm-tblgen -gen-disassembler --num-to-skip-size=3 -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 lib/Target/AArch64/AArch64GenDisassemblerTables.inc -d lib/Target/AArch64/AArch64GenDisassemblerTables.inc.d
llvm-tblgen: /b/ml-opt-dev-x86-64-b1/llvm-project/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: /b/ml-opt-dev-x86-64-b1/build/bin/llvm-tblgen -gen-disassembler --num-to-skip-size=3 -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 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 0x0000564fcdaba3d8
1 llvm-tblgen 0x0000564fcdab7c75
2 libpthread.so.0 0x00007f8aaa4ba140
3 libc.so.6 0x00007f8aa9fdad51 gsignal + 321
4 libc.so.6 0x00007f8aa9fc4537 abort + 291
5 libc.so.6 0x00007f8aa9fc440f
6 libc.so.6 0x00007f8aa9fd36d2
7 llvm-tblgen 0x0000564fcd93052e
8 llvm-tblgen 0x0000564fcd93c099
9 llvm-tblgen 0x0000564fcd93bc34
10 llvm-tblgen 0x0000564fcd93d403
11 llvm-tblgen 0x0000564fcd951cbe
12 llvm-tblgen 0x0000564fcdaf5eeb
13 llvm-tblgen 0x0000564fcdac52a0
14 llvm-tblgen 0x0000564fcd7a367f
15 libc.so.6 0x00007f8aa9fc5d7a __libc_start_main + 234
16 llvm-tblgen 0x0000564fcd76bcba
Aborted
15.677 [1670/63/2095] Building MSP430GenDisassemblerTables.inc...
15.690 [1670/62/2096] Building AVRGenRegisterInfo.inc...
15.718 [1670/61/2097] Building BPFGenCallingConv.inc...
15.811 [1670/60/2098] Building AArch64GenSystemOperands.inc...
15.816 [1670/59/2099] Building AVRGenSubtargetInfo.inc...
15.830 [1670/58/2100] Building AArch64GenRegisterBank.inc...
15.840 [1670/57/2101] Building AVRGenDAGISel.inc...
15.862 [1670/56/2102] Building BPFGenAsmMatcher.inc...
15.902 [1670/55/2103] Building BPFGenAsmWriter.inc...
15.942 [1670/54/2104] Building MSP430GenDAGISel.inc...
15.994 [1670/53/2105] Building AArch64GenAsmWriter1.inc...
16.194 [1670/52/2106] Building BPFGenDisassemblerTables.inc...
16.265 [1670/51/2107] Building MSP430GenInstrInfo.inc...
16.472 [1670/50/2108] Building AVRGenInstrInfo.inc...
```
</details>
https://github.com/llvm/llvm-project/pull/135882
More information about the llvm-commits
mailing list