fallback: legalize: G_VECREDUCE_FMIN <N x bf16>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_VECREDUCE_FMIN <N x bf16>
Occurrences:12 in 2 configs, 1 test files
Snippet from:fixed-vectors-reduction-fp-bf16.ll @vreduce_fmin_v4bf16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define bfloat @vreduce_fmin_v4bf16(ptr %x) {
  %v = load <4 x bfloat>, ptr %x, align 8
  %red = call bfloat @llvm.vector.reduce.fmin.v4bf16(<4 x bfloat> %v)
  ret bfloat %red
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare bfloat @llvm.vector.reduce.fmin.v4bf16(<4 x bfloat>) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %2:_(bf16) = G_VECREDUCE_FMIN %1:_(<4 x bf16>) (in function: vreduce_fmin_v4bf16)
warning: Instruction selection used fallback path for vreduce_fmin_v4bf16

Occurrences (12):

InputFunctionConfig
fixed-vectors-reduction-fp-bf16.llvreduce_fmin_v4bf16-mtriple=riscv32 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.llvreduce_fmin_v64bf16-mtriple=riscv32 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.llvreduce_fmin_v128bf16-mtriple=riscv32 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.llvreduce_fmin_v4bf16-mtriple=riscv64 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.llvreduce_fmin_v64bf16-mtriple=riscv64 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.llvreduce_fmin_v128bf16-mtriple=riscv64 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.08c2eba30b.ll (mutant of fixed-vectors-reduction-fp-bf16.ll)vreduce_fmin_v64bf16-mtriple=riscv32 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.08c2eba30b.ll (mutant of fixed-vectors-reduction-fp-bf16.ll)vreduce_fmin_v128bf16-mtriple=riscv32 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.17b4d69502.ll (mutant of fixed-vectors-reduction-fp-bf16.ll)vreduce_fmin_v64bf16-mtriple=riscv64 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.17b4d69502.ll (mutant of fixed-vectors-reduction-fp-bf16.ll)vreduce_fmin_v128bf16-mtriple=riscv64 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.1cd1c2f293.ll (mutant of fixed-vectors-reduction-fp-bf16.ll)vreduce_fmin_v4bf16-mtriple=riscv32 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-reduction-fp-bf16.b811f7e7fe.ll (mutant of fixed-vectors-reduction-fp-bf16.ll)vreduce_fmin_v4bf16-mtriple=riscv64 -mattr=+d,+zfbfmin,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.