fallback: legalize: G_STRICT_FADD s16
| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | legalize: G_STRICT_FADD s16 |
| Occurrences: | 8 in 8 configs, 1 test files |
| Snippet from: | half-arith-strict.ll @fadd_h via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind strictfp
define half @fadd_h(half %a, half %b) #0 {
%1 = call half @llvm.experimental.constrained.fadd.f16(half %a, half %b, 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.fadd.f16(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: %2:_(s16) = G_STRICT_FADD %0:_, %1:_ (in function: fadd_h)
warning: Instruction selection used fallback path for fadd_h
Occurrences (8):
| Input | Function | Config |
|---|
| half-arith-strict.ll | fadd_h | -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f |
| half-arith-strict.ll | fadd_h | -mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f |
| half-arith-strict.ll | fadd_h | -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32 |
| half-arith-strict.ll | fadd_h | -mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32 |
| half-arith-strict.ll | fadd_h | -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f |
| half-arith-strict.ll | fadd_h | -mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f |
| half-arith-strict.ll | fadd_h | -mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64 |
| half-arith-strict.ll | fadd_h | -mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64 |
Generated 2026-10-15 08:05 UTC.