| Run: | main-bc8218b282-20261015-074651 |
| Kind: | crash |
| Category: | Assertion failed: (getNumOpRegs(*Inst, InstFlagIdx) == 1 && "Wrong flag"), function lowerInlineAsm, file InlineAsmLowering.cpp |
| Occurrences: | 12 in 2 configs, 2 test files |
| Snippet from: | rv32-inline-asm-pairs.ll @test_Pr_wide_scalar_inout via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv32 -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | https://godbolt.org/z/f6Pe8cEj3 (llc-assertions-trunk, checked 2026-10-14 11:03 UTC): G reproduces |
define { ptr, i64 } @test_Pr_wide_scalar_inout() {
entry:
%0 = call { ptr, i64 } asm sideeffect "/* $0; $1 */", "=r,=R,0,1"(ptr null, i64 0)
ret { ptr, i64 } %0
}
| Pane | Options | Exit | Insts | stderr |
|---|---|---|---|---|
| GlobalISel | -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 134 | 0 | llc: /root/llvm-project/llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp:409: bool llvm::InlineAsmLowering::lowerInlineAsm(llvm::MachineIRBuilder&, const llvm::CallBase&, std::function<llvm::ArrayRef<llvm::Register>(const llvm::Value&)>) const: Assertion `getNumOpRegs(*Inst, InstFlagIdx) == 1 && "Wrong flag"' 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: |
| SelectionDAG (control) | -mtriple=riscv32 -verify-machineinstrs -global-isel=0 | 0 | 8 | - |
llc -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv32 -verify-machineinstrs -global-isel=0 snippet.ll -o -
llc: /home/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp:409: bool llvm::InlineAsmLowering::lowerInlineAsm(MachineIRBuilder &, const CallBase &, std::function<ArrayRef<Register> (const Value &)>) const: Assertion `getNumOpRegs(*Inst, InstFlagIdx) == 1 && "Wrong flag"' 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/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* -o - 1. Running pass 'Function Pass Manager' on module '<stdin>'. 2. Running pass 'IRTranslator' on function '@test_Pr_wide_scalar_inout' 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 llc 0x00005563a374f54b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x00005563a374c3f1 llvm::sys::RunSignalHandlers() + 369 2 llc 0x00005563a374ffcb 3 libc.so.6 0x00007f179ba45330 4 libc.so.6 0x00007f179ba9ec0c pthread_kill + 284 5 libc.so.6 0x00007f179ba4527e gsignal + 30 6 libc.so.6 0x00007f179ba288ff abort + 223 7 libc.so.6 0x00007f179ba2881b 8 libc.so.6 0x00007f179ba3b517 9 llc 0x00005563a5833454 llvm::InlineAsmLowering::lowerInlineAsm(llvm::MachineIRBuilder&, llvm::CallBase const&, std::function<llvm::ArrayRef<llvm::Register> (llvm::Value const&)>) const + 11108 10 llc 0x00005563a582245e llvm::IRTranslatorImpl::translateInlineAsm(llvm::CallBase const&, llvm::MachineIRBuilder&) + 110 11 llc 0x00005563a58226cd llvm::IRTranslatorImpl::translateCall(llvm::User const&, llvm::MachineIRBuilder&) + 445 12 llc 0x00005563a582b43d llvm::IRTranslatorImpl::runOnMachineFunction(llvm::MachineFunction&, llvm::function_ref<llvm::GISelCSEInfo* ()>, bool, llvm::function_ref<llvm::AAResults* ()>, llvm::function_ref<llvm::BranchProbabilityInfo* ()>, llvm::function_ref<llvm::AssumptionCache* ()>, llvm::TargetLibraryInfo*, llvm::LibcallLoweringInfo const*, llvm::SSPLayoutInfo*) + 4253 13 llc 0x00005563a582c42d llvm::IRTranslatorLegacy::runOnMachineFunction(llvm::MachineFunction&) + 733 14 llc 0x00005563a3d169ed llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 653 15 llc 0x00005563a3aa6d37 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 16 llc 0x00005563a3aaf232 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 17 llc 0x00005563a3aa7ae0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 18 llc 0x00005563a3756ba8 llcMain + 12056 19 llc 0x00005563a36916af main + 63 20 libc.so.6 0x00007f179ba2a1ca 21 libc.so.6 0x00007f179ba2a28b __libc_start_main + 139 22 llc 0x00005563a36915a5 _start + 37
| Input | Function | Config |
|---|---|---|
| rv32-inline-asm-pairs.ll | -mtriple=riscv32 -verify-machineinstrs | |
| rv64-inline-asm-pairs.ll | -mtriple=riscv64 -verify-machineinstrs | |
| rv32-inline-asm-pairs.372ce90a89.ll (mutant of rv32-inline-asm-pairs.ll) | -mtriple=riscv32 -verify-machineinstrs | |
| rv32-inline-asm-pairs.64cbbc7229.ll (mutant of rv32-inline-asm-pairs.ll) | -mtriple=riscv32 -verify-machineinstrs | |
| rv32-inline-asm-pairs.73a3a4d038.ll (mutant of rv32-inline-asm-pairs.ll) | -mtriple=riscv32 -verify-machineinstrs | |
| rv32-inline-asm-pairs.a5866451ae.ll (mutant of rv32-inline-asm-pairs.ll) | -mtriple=riscv32 -verify-machineinstrs | |
| rv32-inline-asm-pairs.c5db70aa2a.ll (mutant of rv32-inline-asm-pairs.ll) | -mtriple=riscv32 -verify-machineinstrs | |
| rv64-inline-asm-pairs.20d24ae178.ll (mutant of rv64-inline-asm-pairs.ll) | -mtriple=riscv64 -verify-machineinstrs | |
| rv64-inline-asm-pairs.6a922c70c0.ll (mutant of rv64-inline-asm-pairs.ll) | -mtriple=riscv64 -verify-machineinstrs | |
| rv64-inline-asm-pairs.855514f876.ll (mutant of rv64-inline-asm-pairs.ll) | -mtriple=riscv64 -verify-machineinstrs | |
| rv64-inline-asm-pairs.bb32bbd5f1.ll (mutant of rv64-inline-asm-pairs.ll) | -mtriple=riscv64 -verify-machineinstrs | |
| rv64-inline-asm-pairs.e6f84b1ca6.ll (mutant of rv64-inline-asm-pairs.ll) | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.