fallback: translate: call llvm.vp.udiv.nxv1i16

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.udiv.nxv1i16 M
Occurrences:4 in 3 configs, 1 test files, 1 more counted only
Snippet from:vdivu-vp.0c851512ce.ll (mutant of vdivu-vp.ll) @vdivu_vv_nxv1i16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 1 x i16> @vdivu_vv_nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 1 x i16> @llvm.vp.udiv.nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b, <vscale x 1 x i1> %m, i32 %evl)
  %B = sdiv <vscale x 1 x i16> %v, zeroinitializer
  ret <vscale x 1 x i16> %B
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 1 x i16> @llvm.vp.udiv.nxv1i16(<vscale x 1 x i16>, <vscale x 1 x i16>, <vscale x 1 x i1>, i32) #0

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

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.udiv.nxv1i16: '  %v = call <vscale x 1 x i16> @llvm.vp.udiv.nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b, <vscale x 1 x i1> %m, i32 %evl)' (in function: vdivu_vv_nxv1i16)
warning: Instruction selection used fallback path for vdivu_vv_nxv1i16

Occurrences (4):

InputFunctionConfig
vdivu-vp.0b79b827cb.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv1i16_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
vdivu-vp.0c851512ce.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv1i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small
vdivu-vp.0c851512ce.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv1i16_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small
vdivu-vp.7437262192.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv1i16_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbkb -O2

Generated 2026-11-29 14:49 UTC.