fallback: translate: call llvm.vp.reduce.smin.nxv1i8

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.reduce.smin.nxv1i8 M
Occurrences:6 in 6 configs, 1 test files
Snippet from:vreductions-int-vp.71d31e3dac.ll (mutant of vreductions-int-vp.ll) @vpreduce_smin_nxv1i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i8

define signext i8 @vpreduce_smin_nxv1i8(i8 signext %s, <vscale x 1 x i8> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %r = call i8 @llvm.vp.reduce.smin.nxv1i8(i8 %s, <vscale x 1 x i8> %v, <vscale x 1 x i1> %m, i32 %evl)
  %B = lshr i8 %r, %s
  store i8 %B, ptr @G, align 1
  ret i8 %r
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.vp.reduce.smin.nxv1i8(i8, <vscale x 1 x i8>, <vscale x 1 x i1>, i32) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.smin.nxv1i8: '  %r = call i8 @llvm.vp.reduce.smin.nxv1i8(i8 %s, <vscale x 1 x i8> %v, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpreduce_smin_nxv1i8)
warning: Instruction selection used fallback path for vpreduce_smin_nxv1i8

Occurrences (6):

InputFunctionConfig
vreductions-int-vp.19f8e478b5.ll (mutant of vreductions-int-vp.ll)vpreduce_smin_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicond -O1
vreductions-int-vp.665fbd64c5.ll (mutant of vreductions-int-vp.ll)vpreduce_smin_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve64d -O2
vreductions-int-vp.71d31e3dac.ll (mutant of vreductions-int-vp.ll)vpreduce_smin_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
vreductions-int-vp.99f19d751d.ll (mutant of vreductions-int-vp.ll)vpreduce_smin_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvkb,+d -O2
vreductions-int-vp.c68c83d99c.ll (mutant of vreductions-int-vp.ll)vpreduce_smin_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve64d -O0 -code-model=small
vreductions-int-vp.f7c926eec8.ll (mutant of vreductions-int-vp.ll)vpreduce_smin_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh -O1

Generated 2026-11-29 14:49 UTC.