fallback: translate: sdiv i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: sdiv i8 M |
| Occurrences: | 4 in 4 configs, 4 test files, 47 more counted only |
| Snippet from: | div-by-constant.a03119c1c1.ll (mutant of div-by-constant.ll) @sdiv8_constant_add_srai via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i8 @sdiv8_constant_add_srai(i8 %a) #0 {
%B = sdiv i8 %a, %a
ret i8 %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sdiv: ' %B = sdiv i8 %a, %a' (in function: sdiv8_constant_add_srai)
warning: Instruction selection used fallback path for sdiv8_constant_add_srai
Occurrences (4):
| Input | Function | Config |
|---|
| div-by-constant.a03119c1c1.ll (mutant of div-by-constant.ll) | sdiv8_constant_add_srai | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O2 |
| fixed-vectors-shuffle-changes-length.904dd481cb.ll (mutant of fixed-vectors-shuffle-changes-length.ll) | v4i32_v32i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3 -code-model=medium |
| float-convert-strict.6880c66a14.ll (mutant of float-convert-strict.ll) | fcvt_s_wu_i8 | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zfinx -O3 |
| uadd_sat_plus.154a48d599.ll (mutant of uadd_sat_plus.ll) | func8 | -mtriple=riscv64 -mattr=+m,+zbb,+zihintpause,+zhinx -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.