fallback: translate: call llvm.smin.nxv32i16

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.smin.nxv32i16 M
Occurrences:6 in 3 configs, 1 test files, 1 more counted only
Snippet from:vmin-vp.70f08fc436.ll (mutant of vmin-vp.ll) @vmin_vv_nxv32i16_unmasked via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 32 x i16> @vmin_vv_nxv32i16_unmasked(<vscale x 32 x i16> %va, <vscale x 32 x i16> %b, i32 zeroext %evl) {
  %A = alloca i128, align 8
  store i128 poison, ptr %A, align 4
  %B = urem i128 0, -170141183460469231731687303715884105728
  %v = call <vscale x 32 x i16> @llvm.smin.nxv32i16(<vscale x 32 x i16> %va, <vscale x 32 x i16> %b)
  store i128 %B, ptr %A, align 4
  ret <vscale x 32 x i16> %v
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 32 x i16> @llvm.smin.nxv32i16(<vscale x 32 x i16>, <vscale x 32 x i16>) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.smin.nxv32i16: '  %v = call <vscale x 32 x i16> @llvm.smin.nxv32i16(<vscale x 32 x i16> %va, <vscale x 32 x i16> %b)' (in function: vmin_vv_nxv32i16_unmasked)
warning: Instruction selection used fallback path for vmin_vv_nxv32i16_unmasked

Occurrences (6):

InputFunctionConfig
vmin-vp.70f08fc436.ll (mutant of vmin-vp.ll)vmin_vv_nxv32i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vmin-vp.70f08fc436.ll (mutant of vmin-vp.ll)vmin_vx_nxv32i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vmin-vp.9b753ee901.ll (mutant of vmin-vp.ll)vmin_vx_nxv32i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vmin-vp.c4aac323fd.ll (mutant of vmin-vp.ll)vmin_vx_nxv32i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1
vmin-vp.c4aac323fd.ll (mutant of vmin-vp.ll)vmin_vx_nxv32i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1
vmin-vp.f33760ff05.ll (mutant of vmin-vp.ll)vmin_vv_nxv32i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0

Generated 2026-11-29 14:49 UTC.