fallback: legalize: G_STRICT_FDIV s64
| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | legalize: G_STRICT_FDIV s64 |
| Occurrences: | 12 in 6 configs, 1 test files |
| Snippet from: | double-arith-strict.ll @fdiv_d via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind strictfp
define double @fdiv_d(double %a, double %b) #0 {
%1 = call double @llvm.experimental.constrained.fdiv.f64(double %a, double %b, metadata !"round.dynamic", metadata !"fpexcept.strict") #2
ret double %1
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare double @llvm.experimental.constrained.fdiv.f64(double, double, 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=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2:_(s64) = G_STRICT_FDIV %0:_, %1:_ (in function: fdiv_d)
warning: Instruction selection used fallback path for fdiv_d
Occurrences (12):
| 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 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 |
| 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 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 |
| double-arith-strict.ll | fdiv_d | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation |
| 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.76796025ac.ll (mutant of double-arith-strict.ll) | fdiv_d | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 |
| double-arith-strict.80c05e7fd0.ll (mutant of double-arith-strict.ll) | fdiv_d | -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 |
| 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 |
| double-arith-strict.c35074246c.ll (mutant of double-arith-strict.ll) | fdiv_d | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d |
Generated 2026-10-15 08:05 UTC.