fallback: legalize: G_FMINNUM <N x f32>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_FMINNUM <N x f32> M
Occurrences:3 in 3 configs, 2 test files, 5 more counted only
Snippet from:fixed-vectors-vfmin-vp.8e936dd191.ll (mutant of fixed-vectors-vfmin-vp.ll) @vfmin_vv_v2f32_unmasked via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x float> @vfmin_vv_v2f32_unmasked(<2 x float> %va, <2 x float> %vb, i32 zeroext %evl) {
  %C = icmp ule i32 %evl, %evl
  %v = call <2 x float> @llvm.minnum.v2f32(<2 x float> %va, <2 x float> %vb)
  store i1 %C, ptr poison, align 1
  ret <2 x float> %v
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %10:_(<2 x f32>) = G_FMINNUM %0:_, %1:_ (in function: vfmin_vv_v2f32_unmasked)
warning: Instruction selection used fallback path for vfmin_vv_v2f32_unmasked

Occurrences (3):

InputFunctionConfig
fixed-vectors-vfmin-vp.8e936dd191.ll (mutant of fixed-vectors-vfmin-vp.ll)vfmin_vv_v2f32_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin -O3
fixed-vectors-vfmin-vp.f1bec61f30.ll (mutant of fixed-vectors-vfmin-vp.ll)vfmin_vv_v2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+zvbb -O2
fixed-vectors-vfmin.e3e77639b0.ll (mutant of fixed-vectors-vfmin.ll)vfmin_v16f32_fv-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zfbfmin,+zvfbfmin -O1

Generated 2026-11-29 14:49 UTC.