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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: udiv <vscale x N x i1> M
Occurrences:7 in 7 configs, 7 test files, 84 more counted only
Snippet from:intrinsic-vector-match.2c94ddb3a2.ll (mutant of intrinsic-vector-match.ll) @match_nxv16i8_v8i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+xtheadba,+zcb -O3 -code-model=medium
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 16 x i1> @match_nxv16i8_v8i8(<vscale x 16 x i8> %op1, <8 x i8> %op2, <vscale x 16 x i1> %mask) {
  %B = udiv <vscale x 16 x i1> %mask, %mask
  ret <vscale x 16 x i1> %B
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+xtheadba,+zcb -O3 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+xtheadba,+zcb -O3 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (7):

InputFunctionConfig
intrinsic-vector-match.2c94ddb3a2.ll (mutant of intrinsic-vector-match.ll)match_nxv16i8_v8i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+xtheadba,+zcb -O3 -code-model=medium
named-vector-shuffle-reverse.f1bc982932.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv2i1-mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin,+zicond -O0
vfpext-vp.3c4db17422.ll (mutant of vfpext-vp.ll)vfpext_nxv32f16_nxv32f32-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh,+v,+zvfbfmin -O3
vmul-vp-mask.0ac1afdcc9.ll (mutant of vmul-vp-mask.ll)vmul_vv_nxv8i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zbb,+zicond -O3
vpscatter-sdnode.6428697a8e.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zbs -O1
vreductions-mask-vp.0128babadf.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv32i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1
vuitofp-vp-mask.d24bfa10f6.ll (mutant of vuitofp-vp-mask.ll)vuitofp_nxv2f16_nxv2i1-mtriple=riscv64 -mattr=+m,+v,+zvfh,+zvfbfmin -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.