[llvm] [LLVM][TableGen] Parameterize NumToSkip in DecoderEmitter (PR #135882)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 16 16:28:25 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/23618
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVISelLowering.h:17:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h:20:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVIRMapping.h:22:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h:20:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/CodeGen/TargetLowering.h:5397:14: warning: parameter 'N' not found in the function declaration [-Wdocumentation]
/// \param N Node to expand
^
6 warnings generated.
8.363 [3357/96/2787] Building ARMGenDAGISel.inc...
8.366 [3356/96/2788] Building AArch64GenDisassemblerTables.inc...
FAILED: lib/Target/AArch64/AArch64GenDisassemblerTables.inc /b/1/clang-x86_64-debian-fast/llvm.obj/lib/Target/AArch64/AArch64GenDisassemblerTables.inc
cd /b/1/clang-x86_64-debian-fast/llvm.obj && /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-tblgen -gen-disassembler --num-to-skip-size=3 -I /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AArch64 -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -I /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target /b/1/clang-x86_64-debian-fast/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: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/utils/TableGen/DecoderEmitter.cpp:151: void (anonymous namespace)::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/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-tblgen -gen-disassembler --num-to-skip-size=3 -I /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AArch64 -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -I /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target /b/1/clang-x86_64-debian-fast/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 0x0000000000727757
1 llvm-tblgen 0x000000000072535e
2 llvm-tblgen 0x0000000000727dfa
3 libpthread.so.0 0x00007f20f6591140
4 libc.so.6 0x00007f20f60a5d51 gsignal + 321
5 libc.so.6 0x00007f20f608f537 abort + 291
6 libc.so.6 0x00007f20f608f40f
7 libc.so.6 0x00007f20f609e6d2
8 llvm-tblgen 0x00000000005c6315
9 llvm-tblgen 0x00000000005bd01d
10 llvm-tblgen 0x00000000005bd1f7
11 llvm-tblgen 0x00000000005b945b
12 llvm-tblgen 0x00000000005b4b07
13 llvm-tblgen 0x00000000005d68fb
14 llvm-tblgen 0x00000000007591e8
15 llvm-tblgen 0x000000000073035a
16 llvm-tblgen 0x000000000043fb79
17 libc.so.6 0x00007f20f6090d7a __libc_start_main + 234
18 llvm-tblgen 0x000000000040874a
Aborted
8.367 [3356/95/2789] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVLegalizerInfo.cpp.o
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp:13:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.h:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h:20:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVIRMapping.h:19:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVUtils.h:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/CodeGen/MachineBasicBlock.h:21:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/CodeGen/MachineInstr.h:25:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/CodeGen/MachineOperand.h:307:14: warning: parameter 'IntrinsicInfo' not found in the function declaration [-Wdocumentation]
/// \param IntrinsicInfo - same as \p TRI.
^~~~~~~~~~~~~
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp:13:
```
</details>
https://github.com/llvm/llvm-project/pull/135882
More information about the llvm-commits
mailing list