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

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

Snippet:

@G.1 = external global i1

define float @vpreduce_ord_fadd_nxv1f32(float %s, <vscale x 1 x float> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %r = call float @llvm.vp.reduce.fadd.nxv1f32(float %s, <vscale x 1 x float> %v, <vscale x 1 x i1> %m, i32 %evl)
  %C = fcmp olt float %r, %s
  store i1 %C, ptr @G.1, align 1
  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 -O0 -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 -O0 -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 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_ord_fadd_nxv1f32)
warning: Instruction selection used fallback path for vpreduce_ord_fadd_nxv1f32

Occurrences (7):

InputFunctionConfig
vreductions-fp-vp.338117798c.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicond,+zvbb -O0
vreductions-fp-vp.338117798c.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicond,+zvbb -O0
vreductions-fp-vp.3afe8dc00d.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.3d5aef9fad.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+c -O0
vreductions-fp-vp.a29687fc2e.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O1
vreductions-fp-vp.e3986562f5.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3
vreductions-fp-vp.f95c4f767b.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O0

Generated 2026-11-29 14:49 UTC.