fallback: translate: urem i16~
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: urem i16~ M |
| Occurrences: | 3 in 2 configs, 1 test files, 2 more counted only |
| Snippet from: | urem-seteq-illegal-types.0f40668ae2.ll (mutant of urem-seteq-illegal-types.ll) @test_urem_odd via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfinx -O1 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i1 @test_urem_odd(i13 %X) #0 {
%urem = urem i13 %X, 5
%cmp = icmp eq i13 %urem, 0
%C = icmp ugt i64 0, 42
store i1 %C, ptr poison, align 1
ret i1 %cmp
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -mattr=+zfinx -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfinx -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %urem = urem i13 %X, 5' (in function: test_urem_odd)
warning: Instruction selection used fallback path for test_urem_odd
Occurrences (3):
| Input | Function | Config |
|---|
| urem-seteq-illegal-types.0f40668ae2.ll (mutant of urem-seteq-illegal-types.ll) | test_urem_odd | -mtriple=riscv32 -mattr=+zfinx -O1 -verify-machineinstrs |
| urem-seteq-illegal-types.324cefeeaf.ll (mutant of urem-seteq-illegal-types.ll) | test_urem_odd | -mtriple=riscv32 -mattr=+zfinx -O2 -verify-machineinstrs |
| urem-seteq-illegal-types.44188306b3.ll (mutant of urem-seteq-illegal-types.ll) | test_urem_odd | -mtriple=riscv32 -mattr=+zfinx -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.