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

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

Snippet:

@G.1 = external global i1

define double @vreduce_ord_fadd_nxv4f64(<vscale x 4 x double> %v, double %s) {
  %red = call double @llvm.vector.reduce.fadd.nxv4f64(double %s, <vscale x 4 x double> %v)
  %C = fcmp une double +inf, +inf
  store i1 %C, ptr @G.1, align 1
  ret double %red
}

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
vreductions-fp-sdnode.2ee838eb23.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv4f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1
vreductions-fp-sdnode.42ea53057e.ll (mutant of vreductions-fp-sdnode.ll)vreduce_ord_fadd_nxv4f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1
vreductions-fp-sdnode.588a2c1d8c.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv4f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1
vreductions-fp-sdnode.abc84259b2.ll (mutant of vreductions-fp-sdnode.ll)vreduce_ord_fadd_nxv4f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0
vreductions-fp-sdnode.afebefe4fd.ll (mutant of vreductions-fp-sdnode.ll)vreduce_ord_fadd_nxv4f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1
vreductions-fp-sdnode.f06c874f02.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fadd_nxv4f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2
vreductions-fp-sdnode.f23e8c15a2.ll (mutant of vreductions-fp-sdnode.ll)vreduce_ord_fadd_nxv4f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0

Generated 2026-11-29 14:49 UTC.