fallback: translate: sdiv i1

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sdiv i1 M
Occurrences:3 in 3 configs, 3 test files, 23 more counted only
Snippet from:double-select-icmp.7f1a0c92d6.ll (mutant of double-select-icmp.ll) @select_icmp_uge via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zve32x -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define double @select_icmp_uge(i32 signext %a, i32 signext %b, double %c, double %d) {
  %B = sdiv i1 true, false
  %1 = select i1 %B, double %c, double %d
  ret double %1
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zve32x -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zve32x -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sdiv: '  %B = sdiv i1 true, false' (in function: select_icmp_uge)
warning: Instruction selection used fallback path for select_icmp_uge

Occurrences (3):

InputFunctionConfig
double-select-icmp.7f1a0c92d6.ll (mutant of double-select-icmp.ll)select_icmp_uge-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx,+zve32x -O1
fastcc-without-f-reg.d0f15b1b5d.ll (mutant of fastcc-without-f-reg.ll)h-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
half-mem.152fce1d54.ll (mutant of half-mem.ll)flh_stack-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O1

Generated 2026-11-29 14:49 UTC.