[llvm] [TableGen] Avoid assignmentInAssert warning (PR #139715)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 05:18:52 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-dbg-bootstrap-build` running on `libc-x86_64-debian` while building `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/200/builds/9206
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[23/1386] Linking CXX executable bin/llvm-cov
[24/1386] Linking CXX executable bin/obj2yaml
[25/1386] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[26/1386] Linking CXX static library lib/libLLVMAsmPrinter.a
[27/1386] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[28/1386] Linking CXX static library lib/libLLVMLTO.a
[29/1386] Building AArch64GenExegesis.inc...
[30/1386] Building AArch64GenMCPseudoLowering.inc...
[31/1386] Building AArch64GenMCCodeEmitter.inc...
[32/1386] Building AArch64GenO0PreLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64 && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64O0PreLegalizerCombiner" -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenO0PreLegalizeGICombiner.inc -d AArch64GenO0PreLegalizeGICombiner.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64 /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc.d /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/CMakeFiles/d/6b5b5eb01794ce5d915590858baee08a6f0205319eea966616549abe51c9f154.d
llvm-tblgen: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2615: virtual void (anonymous namespace)::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream &): Assertion `ExpectedID == ID && "combine rules are not ordered!"' 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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64O0PreLegalizerCombiner -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenO0PreLegalizeGICombiner.inc -d AArch64GenO0PreLegalizeGICombiner.inc.d
#0 0x0000558dc39a69dd llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Unix/Signals.inc:804:11
#1 0x0000558dc39a6f5b PrintStackTraceSignalHandler(void*) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Unix/Signals.inc:888:1
#2 0x0000558dc39a4ef6 llvm::sys::RunSignalHandlers() /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Signals.cpp:105:5
#3 0x0000558dc39a779d SignalHandler(int, siginfo_t*, void*) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Unix/Signals.inc:418:7
#4 0x00007fda9825b050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
#5 0x00007fda982a9eec (/lib/x86_64-linux-gnu/libc.so.6+0x8aeec)
#6 0x00007fda9825afb2 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bfb2)
#7 0x00007fda98245472 abort (/lib/x86_64-linux-gnu/libc.so.6+0x26472)
#8 0x00007fda98245395 (/lib/x86_64-linux-gnu/libc.so.6+0x26395)
#9 0x00007fda98253ec2 (/lib/x86_64-linux-gnu/libc.so.6+0x34ec2)
#10 0x0000558dc3721d57 (anonymous namespace)::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2616:7
#11 0x0000558dc3447424 llvm::GlobalISelMatchTableExecutorEmitter::emitExecutorImpl(llvm::raw_ostream&, llvm::gi::MatchTable const&, llvm::ArrayRef<llvm::gi::LLTCodeGen>, llvm::ArrayRef<llvm::gi::RuleMatcher>, llvm::ArrayRef<llvm::Record const*>, llvm::ArrayRef<llvm::StringRef>, llvm::StringRef) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTableExecutorEmitter.cpp:188:3
#12 0x0000558dc372147f (anonymous namespace)::GICombinerEmitter::run(llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2810:3
#13 0x0000558dc3720d0f EmitGICombiner(llvm::RecordKeeper const&, llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2833:5
#14 0x0000558dc3386d9f void llvm::function_ref<void (llvm::RecordKeeper const&, llvm::raw_ostream&)>::callback_fn<void (llvm::RecordKeeper const&, llvm::raw_ostream&)>(long, llvm::RecordKeeper const&, llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:5
#15 0x0000558dc3a2491e llvm::function_ref<void (llvm::RecordKeeper const&, llvm::raw_ostream&)>::operator()(llvm::RecordKeeper const&, llvm::raw_ostream&) const /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:5
#16 0x0000558dc3a23f85 llvm::TableGen::Emitter::ApplyCallback(llvm::RecordKeeper const&, llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/TableGen/TableGenBackend.cpp:69:3
#17 0x0000558dc39de613 llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper const&)>) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/TableGen/Main.cpp:152:7
#18 0x0000558dc33e1024 tblgen_main(int, char**) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/Basic/TableGen.cpp:74:10
#19 0x0000558dc37c5c72 main /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/llvm-tblgen.cpp:18:35
#20 0x00007fda9824624a (/lib/x86_64-linux-gnu/libc.so.6+0x2724a)
#21 0x00007fda98246305 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27305)
#22 0x0000558dc33767e1 _start (/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen+0x267e1)
Aborted
[33/1386] Building AArch64GenSystemOperands.inc...
[34/1386] Building AArch64GenPostLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64 && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64PostLegalizerCombiner" -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPostLegalizeGICombiner.inc -d AArch64GenPostLegalizeGICombiner.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64 /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc.d /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/CMakeFiles/d/7a900003612279398a8e5467a7b5a1368e64c81bb9213296604069111c00cf7b.d
llvm-tblgen: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2615: virtual void (anonymous namespace)::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream &): Assertion `ExpectedID == ID && "combine rules are not ordered!"' 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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64PostLegalizerCombiner -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPostLegalizeGICombiner.inc -d AArch64GenPostLegalizeGICombiner.inc.d
#0 0x0000561761fad9dd llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Unix/Signals.inc:804:11
Step 6 (build libc) failure: build libc (failure)
...
[23/1386] Linking CXX executable bin/llvm-cov
[24/1386] Linking CXX executable bin/obj2yaml
[25/1386] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[26/1386] Linking CXX static library lib/libLLVMAsmPrinter.a
[27/1386] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[28/1386] Linking CXX static library lib/libLLVMLTO.a
[29/1386] Building AArch64GenExegesis.inc...
[30/1386] Building AArch64GenMCPseudoLowering.inc...
[31/1386] Building AArch64GenMCCodeEmitter.inc...
[32/1386] Building AArch64GenO0PreLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64 && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64O0PreLegalizerCombiner" -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenO0PreLegalizeGICombiner.inc -d AArch64GenO0PreLegalizeGICombiner.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64 /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64/AArch64GenO0PreLegalizeGICombiner.inc.d /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/CMakeFiles/d/6b5b5eb01794ce5d915590858baee08a6f0205319eea966616549abe51c9f154.d
llvm-tblgen: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2615: virtual void (anonymous namespace)::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream &): Assertion `ExpectedID == ID && "combine rules are not ordered!"' 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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64O0PreLegalizerCombiner -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenO0PreLegalizeGICombiner.inc -d AArch64GenO0PreLegalizeGICombiner.inc.d
#0 0x0000558dc39a69dd llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Unix/Signals.inc:804:11
#1 0x0000558dc39a6f5b PrintStackTraceSignalHandler(void*) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Unix/Signals.inc:888:1
#2 0x0000558dc39a4ef6 llvm::sys::RunSignalHandlers() /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Signals.cpp:105:5
#3 0x0000558dc39a779d SignalHandler(int, siginfo_t*, void*) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Unix/Signals.inc:418:7
#4 0x00007fda9825b050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
#5 0x00007fda982a9eec (/lib/x86_64-linux-gnu/libc.so.6+0x8aeec)
#6 0x00007fda9825afb2 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bfb2)
#7 0x00007fda98245472 abort (/lib/x86_64-linux-gnu/libc.so.6+0x26472)
#8 0x00007fda98245395 (/lib/x86_64-linux-gnu/libc.so.6+0x26395)
#9 0x00007fda98253ec2 (/lib/x86_64-linux-gnu/libc.so.6+0x34ec2)
#10 0x0000558dc3721d57 (anonymous namespace)::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2616:7
#11 0x0000558dc3447424 llvm::GlobalISelMatchTableExecutorEmitter::emitExecutorImpl(llvm::raw_ostream&, llvm::gi::MatchTable const&, llvm::ArrayRef<llvm::gi::LLTCodeGen>, llvm::ArrayRef<llvm::gi::RuleMatcher>, llvm::ArrayRef<llvm::Record const*>, llvm::ArrayRef<llvm::StringRef>, llvm::StringRef) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTableExecutorEmitter.cpp:188:3
#12 0x0000558dc372147f (anonymous namespace)::GICombinerEmitter::run(llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2810:3
#13 0x0000558dc3720d0f EmitGICombiner(llvm::RecordKeeper const&, llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2833:5
#14 0x0000558dc3386d9f void llvm::function_ref<void (llvm::RecordKeeper const&, llvm::raw_ostream&)>::callback_fn<void (llvm::RecordKeeper const&, llvm::raw_ostream&)>(long, llvm::RecordKeeper const&, llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:5
#15 0x0000558dc3a2491e llvm::function_ref<void (llvm::RecordKeeper const&, llvm::raw_ostream&)>::operator()(llvm::RecordKeeper const&, llvm::raw_ostream&) const /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:5
#16 0x0000558dc3a23f85 llvm::TableGen::Emitter::ApplyCallback(llvm::RecordKeeper const&, llvm::raw_ostream&) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/TableGen/TableGenBackend.cpp:69:3
#17 0x0000558dc39de613 llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper const&)>) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/TableGen/Main.cpp:152:7
#18 0x0000558dc33e1024 tblgen_main(int, char**) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/Basic/TableGen.cpp:74:10
#19 0x0000558dc37c5c72 main /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/llvm-tblgen.cpp:18:35
#20 0x00007fda9824624a (/lib/x86_64-linux-gnu/libc.so.6+0x2724a)
#21 0x00007fda98246305 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27305)
#22 0x0000558dc33767e1 _start (/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen+0x267e1)
Aborted
[33/1386] Building AArch64GenSystemOperands.inc...
[34/1386] Building AArch64GenPostLegalizeGICombiner.inc...
FAILED: lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64 && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="AArch64PostLegalizerCombiner" -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPostLegalizeGICombiner.inc -d AArch64GenPostLegalizeGICombiner.inc.d && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64 /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/Target/AArch64/AArch64GenPostLegalizeGICombiner.inc.d /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/CMakeFiles/d/7a900003612279398a8e5467a7b5a1368e64c81bb9213296604069111c00cf7b.d
llvm-tblgen: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2615: virtual void (anonymous namespace)::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream &): Assertion `ExpectedID == ID && "combine rules are not ordered!"' 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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=AArch64PostLegalizerCombiner -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64 -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -I /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o AArch64GenPostLegalizeGICombiner.inc -d AArch64GenPostLegalizeGICombiner.inc.d
#0 0x0000561761fad9dd llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/Support/Unix/Signals.inc:804:11
```
</details>
https://github.com/llvm/llvm-project/pull/139715
More information about the llvm-commits
mailing list