fallback: legalize: G_FMINIMUMNUM <N x f16>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_FMINIMUMNUM <N x f16> M |
| Occurrences: | 4 in 4 configs, 1 test files, 3 more counted only |
| Snippet from: | fixed-vectors-fminimumnum.67907fa5ae.ll (mutant of fixed-vectors-fminimumnum.ll) @min_v2f16 via llvm-extract |
| Config: | --mtriple=riscv64-linux-gnu -mattr=+v,+zfh,+zvfbfmin,+zvbb -O2 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i1
define <2 x half> @min_v2f16(<2 x half> %a, <2 x half> %b) {
entry:
%B = sdiv i1 false, true
%c = call <2 x half> @llvm.minimumnum.v2f16(<2 x half> %a, <2 x half> %b)
store i1 %B, ptr @G.3, align 1
ret <2 x half> %c
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x half> @llvm.minimumnum.v2f16(<2 x half>, <2 x half>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc --mtriple=riscv64-linux-gnu -mattr=+v,+zfh,+zvfbfmin,+zvbb -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc --mtriple=riscv64-linux-gnu -mattr=+v,+zfh,+zvfbfmin,+zvbb -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %9:_(<2 x f16>) = G_FMINIMUMNUM %0:_, %1:_ (in function: min_v2f16)
warning: Instruction selection used fallback path for min_v2f16
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-fminimumnum.15107e1f11.ll (mutant of fixed-vectors-fminimumnum.ll) | min_v8f16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+experimental-zvfbfa -O2 |
| fixed-vectors-fminimumnum.63225f6da9.ll (mutant of fixed-vectors-fminimumnum.ll) | min_v4f16 | --mtriple=riscv64-linux-gnu -mattr=+v,+zvfbfmin -O0 -verify-machineinstrs |
| fixed-vectors-fminimumnum.67907fa5ae.ll (mutant of fixed-vectors-fminimumnum.ll) | min_v2f16 | --mtriple=riscv64-linux-gnu -mattr=+v,+zfh,+zvfbfmin,+zvbb -O2 -verify-machineinstrs |
| fixed-vectors-fminimumnum.d2b89c5be6.ll (mutant of fixed-vectors-fminimumnum.ll) | min_v8f16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O0 -code-model=medium |
Generated 2026-11-29 14:49 UTC.