fallback: legalize: G_FMINIMUM <N x f16>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_FMINIMUM <N x f16> M
Occurrences:9 in 5 configs, 2 test files, 20 more counted only
Snippet from:fixed-vectors-fminimum.0f50a88a44.ll (mutant of fixed-vectors-fminimum.ll) @vfmin_v2f16_vv via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

define <2 x half> @vfmin_v2f16_vv(<2 x half> %a, <2 x half> %b) {
  %v = call <2 x half> @llvm.minimum.v2f16(<2 x half> %a, <2 x half> %b)
  %C = icmp uge i64 42, -1
  store i1 %C, ptr @G, align 1
  ret <2 x half> %v
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x half> @llvm.minimum.v2f16(<2 x half>, <2 x half>) #0

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

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %8:_(<2 x f16>) = G_FMINIMUM %0:_, %1:_ (in function: vfmin_v2f16_vv)
warning: Instruction selection used fallback path for vfmin_v2f16_vv

Occurrences (9):

InputFunctionConfig
fixed-vectors-fminimum-vp.0b422898f4.ll (mutant of fixed-vectors-fminimum-vp.ll)vfmin_vv_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+m -O3
fixed-vectors-fminimum-vp.0b422898f4.ll (mutant of fixed-vectors-fminimum-vp.ll)vfmin_vv_v4f16_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+m -O3
fixed-vectors-fminimum-vp.0b422898f4.ll (mutant of fixed-vectors-fminimum-vp.ll)vfmin_vv_v16f16_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+m -O3
fixed-vectors-fminimum-vp.61916a8477.ll (mutant of fixed-vectors-fminimum-vp.ll)vfmin_vv_v2f16_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+m -O0
fixed-vectors-fminimum.0f50a88a44.ll (mutant of fixed-vectors-fminimum.ll)vfmin_v2f16_vv-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O0
fixed-vectors-fminimum.5148cb06c6.ll (mutant of fixed-vectors-fminimum.ll)vfmin_v4f16_vv-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O3
fixed-vectors-fminimum.5148cb06c6.ll (mutant of fixed-vectors-fminimum.ll)vfmin_v8f16_vv-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O3
fixed-vectors-fminimum.bce552a483.ll (mutant of fixed-vectors-fminimum.ll)vfmin_v2f16_vv_nnanb-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O3 -code-model=medium
fixed-vectors-fminimum.bce552a483.ll (mutant of fixed-vectors-fminimum.ll)vfmin_v2f16_vv_nnan_insert_subvector-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O3 -code-model=medium

Generated 2026-11-29 14:49 UTC.