fallback: translate: call llvm.smin.nxv1i8

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.smin.nxv1i8 M
Occurrences:7 in 6 configs, 1 test files, 2 more counted only
Snippet from:vmin-vp.e36bfadf5e.ll (mutant of vmin-vp.ll) @vmin_vv_nxv1i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -O1
Local check:reproduces at b577f07195
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)
  %C = icmp sle i128 1, 1
  store i1 %C, 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,+zfa -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -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.6581e5e387.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8_commute-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3
vmin-vp.cd95bb8cdd.ll (mutant of vmin-vp.ll)vmin_vv_nxv1i8_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 -code-model=medium
vmin-vp.cd95bb8cdd.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8_commute-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 -code-model=medium
vmin-vp.e32572ad92.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2
vmin-vp.e36bfadf5e.ll (mutant of vmin-vp.ll)vmin_vv_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -O1
vmin-vp.f1d557beb2.ll (mutant of vmin-vp.ll)vmin_vx_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh -O0
vmin-vp.f84d8f4704.ll (mutant of vmin-vp.ll)vmin_vv_nxv1i8_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1

Generated 2026-11-29 14:49 UTC.