[llvm] [TableGen] Avoid assignmentInAssert warning (PR #139715)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 05:13:42 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `hip-third-party-libs-test` running on `ext_buildbot_hw_05-hip-docker` while building `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/206/builds/212
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py --jobs=32' (failure)
...
[5026/7809] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/JITLinkRedirectableSymbolManager.cpp.o
[5027/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebugInfoSupport.cpp.o
[5028/7809] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ReOptimizeLayer.cpp.o
[5029/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupport.cpp.o
[5030/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupportPlugin.cpp.o
[5031/7809] Building Options.inc...
[5032/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/PerfSupportPlugin.cpp.o
[5033/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/VTuneSupportPlugin.cpp.o
[5034/7809] Building Options.inc...
[5035/7809] Building SPIRVGenPreLegalizeGICombiner.inc...
FAILED: lib/Target/SPIRV/SPIRVGenPreLegalizeGICombiner.inc /home/botworker/bbot/hip-third-party-libs-test/build/lib/Target/SPIRV/SPIRVGenPreLegalizeGICombiner.inc
cd /home/botworker/bbot/hip-third-party-libs-test/build/lib/Target/SPIRV && /home/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="SPIRVPreLegalizerCombiner" -I /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target/SPIRV -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -I /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target/SPIRV/SPIRV.td --write-if-changed -o /home/botworker/bbot/hip-third-party-libs-test/build/lib/Target/SPIRV/SPIRVGenPreLegalizeGICombiner.inc
llvm-tblgen: /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2615: virtual void {anonymous}::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/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=SPIRVPreLegalizerCombiner -I /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target/SPIRV -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -I /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target/SPIRV/SPIRV.td --write-if-changed -o /home/botworker/bbot/hip-third-party-libs-test/build/lib/Target/SPIRV/SPIRVGenPreLegalizeGICombiner.inc
#0 0x000079f2ddff3050 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/botworker/bbot/hip-third-party-libs-test/build/bin/../lib/libLLVMSupport.so.21.0git+0x1f3050)
#1 0x000079f2ddff045f llvm::sys::RunSignalHandlers() (/home/botworker/bbot/hip-third-party-libs-test/build/bin/../lib/libLLVMSupport.so.21.0git+0x1f045f)
#2 0x000079f2ddff05aa SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079f2dd9ed520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079f2dda419fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
#5 0x000079f2dd9ed476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#6 0x000079f2dd9d37f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#7 0x000079f2dd9d371b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
#8 0x000079f2dd9e4e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#9 0x00005defb803bc7b (anonymous namespace)::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream&) GlobalISelCombinerEmitter.cpp:0:0
#10 0x00005defb7e8e849 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/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen+0x86849)
#11 0x00005defb8054a18 EmitGICombiner(llvm::RecordKeeper const&, llvm::raw_ostream&) GlobalISelCombinerEmitter.cpp:0:0
#12 0x000079f2de147dbf llvm::TableGen::Emitter::ApplyCallback(llvm::RecordKeeper const&, llvm::raw_ostream&) (/home/botworker/bbot/hip-third-party-libs-test/build/bin/../lib/libLLVMTableGen.so.21.0git+0x5adbf)
#13 0x000079f2de10fe5d llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper const&)>) (/home/botworker/bbot/hip-third-party-libs-test/build/bin/../lib/libLLVMTableGen.so.21.0git+0x22e5d)
#14 0x00005defb7e58ff8 tblgen_main(int, char**) (/home/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen+0x50ff8)
#15 0x000079f2dd9d4d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#16 0x000079f2dd9d4e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#17 0x00005defb7e1f985 _start (/home/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen+0x17985)
Aborted (core dumped)
[5036/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/LLJITUtilsCBindings.cpp.o
[5037/7809] Building Options.inc...
[5038/7809] Building Opts.inc...
[5039/7809] Building Options.inc...
[5040/7809] Building Opts.inc...
[5041/7809] Building Opts.inc...
[5042/7809] Building Opts.inc...
[5043/7809] Building Opts.inc...
[5044/7809] Building Opts.inc...
[5045/7809] Building Options.inc...
[5046/7809] Building CXX object lib/ToolDrivers/llvm-dlltool/CMakeFiles/LLVMDlltoolDriver.dir/DlltoolDriver.cpp.o
[5047/7809] Building CXX object lib/ToolDrivers/llvm-lib/CMakeFiles/LLVMLibDriver.dir/LibDriver.cpp.o
[5048/7809] Building CXX object tools/lli/ChildTarget/CMakeFiles/lli-child-target.dir/ChildTarget.cpp.o
[5049/7809] Building R600GenDAGISel.inc...
Step 7 (build cmake config) failure: build cmake config (failure)
...
[5026/7809] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/JITLinkRedirectableSymbolManager.cpp.o
[5027/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebugInfoSupport.cpp.o
[5028/7809] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ReOptimizeLayer.cpp.o
[5029/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupport.cpp.o
[5030/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupportPlugin.cpp.o
[5031/7809] Building Options.inc...
[5032/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/PerfSupportPlugin.cpp.o
[5033/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/VTuneSupportPlugin.cpp.o
[5034/7809] Building Options.inc...
[5035/7809] Building SPIRVGenPreLegalizeGICombiner.inc...
FAILED: lib/Target/SPIRV/SPIRVGenPreLegalizeGICombiner.inc /home/botworker/bbot/hip-third-party-libs-test/build/lib/Target/SPIRV/SPIRVGenPreLegalizeGICombiner.inc
cd /home/botworker/bbot/hip-third-party-libs-test/build/lib/Target/SPIRV && /home/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners="SPIRVPreLegalizerCombiner" -I /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target/SPIRV -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -I /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target/SPIRV/SPIRV.td --write-if-changed -o /home/botworker/bbot/hip-third-party-libs-test/build/lib/Target/SPIRV/SPIRVGenPreLegalizeGICombiner.inc
llvm-tblgen: /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2615: virtual void {anonymous}::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/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen -gen-global-isel-combiner -combiners=SPIRVPreLegalizerCombiner -I /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target/SPIRV -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -I /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Target/SPIRV/SPIRV.td --write-if-changed -o /home/botworker/bbot/hip-third-party-libs-test/build/lib/Target/SPIRV/SPIRVGenPreLegalizeGICombiner.inc
#0 0x000079f2ddff3050 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/botworker/bbot/hip-third-party-libs-test/build/bin/../lib/libLLVMSupport.so.21.0git+0x1f3050)
#1 0x000079f2ddff045f llvm::sys::RunSignalHandlers() (/home/botworker/bbot/hip-third-party-libs-test/build/bin/../lib/libLLVMSupport.so.21.0git+0x1f045f)
#2 0x000079f2ddff05aa SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079f2dd9ed520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079f2dda419fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
#5 0x000079f2dd9ed476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#6 0x000079f2dd9d37f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#7 0x000079f2dd9d371b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
#8 0x000079f2dd9e4e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#9 0x00005defb803bc7b (anonymous namespace)::GICombinerEmitter::emitTestSimplePredicate(llvm::raw_ostream&) GlobalISelCombinerEmitter.cpp:0:0
#10 0x00005defb7e8e849 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/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen+0x86849)
#11 0x00005defb8054a18 EmitGICombiner(llvm::RecordKeeper const&, llvm::raw_ostream&) GlobalISelCombinerEmitter.cpp:0:0
#12 0x000079f2de147dbf llvm::TableGen::Emitter::ApplyCallback(llvm::RecordKeeper const&, llvm::raw_ostream&) (/home/botworker/bbot/hip-third-party-libs-test/build/bin/../lib/libLLVMTableGen.so.21.0git+0x5adbf)
#13 0x000079f2de10fe5d llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper const&)>) (/home/botworker/bbot/hip-third-party-libs-test/build/bin/../lib/libLLVMTableGen.so.21.0git+0x22e5d)
#14 0x00005defb7e58ff8 tblgen_main(int, char**) (/home/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen+0x50ff8)
#15 0x000079f2dd9d4d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#16 0x000079f2dd9d4e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#17 0x00005defb7e1f985 _start (/home/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-tblgen+0x17985)
Aborted (core dumped)
[5036/7809] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/LLJITUtilsCBindings.cpp.o
[5037/7809] Building Options.inc...
[5038/7809] Building Opts.inc...
[5039/7809] Building Options.inc...
[5040/7809] Building Opts.inc...
[5041/7809] Building Opts.inc...
[5042/7809] Building Opts.inc...
[5043/7809] Building Opts.inc...
[5044/7809] Building Opts.inc...
[5045/7809] Building Options.inc...
[5046/7809] Building CXX object lib/ToolDrivers/llvm-dlltool/CMakeFiles/LLVMDlltoolDriver.dir/DlltoolDriver.cpp.o
[5047/7809] Building CXX object lib/ToolDrivers/llvm-lib/CMakeFiles/LLVMLibDriver.dir/LibDriver.cpp.o
[5048/7809] Building CXX object tools/lli/ChildTarget/CMakeFiles/lli-child-target.dir/ChildTarget.cpp.o
[5049/7809] Building R600GenDAGISel.inc...
```
</details>
https://github.com/llvm/llvm-project/pull/139715
More information about the llvm-commits
mailing list