fallback: translate: call llvm.smin.nxv8i64

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.smin.nxv8i64 M
Occurrences:5 in 5 configs, 1 test files, 1 more counted only
Snippet from:vmin-vp.5ad50040e3.ll (mutant of vmin-vp.ll) @vmin_vv_nxv8i64_unmasked 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 8 x i64> @vmin_vv_nxv8i64_unmasked(<vscale x 8 x i64> %va, <vscale x 8 x i64> %b, i32 zeroext %evl) {
  %A = alloca i32, align 4
  store i32 poison, ptr %A, align 4
  %B = srem i32 %evl, %evl
  %v = call <vscale x 8 x i64> @llvm.smin.nxv8i64(<vscale x 8 x i64> %va, <vscale x 8 x i64> %b)
  store i32 %B, ptr %A, align 4
  ret <vscale x 8 x i64> %v
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 8 x i64> @llvm.smin.nxv8i64(<vscale x 8 x i64>, <vscale x 8 x i64>) #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.nxv8i64: '  %v = call <vscale x 8 x i64> @llvm.smin.nxv8i64(<vscale x 8 x i64> %va, <vscale x 8 x i64> %b)' (in function: vmin_vv_nxv8i64_unmasked)
warning: Instruction selection used fallback path for vmin_vv_nxv8i64_unmasked

Occurrences (5):

InputFunctionConfig
vmin-vp.4bb38f1b83.ll (mutant of vmin-vp.ll)vmin_vv_nxv8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3
vmin-vp.5ad50040e3.ll (mutant of vmin-vp.ll)vmin_vv_nxv8i64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0
vmin-vp.723bb504e6.ll (mutant of vmin-vp.ll)vmin_vv_nxv8i64-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a,+zbkb -O3
vmin-vp.8978c1eeef.ll (mutant of vmin-vp.ll)vmin_vv_nxv8i64-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve32x -O3
vmin-vp.9b753ee901.ll (mutant of vmin-vp.ll)vmin_vx_nxv8i64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2

Generated 2026-11-29 14:49 UTC.