fallback: legalize: G_STRICT_FMA
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | legalize: G_STRICT_FMA |
| Occurrences: | 140 in 10 configs, 5 test files |
| Snippet from: | half-arith-strict.ll @fmadd_h via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind strictfp
define half @fmadd_h(half %a, half %b, half %c) #0 {
%1 = call half @llvm.experimental.constrained.fma.f16(half %a, half %b, half %c, metadata !"round.dynamic", metadata !"fpexcept.strict") #2
ret half %1
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare half @llvm.experimental.constrained.fma.f16(half, half, half, metadata, metadata) #1
attributes #0 = { nounwind strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
attributes #2 = { strictfp }
Reproduce:
llc -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(f16) = G_STRICT_FMA %0:_, %1:_, %2:_ (in function: fmadd_h)
warning: Instruction selection used fallback path for fmadd_h
Occurrences (140) (first 15):
| Input | Function | Config |
|---|
| double-arith-strict.ll | fmadd_d | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-arith-strict.ll | fmsub_d | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-arith-strict.ll | fnmadd_d | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-arith-strict.ll | fnmadd_d_2 | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-arith-strict.ll | fnmsub_d | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-arith-strict.ll | fnmsub_d_2 | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-arith-strict.ll | fmadd_d | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| double-arith-strict.ll | fmsub_d | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| double-arith-strict.ll | fnmadd_d | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| double-arith-strict.ll | fnmadd_d_2 | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| double-arith-strict.ll | fnmsub_d | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| double-arith-strict.ll | fnmsub_d_2 | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| double-arith-strict.ll | fmadd_d | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d |
| double-arith-strict.ll | fmsub_d | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d |
| double-arith-strict.ll | fnmadd_d | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d |
Generated 2026-11-29 14:49 UTC.