fallback: translate: call llvm.vector.reduce.fmin.nxv1f16

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vector.reduce.fmin.nxv1f16 M
Occurrences:7 in 6 configs, 1 test files, 1 more counted only
Snippet from:vreductions-fp-sdnode.5732c0e8d5.ll (mutant of vreductions-fp-sdnode.ll) @vreduce_fmin_nxv1f16_nonans_noinfs via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global i16

define half @vreduce_fmin_nxv1f16_nonans_noinfs(<vscale x 1 x half> %v) {
  %LGV = load i16, ptr @G.3, align 2
  %red = call nnan ninf half @llvm.vector.reduce.fmin.nxv1f16(<vscale x 1 x half> %v)
  %B = xor i16 -32768, %LGV
  store i16 %B, ptr @G.3, align 2
  ret half %red
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vector.reduce.fmin.nxv1f16: '  %red = call nnan ninf half @llvm.vector.reduce.fmin.nxv1f16(<vscale x 1 x half> %v)' (in function: vreduce_fmin_nxv1f16_nonans_noinfs)
warning: Instruction selection used fallback path for vreduce_fmin_nxv1f16_nonans_noinfs

Occurrences (7):

InputFunctionConfig
vreductions-fp-sdnode.17c3b4ffc7.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmin_nxv1f16_nonans_noinfs-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zvbb,+zicsr -O3
vreductions-fp-sdnode.17e832cb76.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmin_nxv1f16_nonans-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 -code-model=medium
vreductions-fp-sdnode.5732c0e8d5.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmin_nxv1f16_nonans_noinfs-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2
vreductions-fp-sdnode.74eec01161.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmin_nxv1f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zbb -O3
vreductions-fp-sdnode.8d77deab93.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmin_nxv1f16_nonans_noinfs-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2 -code-model=small
vreductions-fp-sdnode.da91dfa873.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmin_nxv1f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3 -code-model=small
vreductions-fp-sdnode.da91dfa873.ll (mutant of vreductions-fp-sdnode.ll)vreduce_fmin_nxv1f16_nonans-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3 -code-model=small

Generated 2026-11-29 14:49 UTC.