fallback: legalize: G_STRICT_FMUL <N x f16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_STRICT_FMUL <N x f16> M |
| Occurrences: | 3 in 2 configs, 1 test files, 4 more counted only |
| Snippet from: | fixed-vectors-vfmul-constrained-sdnode.b3712c873e.ll (mutant of fixed-vectors-vfmul-constrained-sdnode.ll) @vfmul_vv_v4f16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+experimental-zvfbfa,+v,+zicsr -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i1
; Function Attrs: strictfp
define <4 x half> @vfmul_vv_v4f16(<4 x half> %va, <4 x half> %vb) #0 {
entry:
%LGV = load i1, ptr @G.2, align 1
%vc = call <4 x half> @llvm.experimental.constrained.fmul.v4f16(<4 x half> %va, <4 x half> %vb, metadata !"round.dynamic", metadata !"fpexcept.ignore")
br i1 %LGV, label %T, label %F
BB: ; preds = %F
ret <4 x half> %vc
T: ; preds = %entry
ret <4 x half> %vc
F: ; preds = %entry
br label %BB
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x half> @llvm.experimental.constrained.fmul.v4f16(<4 x half>, <4 x half>, metadata, metadata) #1
attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+experimental-zvfbfa,+v,+zicsr -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+experimental-zvfbfa,+v,+zicsr -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %13:_(<4 x f16>) = nofpexcept G_STRICT_FMUL %0:_, %1:_ (in function: vfmul_vv_v4f16)
warning: Instruction selection used fallback path for vfmul_vv_v4f16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-vfmul-constrained-sdnode.5a25b348e0.ll (mutant of fixed-vectors-vfmul-constrained-sdnode.ll) | vfmul_vf_v8f16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+experimental-zvfbfa,+v -O3 |
| fixed-vectors-vfmul-constrained-sdnode.b3712c873e.ll (mutant of fixed-vectors-vfmul-constrained-sdnode.ll) | vfmul_vv_v4f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+experimental-zvfbfa,+v,+zicsr -O2 |
| fixed-vectors-vfmul-constrained-sdnode.b3712c873e.ll (mutant of fixed-vectors-vfmul-constrained-sdnode.ll) | vfmul_vf_v8f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+experimental-zvfbfa,+v,+zicsr -O2 |
Generated 2026-11-29 14:49 UTC.