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

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.vp.reduce.fadd.nxv4f32 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:vreductions-fp-vp.487c867a25.ll (mutant of vreductions-fp-vp.ll) @vpreduce_fadd_nxv4f32 via llvm-extract
Config:-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define float @vpreduce_fadd_nxv4f32(float %s, <vscale x 4 x float> %v, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %B = srem <2 x i64> splat (i64 9223372036854775807), splat (i64 1)
  %r = call reassoc float @llvm.vp.reduce.fadd.nxv4f32(float %s, <vscale x 4 x float> %v, <vscale x 4 x i1> %m, i32 %evl)
  store <2 x i64> %B, ptr poison, align 16
  ret float %r
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (2):

InputFunctionConfig
vreductions-fp-vp.487c867a25.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv4f32-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vreductions-fp-vp.b5e1be14f7.ll (mutant of vreductions-fp-vp.ll)vpreduce_fadd_nxv4f32-mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.