| Run: | main-d9924131a4-20261128-102057 |
| Kind: | crash |
| Category: | Assertion failed: (MI->getOpcode() == RISCV::QC_C_MILEAVERET && "Unexpected QCI Interrupt Return Instruction"), function restoreCalleeSavedRegisters, file RISCVFrameLowering.cpp M |
| Occurrences: | 8 in 2 configs, 1 test files |
| Snippet from: | qci-interrupt-zilsd.c64e08e3aa.ll (mutant of qci-interrupt-zilsd.ll) @test_nest_empty via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | https://godbolt.org/z/vzrbcrYx6 (llc-assertions-trunk, checked 2026-11-27 11:50 UTC): G reproduces |
@G = external global float
define void @test_nest_empty() #0 {
%LGV = load float, ptr @G, align 4
%C = fcmp ogt float %LGV, 1.000000e+00
store i1 %C, ptr poison, align 1
ret void
}
attributes #0 = { "interrupt"="qci-nest" }
| Pane | Options | Exit | Insts | stderr |
|---|---|---|---|---|
| GlobalISel | -mtriple=riscv32 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 134 | 0 | llc: /root/llvm-project/llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:2753: virtual bool llvm::RISCVFrameLowering::restoreCalleeSavedRegisters(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, llvm::MutableArrayRef<llvm::CalleeSavedInfo>, const llvm::TargetRegisterInfo*) const: Assertion `MI->getOpcode() == RISCV::QC_C_MILEAVERET && "Unexpected QCI Interrupt Return Instruction"' 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 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs -global-isel=0 | 0 | 24 | - |
llc -mtriple=riscv32 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv32 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs -global-isel=0 snippet.ll -o -
llc: /home/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:2929: virtual bool llvm::RISCVFrameLowering::restoreCalleeSavedRegisters(MachineBasicBlock &, MachineBasicBlock::iterator, MutableArrayRef<CalleeSavedInfo>, const TargetRegisterInfo *) const: Assertion `MI->getOpcode() == RISCV::QC_C_MILEAVERET && "Unexpected QCI Interrupt Return Instruction"' 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 -mattr=+xqciint,+zilsd,+zclsd,+c -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 'Prologue/Epilogue Insertion & Frame Finalization' on function '@test_nest_empty' 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 0x000055e837044b5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x000055e837041b31 llvm::sys::RunSignalHandlers() + 369 2 llc 0x000055e8370455db 3 libc.so.6 0x00007f7651445330 4 libc.so.6 0x00007f765149ebec pthread_kill + 284 5 libc.so.6 0x00007f765144527e gsignal + 30 6 libc.so.6 0x00007f76514288ff abort + 223 7 libc.so.6 0x00007f765142881b 8 libc.so.6 0x00007f765143b517 9 llc 0x000055e835521b2d 10 llc 0x000055e835eb6894 11 llc 0x000055e835ebb777 12 llc 0x000055e835cbd891 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 513 13 llc 0x000055e8362597f7 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 14 llc 0x000055e836261d12 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 15 llc 0x000055e83625a5a0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 16 llc 0x000055e8354b48c9 17 llc 0x000055e8354b1a53 main + 1747 18 libc.so.6 0x00007f765142a1ca 19 libc.so.6 0x00007f765142a28b __libc_start_main + 139 20 llc 0x000055e8354b0b65 _start + 37
| Input | Function | Config |
|---|---|---|
| qci-interrupt-zilsd.7c9874e49b.ll (mutant of qci-interrupt-zilsd.ll) | -mtriple=riscv32 -mattr=+xqciint,+zilsd -verify-machineinstrs | |
| qci-interrupt-zilsd.7d0d8485d4.ll (mutant of qci-interrupt-zilsd.ll) | -mtriple=riscv32 -mattr=+xqciint,+zilsd -verify-machineinstrs | |
| qci-interrupt-zilsd.c64e08e3aa.ll (mutant of qci-interrupt-zilsd.ll) | -mtriple=riscv32 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs | |
| qci-interrupt-zilsd.cb0cb7be4d.ll (mutant of qci-interrupt-zilsd.ll) | -mtriple=riscv32 -mattr=+xqciint,+zilsd -verify-machineinstrs | |
| qci-interrupt-zilsd.d9b582e3f6.ll (mutant of qci-interrupt-zilsd.ll) | -mtriple=riscv32 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs | |
| qci-interrupt-zilsd.db1ba585af.ll (mutant of qci-interrupt-zilsd.ll) | -mtriple=riscv32 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs | |
| qci-interrupt-zilsd.db68108735.ll (mutant of qci-interrupt-zilsd.ll) | -mtriple=riscv32 -mattr=+xqciint,+zilsd -verify-machineinstrs | |
| qci-interrupt-zilsd.e97e97a17f.ll (mutant of qci-interrupt-zilsd.ll) | -mtriple=riscv32 -mattr=+xqciint,+zilsd,+zclsd,+c -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.