fallback: legalize: G_FMINNUM <N x f32>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_FMINNUM <N x f32> M |
| Occurrences: | 4 in 2 configs, 1 test files, 4 more counted only |
| Snippet from: | fixed-vectors-vfmin.77feb886d4.ll (mutant of fixed-vectors-vfmin.ll) @vfmin_v2f32_vf via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+experimental-zvfbfa,+zba -O2 -code-model=medium |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x float> @vfmin_v2f32_vf(<2 x float> %a, float %b) {
%head = insertelement <2 x float> poison, float %b, i32 0
%splat = shufflevector <2 x float> poison, <2 x float> %head, <2 x i32> zeroinitializer
%v = call <2 x float> @llvm.minnum.v2f32(<2 x float> %a, <2 x float> %splat)
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=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+experimental-zvfbfa,+zba -O2 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+experimental-zvfbfa,+zba -O2 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %8:_(<2 x f32>) = G_FMINNUM %0:_, %7:_ (in function: vfmin_v2f32_vf)
warning: Instruction selection used fallback path for vfmin_v2f32_vf
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-vfmin.2cf4390a9a.ll (mutant of fixed-vectors-vfmin.ll) | vfmin_v8f32_vf | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+experimental-zvfbfa,+xtheadba -O0 |
| fixed-vectors-vfmin.2cf4390a9a.ll (mutant of fixed-vectors-vfmin.ll) | vfmin_v8f32_fv | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+experimental-zvfbfa,+xtheadba -O0 |
| fixed-vectors-vfmin.77feb886d4.ll (mutant of fixed-vectors-vfmin.ll) | vfmin_v2f32_vf | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+experimental-zvfbfa,+zba -O2 -code-model=medium |
| fixed-vectors-vfmin.77feb886d4.ll (mutant of fixed-vectors-vfmin.ll) | vfmin_v8f32_fv | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+experimental-zvfbfa,+zba -O2 -code-model=medium |
Generated 2026-11-29 14:49 UTC.