fallback: legalize: G_FMINNUM <N x f16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_FMINNUM <N x f16> M |
| Occurrences: | 6 in 5 configs, 2 test files, 19 more counted only |
| Snippet from: | fixed-vectors-vfmin-vp.63dd6f03fa.ll (mutant of fixed-vectors-vfmin-vp.ll) @vfmin_vv_v4f16_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global i8
define <4 x half> @vfmin_vv_v4f16_unmasked(<4 x half> %va, <4 x half> %vb, i32 zeroext %evl) {
%LGV = load i8, ptr @G.4, align 1
%v = call <4 x half> @llvm.minnum.v4f16(<4 x half> %va, <4 x half> %vb)
%B = urem i8 %LGV, -128
store i8 %B, ptr @G.4, align 1
ret <4 x half> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x half> @llvm.minnum.v4f16(<4 x half>, <4 x half>) #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:_(<4 x f16>) = G_FMINNUM %0:_, %1:_ (in function: vfmin_vv_v4f16_unmasked)
warning: Instruction selection used fallback path for vfmin_vv_v4f16_unmasked
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-vfmin-vp.3ed4ca6cf2.ll (mutant of fixed-vectors-vfmin-vp.ll) | vfmin_vv_v16f16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+zicond -O0 |
| fixed-vectors-vfmin-vp.63dd6f03fa.ll (mutant of fixed-vectors-vfmin-vp.ll) | vfmin_vv_v4f16_unmasked | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin -O3 |
| fixed-vectors-vfmin-vp.63dd6f03fa.ll (mutant of fixed-vectors-vfmin-vp.ll) | vfmin_vv_v16f16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin -O3 |
| fixed-vectors-vfmin-vp.a0ef7544fd.ll (mutant of fixed-vectors-vfmin-vp.ll) | vfmin_vv_v4f16_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+v -O3 |
| fixed-vectors-vfmin.1d41dc6cdd.ll (mutant of fixed-vectors-vfmin.ll) | vfmin_v16f16_vf | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+experimental-zvfbfa,+v -O1 |
| fixed-vectors-vfmin.c11a711169.ll (mutant of fixed-vectors-vfmin.ll) | vfmin_v16f16_fv | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+experimental-zvfbfa,+v,+xtheadba -O1 |
Generated 2026-11-29 14:49 UTC.