fallback: translate: call llvm.smin.nxv2i8

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.smin.nxv2i8 M
Occurrences:6 in 4 configs, 1 test files, 1 more counted only
Snippet from:vmin-vp.f1bc6b25b6.ll (mutant of vmin-vp.ll) @vmin_vv_nxv2i8_unmasked via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+m,+zbs -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 2 x i8> @vmin_vv_nxv2i8_unmasked(<vscale x 2 x i8> %va, <vscale x 2 x i8> %b, i32 zeroext %evl) {
  %v = call <vscale x 2 x i8> @llvm.smin.nxv2i8(<vscale x 2 x i8> %va, <vscale x 2 x i8> %b)
  %C = icmp ult <vscale x 2 x i8> %va, %va
  store <vscale x 2 x i1> %C, ptr poison, align 1
  ret <vscale x 2 x i8> %v
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
vmin-vp.0d0d7ae1b4.ll (mutant of vmin-vp.ll)vmin_vv_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
vmin-vp.706bd6fc2c.ll (mutant of vmin-vp.ll)vmin_vv_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+f -O3
vmin-vp.706bd6fc2c.ll (mutant of vmin-vp.ll)vmin_vv_nxv2i8_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+f -O3
vmin-vp.daae4d2adf.ll (mutant of vmin-vp.ll)vmin_vv_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zihintpause,+zvbb -O0
vmin-vp.daae4d2adf.ll (mutant of vmin-vp.ll)vmin_vx_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zihintpause,+zvbb -O0
vmin-vp.f1bc6b25b6.ll (mutant of vmin-vp.ll)vmin_vv_nxv2i8_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+m,+zbs -O2

Generated 2026-11-29 14:49 UTC.