fallback: translate: call llvm.vp.reduce.fadd.nxv1f32

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.reduce.fadd.nxv1f32 M
Occurrences:8 in 7 configs, 1 test files, 5 more counted only
Snippet from:vreductions-fp-vp.4316e5c2ae.ll (mutant of vreductions-fp-vp.ll) @vpreduce_fadd_nxv1f32 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define float @vpreduce_fadd_nxv1f32(float %s, <vscale x 1 x float> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %r = call reassoc float @llvm.vp.reduce.fadd.nxv1f32(float %s, <vscale x 1 x float> %v, <vscale x 1 x i1> %m, i32 %evl)
  %B = fdiv float %s, %r
  store float %B, ptr poison, align 4
  ret float %r
}

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

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

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (8):

InputFunctionConfig
vreductions-fp-vp.0475889673.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2 -code-model=medium
vreductions-fp-vp.3154a5b685.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3
vreductions-fp-vp.3c6c5ec606.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
vreductions-fp-vp.4316e5c2ae.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
vreductions-fp-vp.4316e5c2ae.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2
vreductions-fp-vp.4f941be7a9.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zvkb -O2
vreductions-fp-vp.ea539a833e.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve32x -O3
vreductions-fp-vp.f2dd705927.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zbkb,+zicsr -O2

Generated 2026-11-29 14:49 UTC.