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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vector.reduce.fadd.nxv1f64 M
Occurrences:5 in 5 configs, 1 test files, 1 more counted only
Snippet from:vreductions-fp-sdnode.a0645d9882.ll (mutant of vreductions-fp-sdnode.ll) @vreduce_ord_fadd_nxv1f64 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define double @vreduce_ord_fadd_nxv1f64(<vscale x 1 x double> %v, double %s) {
  %B = xor i1 false, true
  %red = call double @llvm.vector.reduce.fadd.nxv1f64(double %s, <vscale x 1 x double> %v)
  store i1 %B, ptr poison, align 1
  ret double %red
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.vector.reduce.fadd.nxv1f64(double, <vscale x 1 x double>) #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 -O0 -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 -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
vreductions-fp-sdnode.17a178e8cd.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv1f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zfh,+zvfh,+v,+m -O3
vreductions-fp-sdnode.8efc478c7c.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv1f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2
vreductions-fp-sdnode.a0645d9882.ll (mutant of vreductions-fp-sdnode.ll)vreduce_ord_fadd_nxv1f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v -O0
vreductions-fp-sdnode.c1ff47c8fa.ll (mutant of vreductions-fp-sdnode.ll)vreduce_ord_fadd_nxv1f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zbb -O0 -code-model=medium
vreductions-fp-sdnode.e08af289e0.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv1f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zba -O0

Generated 2026-11-29 14:49 UTC.