fallback: translate: inttoptr i32
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: inttoptr i32 M |
| Occurrences: | 3 in 3 configs, 3 test files, 14 more counted only |
| Snippet from: | double-mem.96dba22589.ll (mutant of double-mem.ll) @fld_fsd_constant via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
; Function Attrs: nounwind
define dso_local double @fld_fsd_constant(double %a) #0 {
%1 = inttoptr i32 -559038737 to ptr
%2 = load volatile double, ptr %1, align 8
%3 = fadd double %a, %2
%C = fcmp ugt double %3, %a
store double %3, ptr %1, align 8
store i1 %C, ptr @G.1, align 1
ret double %3
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: inttoptr: ' %1 = inttoptr i32 -559038737 to ptr' (in function: fld_fsd_constant)
warning: Instruction selection used fallback path for fld_fsd_constant
Occurrences (3):
| Input | Function | Config |
|---|
| double-mem.96dba22589.ll (mutant of double-mem.ll) | fld_fsd_constant | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O0 |
| float-mem.165b1e795e.ll (mutant of float-mem.ll) | flw_fsw_constant | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+zbb -O0 |
| half-mem.fa93fbff34.ll (mutant of half-mem.ll) | flh_fsh_constant | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O0 |
Generated 2026-11-29 14:49 UTC.