fallback: translate: call llvm.smin.nxv1i8

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.smin.nxv1i8 M
Occurrences:7 in 7 configs, 1 test files, 1 more counted only
Snippet from:vmin-vp.7a2588dbd9.ll (mutant of vmin-vp.ll) @vmin_vv_nxv1i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1
Local check:reproduces at d9924131a4
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 = sub <vscale x 1 x i8> %v, %va
  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 -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 -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 (7):

InputFunctionConfig
vmin-vp.0a297e4427.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0
vmin-vp.0d0d7ae1b4.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8_commute-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
vmin-vp.5622250c22.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa,+c -O1
vmin-vp.5c43616ef6.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvkb,+zba -O1
vmin-vp.631830a2b0.ll (mutant of vmin-vp.ll)vmin_vv_nxv1i8_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfhmin -O1
vmin-vp.7a2588dbd9.ll (mutant of vmin-vp.ll)vmin_vv_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1
vmin-vp.fbcdabecab.ll (mutant of vmin-vp.ll)vmin_vv_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2

Generated 2026-11-29 14:49 UTC.