fallback: translate: call llvm.vp.reduce.umax.nxv1i32

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.reduce.umax.nxv1i32 M
Occurrences:7 in 7 configs, 1 test files, 2 more counted only
Snippet from:vreductions-int-vp.78268c16e7.ll (mutant of vreductions-int-vp.ll) @vpreduce_umax_nxv1i32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define signext i32 @vpreduce_umax_nxv1i32(i32 signext %s, <vscale x 1 x i32> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %r = call i32 @llvm.vp.reduce.umax.nxv1i32(i32 %s, <vscale x 1 x i32> %v, <vscale x 1 x i1> %m, i32 %evl)
  %B = sdiv i32 %r, %evl
  ret i32 %B
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
vreductions-int-vp.2d8e4e4464.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
vreductions-int-vp.5b76653fb0.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 -code-model=medium
vreductions-int-vp.78268c16e7.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vreductions-int-vp.98578c891e.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+c,+zicond -O0
vreductions-int-vp.aab4270f3b.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+zbkb -O2
vreductions-int-vp.e78100a3fb.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicond,+zfh -O3
vreductions-int-vp.fea041f4b6.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1

Generated 2026-11-29 14:49 UTC.