| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | crash |
| Category: | Unhandled predicate M |
| Occurrences: | 3 in 3 configs, 3 test files, 31 more counted only |
| Snippet from: | double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.81bbaa0b.70356aba99.ll (mutant of double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.81bbaa0b.ll) @fcvt_wu_s_i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+zfhmin,+zbb -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | https://godbolt.org/z/T3T16cfeE (llc-assertions-trunk, checked 2026-11-27 15:30 UTC): G reproduces |
@G = external global i1
@G.8 = external global double
@G.15 = external global i1
@G.17 = external global double
; Function Attrs: nounwind
define zeroext i8 @fcvt_wu_s_i8(double %a) #0 {
%A5 = alloca i1, align 1
store i1 poison, ptr %A5, align 1
%A3 = alloca i1, align 1
%L1 = load double, ptr %A3, align 8
store i1 poison, ptr %A3, align 1
%A = alloca i1, align 1
store i1 false, ptr %A, align 1
%C = fcmp true double %a, 4.940660e-324
%G = getelementptr double, ptr %A, i128 -1
%C3 = fcmp ole double %a, %L1
store i1 %C3, ptr poison, align 1
store ptr %G, ptr poison, align 8
br i1 %C, label %T, label %F
BB: ; preds = %F, %T
%B = fdiv double %a, %a
store i1 %C, ptr @G, align 1
store double %B, ptr @G.8, align 8
%C2 = fcmp oeq float f0x7F7FFFFF, 4.200000e+01
%1 = fptoui double %a to i8
store i1 %C2, ptr %A3, align 1
ret i8 %1
T: ; preds = %T, %0
%L = load i1, ptr %A, align 1
%B4 = shl i1 %L, %L
%B5 = frem double %L1, +qnan
%B1 = or i1 %L, %C
store i1 %B4, ptr %A5, align 1
%C10 = fcmp uge double 1.000000e+00, %B5
store double %B5, ptr @G.17, align 8
store i1 %C10, ptr poison, align 1
br i1 %B1, label %T, label %BB
F: ; preds = %0
%LGV = load i1, ptr @G.15, align 1
%B2 = srem <4 x i32> zeroinitializer, splat (i32 42)
%B3 = udiv i1 %LGV, true
store <4 x i32> %B2, ptr poison, align 16
store i1 %B3, ptr @G, align 1
br label %BB
}
attributes #0 = { nounwind }
| Pane | Options | Exit | Insts | stderr |
|---|---|---|---|---|
| GlobalISel | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+zfhmin,+zbb -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 134 | 0 | Unhandled predicate UNREACHABLE executed at /root/llvm-project/llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp:2295! PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. |
| SelectionDAG (control) | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+zfhmin,+zbb -O1 -global-isel=0 | 0 | 52 | - |
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+zfhmin,+zbb -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+zfhmin,+zbb -O1 -global-isel=0 snippet.ll -o -
Unhandled predicate UNREACHABLE executed at /home/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp:2295! 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=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+zfhmin,+zbb -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* -o - 1. Running pass 'Function Pass Manager' on module '<stdin>'. 2. Running pass 'InstructionSelect' on function '@fcvt_wu_s_i8' 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 0x0000557c3f0e8c1b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x0000557c3f0e5bf1 llvm::sys::RunSignalHandlers() + 369 2 llc 0x0000557c3f0e969b 3 libc.so.6 0x00007fb85c045330 4 libc.so.6 0x00007fb85c09ebec pthread_kill + 284 5 libc.so.6 0x00007fb85c04527e gsignal + 30 6 libc.so.6 0x00007fb85c0288ff abort + 223 7 llc 0x0000557c3f04156f 8 llc 0x0000557c3d761bce 9 llc 0x0000557c3d755fd3 10 llc 0x0000557c3f9e1b17 llvm::InstructionSelectImpl::selectMachineFunction(llvm::MachineFunction&) + 1255 11 llc 0x0000557c3f9e32b1 llvm::InstructionSelectLegacy::runOnMachineFunction(llvm::MachineFunction&) + 417 12 llc 0x0000557c3dd61761 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 513 13 llc 0x0000557c3e2fda77 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 14 llc 0x0000557c3e305f92 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 15 llc 0x0000557c3e2fe820 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 16 llc 0x0000557c3d558689 17 llc 0x0000557c3d555813 main + 1747 18 libc.so.6 0x00007fb85c02a1ca 19 libc.so.6 0x00007fb85c02a28b __libc_start_main + 139 20 llc 0x0000557c3d554925 _start + 37
| Input | Function | Config |
|---|---|---|
| double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.60bbbcae.83ddf06c21.ll (mutant of double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.60bbbcae.ll) | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+zicond,+zvbb,+zicsr -O3 | |
| double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.81bbaa0b.70356aba99.ll (mutant of double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.81bbaa0b.ll) | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+zfhmin,+zbb -O1 | |
| double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.b6fe42c2.eb536c71.23e0106c2e.ll (mutant of double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.b6fe42c2.eb536c71.ll) | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zcb -O1 |
Generated 2026-11-29 14:49 UTC.