fallback: translate: urem i16
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: urem i16 M |
| Occurrences: | 4 in 4 configs, 4 test files, 25 more counted only |
| Snippet from: | float-imm.880fdd243c.ll (mutant of float-imm.ll) @float_positive_zero via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.6 = external global i16
; Function Attrs: nounwind
define float @float_positive_zero(ptr %pf) #0 {
%B = urem i16 42, 1
store i16 %B, ptr @G.6, align 2
ret float 0.000000e+00
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %B = urem i16 42, 1' (in function: float_positive_zero)
warning: Instruction selection used fallback path for float_positive_zero
Occurrences (4):
| Input | Function | Config |
|---|
| float-imm.880fdd243c.ll (mutant of float-imm.ll) | float_positive_zero | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O0 |
| memcpy.b7bf0153d8.ll (mutant of memcpy.ll) | memcpy_i32_var | -mtriple=riscv32 -mcpu=chipsalliance-veer-eh1 -mtune=rocket -mattr=+zbb,+zdinx -O3 -verify-machineinstrs |
| rv64zfhmin-half-convert-strict.ed6359cd07.ll (mutant of rv64zfhmin-half-convert-strict.ll) | aext_fptosi | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinxmin -O0 |
| rv64zfhmin-half-intrinsics.7e1f5ee8bb.ll (mutant of rv64zfhmin-half-intrinsics.ll) | llround_f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+m -O3 |
Generated 2026-11-29 14:49 UTC.