| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | crash |
| Category: | Assertion failed: (getNumOpRegs(*Inst, InstFlagIdx) == 1 && "Wrong flag"), function lowerInlineAsm, file InlineAsmLowering.cpp |
| Occurrences: | 8 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 0x000055705768f54b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x000055705768c3f1 llvm::sys::RunSignalHandlers() + 369 2 llc 0x000055705768ffcb 3 libc.so.6 0x00007fa576645330 4 libc.so.6 0x00007fa57669ec0c pthread_kill + 284 5 libc.so.6 0x00007fa57664527e gsignal + 30 6 libc.so.6 0x00007fa5766288ff abort + 223 7 libc.so.6 0x00007fa57662881b 8 libc.so.6 0x00007fa57663b517 9 llc 0x0000557059773454 llvm::InlineAsmLowering::lowerInlineAsm(llvm::MachineIRBuilder&, llvm::CallBase const&, std::function<llvm::ArrayRef<llvm::Register> (llvm::Value const&)>) const + 11108 10 llc 0x000055705976245e llvm::IRTranslatorImpl::translateInlineAsm(llvm::CallBase const&, llvm::MachineIRBuilder&) + 110 11 llc 0x00005570597626cd llvm::IRTranslatorImpl::translateCall(llvm::User const&, llvm::MachineIRBuilder&) + 445 12 llc 0x000055705976b43d 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 0x000055705976c42d llvm::IRTranslatorLegacy::runOnMachineFunction(llvm::MachineFunction&) + 733 14 llc 0x0000557057c569ed llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 653 15 llc 0x00005570579e6d37 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 16 llc 0x00005570579ef232 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 17 llc 0x00005570579e7ae0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 18 llc 0x0000557057696ba8 llcMain + 12056 19 llc 0x00005570575d16af main + 63 20 libc.so.6 0x00007fa57662a1ca 21 libc.so.6 0x00007fa57662a28b __libc_start_main + 139 22 llc 0x00005570575d15a5 _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.0e41555ca5.ll (mutant of rv32-inline-asm-pairs.ll) | -mtriple=riscv32 -verify-machineinstrs | |
| rv32-inline-asm-pairs.a47f57e247.ll (mutant of rv32-inline-asm-pairs.ll) | -mtriple=riscv32 -verify-machineinstrs | |
| rv32-inline-asm-pairs.eb2596c215.ll (mutant of rv32-inline-asm-pairs.ll) | -mtriple=riscv32 -verify-machineinstrs | |
| rv64-inline-asm-pairs.374e23d8aa.ll (mutant of rv64-inline-asm-pairs.ll) | -mtriple=riscv64 -verify-machineinstrs | |
| rv64-inline-asm-pairs.d76aecf3dc.ll (mutant of rv64-inline-asm-pairs.ll) | -mtriple=riscv64 -verify-machineinstrs | |
| rv64-inline-asm-pairs.f0f851daed.ll (mutant of rv64-inline-asm-pairs.ll) | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.