| Run: | explore-b577f07195-20261129-105236 |
| Kind: | crash |
| Category: | Unhandled predicate M |
| Occurrences: | 3 in 3 configs, 3 test files, 72 more counted only |
| Snippet from: | double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.81bbaa0b.910f243f.d969240b.83b230113e.ll (mutant of double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.81bbaa0b.910f243f.d969240b.ll) @fcvt_wu_s_i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+a -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | https://godbolt.org/z/bWsEhfoW8 (llc-assertions-trunk, checked 2026-11-29 14:48 UTC): G reproduces |
@G = external global i1
@G.8 = external global double
@G.15 = external global i1
@G.20 = external global <4 x i32>
; Function Attrs: nounwind
define zeroext i8 @fcvt_wu_s_i8(double %a) #0 {
%A2 = alloca <4 x i32>, align 16
store <4 x i32> poison, ptr %A2, align 16
%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
%G = getelementptr ptr, ptr %A5, i64 -1
%A = alloca i1, align 1
store i1 false, ptr %A, align 1
%C = fcmp true double %a, 4.940660e-324
%C3 = fcmp ole double %a, %L1
store i1 %C3, ptr poison, align 1
br i1 %C, label %T, label %F
BB: ; preds = %F, %T
%C1 = fcmp ugt double %a, %a
%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
store i1 %C1, ptr poison, align 1
store i8 %1, ptr %A5, align 1
ret i8 %1
T: ; preds = %T, %0
%L = load i1, ptr %A, align 1
%C4 = icmp sge i1 %L, %L
%B4 = shl i1 %L, %L
%B1 = or i1 %L, %C
store i1 %B4, ptr %A5, align 1
store i1 %B4, ptr @G.15, align 1
store i1 %C4, ptr @G.15, align 1
%B5 = mul i1 %C3, %C3
store i1 %B5, ptr @G, align 1
br i1 %B1, label %T, label %BB
F: ; preds = %0
%G1 = getelementptr double, ptr %A2, i1 %C3
%LGV = load i1, ptr @G.15, align 1
%B2 = srem <4 x i32> zeroinitializer, splat (i32 42)
%B6 = xor <4 x i32> %B2, zeroinitializer
%B3 = udiv i1 %LGV, true
store <4 x i32> %B2, ptr poison, align 16
store i1 %B3, ptr @G, align 1
store <4 x i32> %B2, ptr %A2, align 16
store ptr %G1, ptr %A2, align 8
store <4 x i32> %B6, ptr @G.20, align 16
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,+a -O2 -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,+a -O2 -global-isel=0 | 0 | 39 | - |
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+a -O2 -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,+a -O2 -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,+a -O2 -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 0x000055cde03679eb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x000055cde03649c1 llvm::sys::RunSignalHandlers() + 369 2 llc 0x000055cde036846b 3 libc.so.6 0x00007fc946245330 4 libc.so.6 0x00007fc94629ebec pthread_kill + 284 5 libc.so.6 0x00007fc94624527e gsignal + 30 6 libc.so.6 0x00007fc9462288ff abort + 223 7 llc 0x000055cde02c025f 8 llc 0x000055cdde9e165e 9 llc 0x000055cdde9d5a63 10 llc 0x000055cde0c605b7 llvm::InstructionSelectImpl::selectMachineFunction(llvm::MachineFunction&) + 1255 11 llc 0x000055cde0c61d51 llvm::InstructionSelectLegacy::runOnMachineFunction(llvm::MachineFunction&) + 417 12 llc 0x000055cddefe16b1 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 513 13 llc 0x000055cddf57cb37 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 14 llc 0x000055cddf585052 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 15 llc 0x000055cddf57d8e0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 16 llc 0x000055cdde7d8149 17 llc 0x000055cdde7d52d3 main + 1747 18 libc.so.6 0x00007fc94622a1ca 19 libc.so.6 0x00007fc94622a28b __libc_start_main + 139 20 llc 0x000055cdde7d43e5 _start + 37
| Input | Function | Config |
|---|---|---|
| double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.81bbaa0b.910f243f.d969240b.83b230113e.ll (mutant of double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.84a31932.81bbaa0b.910f243f.d969240b.ll) | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zicond,+zvbb,+zfh,+a -O2 | |
| double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.b6fe42c2.07e9d1fc.346d151e.bb3579e365.ll (mutant of double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.b6fe42c2.07e9d1fc.346d151e.ll) | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+f,+zvbb,+zvkb,+zfa,+zfh,+xtheadba,+zihintpause -O3 | |
| double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.b6fe42c2.3dad1bae.8b22cfcc.7724dada.39d0d9f022.ll (mutant of double-convert.9733cb1e.ef308d9b.a54c1633.3407dbf1.a5226c28.b6fe42c2.3dad1bae.8b22cfcc.7724dada.ll) | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+d,+zicond,+zvbb,+zvkb,+zfa,+zbkb,+zvfh -O1 |
Generated 2026-11-29 14:49 UTC.