fallback: translate: udiv i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: udiv i8 M |
| Occurrences: | 4 in 4 configs, 4 test files, 45 more counted only |
| Snippet from: | div-by-constant.cd2493f4df.ll (mutant of div-by-constant.ll) @udiv8_constant_no_add via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zdinx -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i8 @udiv8_constant_no_add(i8 %a) #0 {
%1 = udiv i8 %a, 5
%B = xor i8 %a, %1
ret i8 %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zdinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zdinx -O3 -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_no_add)
warning: Instruction selection used fallback path for udiv8_constant_no_add
Occurrences (4):
| Input | Function | Config |
|---|
| ctlz-cttz-ctpop.88f581c2ac.ll (mutant of ctlz-cttz-ctpop.ll) | test_cttz_i8_zero_poison | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 |
| div-by-constant.cd2493f4df.ll (mutant of div-by-constant.ll) | udiv8_constant_no_add | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zdinx -O3 |
| div-by-constant.ddff4993fc.ll (mutant of div-by-constant.ll) | udiv8_constant_add | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbs,+zhinx -O1 |
| half-arith.98336bd6d6.ll (mutant of half-arith.ll) | fmul_h | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 |
Generated 2026-11-29 14:49 UTC.