fallback: translate: call llvm.smin.nxv32i32

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.smin.nxv32i32 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:vmin-vp.679009ce08.ll (mutant of vmin-vp.ll) @vmin_vx_nxv32i32_evl_nx8 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 32 x i32> @vmin_vx_nxv32i32_evl_nx8(<vscale x 32 x i32> %va, i32 %b, <vscale x 32 x i1> %m) {
  %B = sdiv i32 %b, -2147483648
  %elt.head = insertelement <vscale x 32 x i32> poison, i32 %B, i32 0
  %vb = shufflevector <vscale x 32 x i32> %elt.head, <vscale x 32 x i32> poison, <vscale x 32 x i32> zeroinitializer
  %v = call <vscale x 32 x i32> @llvm.smin.nxv32i32(<vscale x 32 x i32> %va, <vscale x 32 x i32> %vb)
  ret <vscale x 32 x i32> %v
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (2):

InputFunctionConfig
vmin-vp.679009ce08.ll (mutant of vmin-vp.ll)vmin_vx_nxv32i32_evl_nx8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vmin-vp.b5cd7ca1b8.ll (mutant of vmin-vp.ll)vmin_vx_nxv32i32_evl_nx8-mtriple=riscv64 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.