fallback: translate: udiv i1

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: udiv i1 M
Occurrences:4 in 4 configs, 4 test files, 14 more counted only
Snippet from:zfhmin-imm.06b302e4d6.ll (mutant of zfhmin-imm.ll) @f16_positive_zero via llvm-extract
Config:-mtriple=riscv32 -target-abi ilp32 -mattr=+zhinxmin,+zfinx -O2 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

; Function Attrs: nounwind
define half @f16_positive_zero(ptr %pf) #0 {
  %B = udiv i1 true, true
  store i1 %B, ptr @G, align 1
  ret half 0.000000e+00
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
attributes.a7b9378b53.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+experimental-ssehv,+c,+zdinx -O2 -verify-machineinstrs
clmul.2a933e3b08.ll (mutant of clmul.ll)commutative_clmul_v2i64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zdinx,+c -O3
half-fcmp.1c41a41323.ll (mutant of half-fcmp.ll)fcmp_oge-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zicsr -O3
zfhmin-imm.06b302e4d6.ll (mutant of zfhmin-imm.ll)f16_positive_zero-mtriple=riscv32 -target-abi ilp32 -mattr=+zhinxmin,+zfinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.