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

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.vp.reduce.umax.nxv1i32 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:vreductions-int-vp.0711ce5e6b.ll (mutant of vreductions-int-vp.ll) @vpreduce_umax_nxv1i32 via llvm-extract
Config:-mtriple=riscv64 -mattr=+v -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <4 x float>
@G.1 = external global <4 x float>

define signext i32 @vpreduce_umax_nxv1i32(i32 signext %s, <vscale x 1 x i32> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %LGV = load <4 x float>, ptr @G, align 16
  %B = fsub <4 x float> splat (float 4.200000e+01), %LGV
  %r = call i32 @llvm.vp.reduce.umax.nxv1i32(i32 %s, <vscale x 1 x i32> %v, <vscale x 1 x i1> %m, i32 %evl)
  store <4 x float> %B, ptr @G.1, align 16
  ret i32 %r
}

; 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=riscv64 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -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 (2):

InputFunctionConfig
vreductions-int-vp.0711ce5e6b.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
vreductions-int-vp.44262d36ad.ll (mutant of vreductions-int-vp.ll)vpreduce_umax_nxv1i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.