fallback: legalize: G_STRICT_FDIV
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_STRICT_FDIV |
| Occurrences: | 20 in 10 configs, 3 test files |
| Snippet from: | half-arith-strict.ll @fdiv_h via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind strictfp
define half @fdiv_h(half %a, half %b) #0 {
%1 = call half @llvm.experimental.constrained.fdiv.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.fdiv.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:_(f16) = G_STRICT_FDIV %0:_, %1:_ (in function: fdiv_h)
warning: Instruction selection used fallback path for fdiv_h
Occurrences (20) (first 15):
| Input | Function | Config |
|---|
| double-arith-strict.ll | fdiv_d | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-arith-strict.ll | fdiv_d | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| double-arith-strict.ll | fdiv_d | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d |
| double-arith-strict.ll | fdiv_d | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation |
| float-arith-strict.ll | fdiv_s | -mtriple=riscv32 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32f |
| float-arith-strict.ll | fdiv_s | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
| float-arith-strict.ll | fdiv_s | -mtriple=riscv64 -mattr=+f -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64f |
| float-arith-strict.ll | fdiv_s | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation |
| half-arith-strict.ll | fdiv_h | -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f |
| half-arith-strict.ll | fdiv_h | -mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f |
| half-arith-strict.ll | fdiv_h | -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f |
| half-arith-strict.ll | fdiv_h | -mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f |
| double-arith-strict.457867755a.ll (mutant of double-arith-strict.ll) | fdiv_d | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| double-arith-strict.91a8d7383a.ll (mutant of double-arith-strict.ll) | fdiv_d | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation |
| double-arith-strict.c304e61466.ll (mutant of double-arith-strict.ll) | fdiv_d | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation |
Generated 2026-11-29 14:49 UTC.