fallback: translate: call llvm.smin.nxv1i8

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

Snippet:

define <vscale x 1 x i8> @vmin_vv_nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 1 x i8> @llvm.smin.nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b)
  %B = or <vscale x 1 x i8> %v, %v
  store <vscale x 1 x i8> %B, ptr poison, align 1
  ret <vscale x 1 x i8> %v
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
vmin-vp.3699416bb4.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8_commute-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vmin-vp.3699416bb4.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vmin-vp.93de9095c6.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfa -O2
vmin-vp.f33760ff05.ll (mutant of vmin-vp.ll)vmin_vv_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0

Generated 2026-11-29 14:49 UTC.