fallback: translate: sdiv <vscale x N x i1>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sdiv <vscale x N x i1> M
Occurrences:5 in 5 configs, 5 test files, 101 more counted only
Snippet from:vreductions-mask.fb62889de2.ll (mutant of vreductions-mask.ll) @vreduce_umin_nxv256i1 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define zeroext i1 @vreduce_umin_nxv256i1(<vscale x 256 x i1> %v) {
  %B = sdiv <vscale x 256 x i1> %v, %v
  %red = call i1 @llvm.vector.reduce.umin.nxv256i1(<vscale x 256 x i1> %v)
  store <vscale x 256 x i1> %B, ptr poison, align 32
  ret i1 %red
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.vector.reduce.umin.nxv256i1(<vscale x 256 x i1>) #0

attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sdiv: '  %B = sdiv <vscale x 256 x i1> %v, %v' (in function: vreduce_umin_nxv256i1)
warning: Instruction selection used fallback path for vreduce_umin_nxv256i1

Occurrences (5):

InputFunctionConfig
vmfge-bf.010201f0b3.ll (mutant of vmfge-bf.ll)intrinsic_vmfge_mask_vv_nxv8bf16_nxv8bf16-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+v,+experimental-zvfbfa -O3
vmsle.a261d42664.ll (mutant of vmsle.ll)intrinsic_vmsle_mask_vv_nxv8i16_nxv8i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3
vmsleu.bb8d2d8b33.ll (mutant of vmsleu.ll)intrinsic_vmsleu_mask_vv_nxv2i8_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbkb,+a -O0 -code-model=medium
vreductions-int-vp.8d01a72069.ll (mutant of vreductions-int-vp.ll)vpreduce_add_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicond -O3
vreductions-mask.fb62889de2.ll (mutant of vreductions-mask.ll)vreduce_umin_nxv256i1-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v -O0

Generated 2026-11-29 14:49 UTC.