[llvm] [LLVM][TableGen] Parameterize NumToSkip in DecoderEmitter (PR #135882)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 18 17:27:44 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-with-lto-ubuntu` running on `as-worker-91` while building `llvm` at step 13 "test-stage2-compiler".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/49/builds/1324
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 13 (test-stage2-compiler) failure: build (failure)
...
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/ld64.lld
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/wasm-ld
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
Some tests will be skipped and the --timeout command line argument will not work.
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/ld.lld
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/lld-link
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/ld64.lld
llvm-lit: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/wasm-ld
-- Testing: 84805 tests, 72 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: TableGen/FixedLenDecoderEmitter/conflict.td (62983 of 84805)
******************** TEST 'LLVM :: TableGen/FixedLenDecoderEmitter/conflict.td' FAILED ********************
Exit Code: 134
Command Output (stderr):
--
/home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/FixedLenDecoderEmitter/../../../include /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/FixedLenDecoderEmitter/conflict.td -o - 2>/home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/test/TableGen/FixedLenDecoderEmitter/Output/conflict.td.tmp # RUN: at line 1
+ /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/FixedLenDecoderEmitter/../../../include /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/FixedLenDecoderEmitter/conflict.td -o -
/home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/test/TableGen/FixedLenDecoderEmitter/Output/conflict.td.script: line 2: 1768908 Aborted (core dumped) /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/FixedLenDecoderEmitter/../../../include /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/FixedLenDecoderEmitter/conflict.td -o - 2> /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/test/TableGen/FixedLenDecoderEmitter/Output/conflict.td.tmp
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: TableGen/trydecode-emission2.td (63333 of 84805)
******************** TEST 'LLVM :: TableGen/trydecode-emission2.td' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
/home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/../../include /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/trydecode-emission2.td | /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/FileCheck /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/trydecode-emission2.td # RUN: at line 1
+ /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/../../include /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/trydecode-emission2.td
+ /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/FileCheck /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/trydecode-emission2.td
llvm-tblgen: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/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: /home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/../../include /home/buildbot/as-worker-91/clang-with-lto-ubuntu/llvm-project/llvm/test/TableGen/trydecode-emission2.td
#0 0x00005638f8d93cc8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/llvm-tblgen+0x35bcc8)
#1 0x00005638f8d918ce llvm::sys::RunSignalHandlers() (/home/buildbot/as-worker-91/clang-with-lto-ubuntu/build/stage2/bin/llvm-tblgen+0x3598ce)
#2 0x00005638f8d94341 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f9c863e5520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f9c864399fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
#5 0x00007f9c863e5476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#6 0x00007f9c863cb7f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#7 0x00007f9c863cb71b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
#8 0x00007f9c863dce96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#9 0x00005638f8c1ffa7 (anonymous namespace)::FilterChooser::emitTableEntries((anonymous namespace)::DecoderTableInfo&) const DecoderEmitter.cpp:0:0
#10 0x00005638f8c1fe4c (anonymous namespace)::FilterChooser::emitTableEntries((anonymous namespace)::DecoderTableInfo&) const DecoderEmitter.cpp:0:0
#11 0x00005638f8c1fe4c (anonymous namespace)::FilterChooser::emitTableEntries((anonymous namespace)::DecoderTableInfo&) const DecoderEmitter.cpp:0:0
```
</details>
https://github.com/llvm/llvm-project/pull/135882
More information about the llvm-commits
mailing list