[llvm] [TableGen] Introduce MatcherList to manage a linked list of Matchers. NFC (PR #177875)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 18:00:22 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/46774
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
8.968 [148/14/145] Linking CXX executable bin/clang-query
9.001 [148/13/146] Building X86GenFoldTables.inc...
9.042 [148/12/147] Linking CXX executable bin/pp-trace
9.047 [148/11/148] Linking CXX executable bin/clang-change-namespace
9.094 [148/10/149] Building X86GenAsmMatcher.inc...
9.303 [148/9/150] Linking CXX executable bin/clang-move
9.317 [148/8/151] Linking CXX executable bin/clang-include-cleaner
10.192 [148/7/152] Building X86GenFastISel.inc...
10.561 [148/6/153] Building X86GenGlobalISel.inc...
11.402 [148/5/154] Building X86GenDAGISel.inc...
FAILED: lib/Target/X86/X86GenDAGISel.inc /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/Target/X86/X86GenDAGISel.inc
cd /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/Target/X86 && /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen -gen-dag-isel -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Target/X86 -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include -I /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Target -omit-comments /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o X86GenDAGISel.inc -d X86GenDAGISel.inc.d && /usr/bin/cmake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Target/X86 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/Target/X86 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/Target/X86/X86GenDAGISel.inc.d /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/CMakeFiles/d/871127ca62aaa22b99075e2d696368a0bd1129c257bbb7d5d4e8cb5f602266b1.d
llvm-tblgen: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/utils/TableGen/DAGISelMatcherOpt.cpp:486: void FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator): Assertion `!Optn == !Tmp && "Expected all to be null if any are null"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0. Program arguments: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen -gen-dag-isel -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Target/X86 -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include -I /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Target -omit-comments /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o X86GenDAGISel.inc -d X86GenDAGISel.inc.d
#0 0x0000599364777510 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x3ba510)
#1 0x00005993647743bf llvm::sys::RunSignalHandlers() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x3b73bf)
#2 0x0000599364774512 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e02d160d520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e02d16619fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e02d16619fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e02d16619fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e02d160d476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e02d15f37f3 abort ./stdlib/abort.c:81:7
#9 0x00007e02d15f371b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e02d1604e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005993645d7176 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#12 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#13 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#14 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#15 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#16 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#17 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#18 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#19 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#20 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#21 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#22 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#23 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#24 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#25 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#26 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#27 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#28 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#29 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#30 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#31 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
#32 0x00005993645d6387 FactorScope(llvm::MatcherList&, llvm::MatcherList::iterator_impl<false>) DAGISelMatcherOpt.cpp:0:0
```
</details>
https://github.com/llvm/llvm-project/pull/177875
More information about the llvm-commits
mailing list