fallback: translate: sdiv i128
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: sdiv i128 M |
| Occurrences: | 3 in 3 configs, 3 test files, 15 more counted only |
| Snippet from: | rv64-half-convert.47495ffb6c.ll (mutant of rv64-half-convert.ll) @uitofp_i128_to_f16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global half
@G.4 = external global i128
; Function Attrs: nounwind
define half @uitofp_i128_to_f16(i128 %a) #0 {
%B = sdiv i128 0, 0
%1 = uitofp i128 %a to half
store half %1, ptr @G.3, align 2
store i128 %B, ptr @G.4, align 4
ret half %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sdiv: ' %B = sdiv i128 0, 0' (in function: uitofp_i128_to_f16)
warning: Instruction selection used fallback path for uitofp_i128_to_f16
Occurrences (3):
| Input | Function | Config |
|---|
| float-convert-strict.680366149d.ll (mutant of float-convert-strict.ll) | fcvt_s_wu_i8 | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zfinx -O1 |
| rv64-half-convert-strict.151773ca13.ll (mutant of rv64-half-convert-strict.ll) | sitofp_i128_to_f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx,+zvbb -O1 |
| rv64-half-convert.47495ffb6c.ll (mutant of rv64-half-convert.ll) | uitofp_i128_to_f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O2 |
Generated 2026-11-29 14:49 UTC.