fallback: legalize: G_UMULH s8
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_UMULH s8 |
| Occurrences: | 7 in 5 configs, 2 test files |
| Snippet from: | div.ll @udiv8_constant via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i8 @udiv8_constant(i8 %a) #0 {
%1 = udiv i8 %a, 5
ret i8 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %9:_(s8) = G_UMULH %0:_, %6:_ (in function: udiv8_constant)
warning: Instruction selection used fallback path for udiv8_constant
Occurrences (7):
| Input | Function | Config |
|---|
| div.ll | udiv8_constant | -mtriple=riscv32 -verify-machineinstrs |
| div.ll | udiv8_constant | -mtriple=riscv64 -verify-machineinstrs |
| align-loops.cf74750922.ll (mutant of align-loops.ll) | test | -mtriple=riscv64 -align-loops=16 |
| align-loops.e64b7c9235.ll (mutant of align-loops.ll) | test | -mtriple=riscv64 -align-loops=32 |
| align-loops.eb500e9c97.ll (mutant of align-loops.ll) | test | -mtriple=riscv64 |
| div.1f1346649e.ll (mutant of div.ll) | udiv8_constant | -mtriple=riscv64 -verify-machineinstrs |
| div.8ffbe05fd5.ll (mutant of div.ll) | udiv8_constant | -mtriple=riscv32 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.