fallback: translate: urem i16
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: urem i16 M |
| Occurrences: | 3 in 3 configs, 3 test files, 13 more counted only |
| Snippet from: | double-convert.48c8350d45.ll (mutant of double-convert.ll) @fcvt_w_s_i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zvkb -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i16
; Function Attrs: nounwind
define signext i16 @fcvt_w_s_i16(double %a) #0 {
%B = urem i16 1, 0
%1 = fptosi double %a to i16
store i16 %B, ptr @G.2, align 2
ret i16 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zvkb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zvkb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %B = urem i16 1, 0' (in function: fcvt_w_s_i16)
warning: Instruction selection used fallback path for fcvt_w_s_i16
Occurrences (3):
| Input | Function | Config |
|---|
| double-convert.48c8350d45.ll (mutant of double-convert.ll) | fcvt_w_s_i16 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zvkb -O3 |
| half-convert-strict.4ff505bdeb.ll (mutant of half-convert-strict.ll) | fcvt_h_ui_zeroext | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx,+zve32x,+zfinx -O0 -code-model=medium |
| rv64-half-convert.5fc3f075bc.ll (mutant of rv64-half-convert.ll) | fptoui_sat_f16_to_i128 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O0 |
Generated 2026-11-29 14:49 UTC.