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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.reduce.smin.nxv32i1 M
Occurrences:7 in 5 configs, 1 test files, 4 more counted only
Snippet from:vreductions-mask-vp.9b562fca8e.ll (mutant of vreductions-mask-vp.ll) @vpreduce_smin_nxv32i1 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve32x -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define zeroext i1 @vpreduce_smin_nxv32i1(i1 zeroext %s, <vscale x 32 x i1> %v, <vscale x 32 x i1> %m, i32 zeroext %evl) {
  %C = fcmp olt float 1.401300e-45, 4.200000e+01
  %r = call i1 @llvm.vp.reduce.smin.nxv32i1(i1 %C, <vscale x 32 x i1> %v, <vscale x 32 x i1> %m, i32 %evl)
  ret i1 %r
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
vreductions-mask-vp.6369619288.ll (mutant of vreductions-mask-vp.ll)vpreduce_smin_nxv32i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1
vreductions-mask-vp.8be2057c2a.ll (mutant of vreductions-mask-vp.ll)vpreduce_smin_nxv32i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1
vreductions-mask-vp.9b562fca8e.ll (mutant of vreductions-mask-vp.ll)vpreduce_smin_nxv32i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve32x -O0
vreductions-mask-vp.9d7afda2f8.ll (mutant of vreductions-mask-vp.ll)vpreduce_smin_nxv32i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3
vreductions-mask-vp.b0cb76d8ea.ll (mutant of vreductions-mask-vp.ll)vpreduce_smin_nxv32i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 -code-model=small
vreductions-mask-vp.df4b982d6c.ll (mutant of vreductions-mask-vp.ll)vpreduce_smin_nxv32i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1
vreductions-mask-vp.ff9d52f965.ll (mutant of vreductions-mask-vp.ll)vpreduce_smin_nxv32i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3

Generated 2026-11-29 14:49 UTC.