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

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: call llvm.vector.reduce.fmax.nxv4f64 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:vreductions-fp-sdnode.25f721843e.ll (mutant of vreductions-fp-sdnode.ll) @vreduce_fmax_nxv4f64 via llvm-extract
Config:-mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global double

define double @vreduce_fmax_nxv4f64(<vscale x 4 x double> %v) {
  %B = frem double 4.940660e-324, +inf
  %red = call double @llvm.vector.reduce.fmax.nxv4f64(<vscale x 4 x double> %v)
  store double %B, ptr @G.2, align 8
  ret double %red
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.vector.reduce.fmax.nxv4f64(<vscale x 4 x double>) #0

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

Reproduce:

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

Local llc output:

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

Occurrences (2):

InputFunctionConfig
vreductions-fp-sdnode.25f721843e.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmax_nxv4f64-mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs
vreductions-fp-sdnode.fcd1ccfbfc.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmax_nxv4f64-mtriple=riscv32 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=ilp32d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.