fallback: translate: add i128
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | translate: add i128 M |
| Occurrences: | 2 in 2 configs, 2 test files |
| Snippet from: | rv64-float-convert.9be2c9ff6c.ll (mutant of rv64-float-convert.ll) @sitofp_i128_to_f32 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zfinx -target-abi=lp64 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i128
; Function Attrs: nounwind
define float @sitofp_i128_to_f32(i128 %a) #0 {
%B = add i128 %a, %a
%1 = sitofp i128 %a to float
store i128 %B, ptr @G.1, align 4
ret float %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zfinx -target-abi=lp64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zfinx -target-abi=lp64 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: add: ' %B = add i128 %a, %a' (in function: sitofp_i128_to_f32)
warning: Instruction selection used fallback path for sitofp_i128_to_f32
Occurrences (2):
| Input | Function | Config |
|---|
| rv64-double-convert.f4d9aa880b.ll (mutant of rv64-double-convert.ll) | sitofp_i128_to_f64 | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64 |
| rv64-float-convert.9be2c9ff6c.ll (mutant of rv64-float-convert.ll) | sitofp_i128_to_f32 | -mtriple=riscv64 -mattr=+zfinx -target-abi=lp64 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.