fallback: translate: udiv i8
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: udiv i8 M |
| Occurrences: | 5 in 5 configs, 5 test files, 24 more counted only |
| Snippet from: | div.e1e7c5a736.ll (mutant of div.ll) @udiv8_constant via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvbb -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i64
; Function Attrs: nounwind
define i8 @udiv8_constant(i8 %a) #0 {
%1 = udiv i8 %a, 5
%B = ashr i64 1, 4294967296
store i64 %B, ptr @G.1, align 4
ret i8 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvbb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvbb -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: udiv: ' %1 = udiv i8 %a, 5' (in function: udiv8_constant)
warning: Instruction selection used fallback path for udiv8_constant
Occurrences (5):
| Input | Function | Config |
|---|
| bswap-shift.46b263f5ce.ll (mutant of bswap-shift.ll) | test_bswap_srli_8_bswap_i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zhinx -O0 |
| ctlz-cttz-ctpop.f4b41a7b28.ll (mutant of ctlz-cttz-ctpop.ll) | test_cttz_i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zvkb -O1 |
| div.e1e7c5a736.ll (mutant of div.ll) | udiv8_constant | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvbb -O2 |
| double-bitmanip-dagcombines.7cd49a1849.ll (mutant of double-bitmanip-dagcombines.ll) | fabs | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zdinx -O2 |
| rv64f-float-convert.a73b690951.ll (mutant of rv64f-float-convert.ll) | bcvt_i64_to_f32_via_i32 | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zfinx,+c -O3 |
Generated 2026-11-29 14:49 UTC.