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

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

Snippet:

define float @vreduce_ord_fadd_nxv1f32(<vscale x 1 x float> %v, float %s) {
  %C = icmp eq i64 -1, 4294967296
  %red = call float @llvm.vector.reduce.fadd.nxv1f32(float %s, <vscale x 1 x float> %v)
  store i1 %C, ptr poison, align 1
  ret float %red
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vector.reduce.fadd.nxv1f32: '  %red = call float @llvm.vector.reduce.fadd.nxv1f32(float %s, <vscale x 1 x float> %v)' (in function: vreduce_ord_fadd_nxv1f32)
warning: Instruction selection used fallback path for vreduce_ord_fadd_nxv1f32

Occurrences (8):

InputFunctionConfig
vreductions-fp-sdnode.17c3b4ffc7.ll (mutant of vreductions-fp-sdnode.ll)vreduce_ord_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zvbb,+zicsr -O3
vreductions-fp-sdnode.6636f68e04.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0
vreductions-fp-sdnode.74eec01161.ll (mutant of vreductions-fp-sdnode.ll)vreduce_nsz_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zbb -O3
vreductions-fp-sdnode.969277794d.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+xtheadba -O2
vreductions-fp-sdnode.9b6b186839.ll (mutant of vreductions-fp-sdnode.ll)vreduce_ord_fadd_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3 -code-model=small
vreductions-fp-sdnode.a04d7bc10f.ll (mutant of vreductions-fp-sdnode.ll)vreduce_nsz_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+xtheadba -O1
vreductions-fp-sdnode.da91dfa873.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3 -code-model=small
vreductions-fp-sdnode.db6e69e555.ll (mutant of vreductions-fp-sdnode.ll)vreduce_nsz_fadd_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+xtheadba -O1

Generated 2026-11-29 14:49 UTC.