fallback: translate: sdiv i8
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: sdiv i8 M |
| Occurrences: | 6 in 6 configs, 5 test files, 26 more counted only |
| Snippet from: | div-by-constant.6437c5aae7.ll (mutant of div-by-constant.ll) @sdiv8_constant_no_srai via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zhinx -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i8 @sdiv8_constant_no_srai(i8 %a) #0 {
%1 = sdiv i8 %a, 3
%B = xor i8 %1, %1
ret i8 %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zhinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zhinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sdiv: ' %1 = sdiv i8 %a, 3' (in function: sdiv8_constant_no_srai)
warning: Instruction selection used fallback path for sdiv8_constant_no_srai
Occurrences (6):
| Input | Function | Config |
|---|
| atomic-signext.3f4096d910.ll (mutant of atomic-signext.ll) | atomicrmw_and_i64_monotonic | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zacas,+c,+zhinx -O1 |
| ctz_zero_return_test.b7768b1a12.ll (mutant of ctz_zero_return_test.ll) | test_ctlz_select_i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zfinx,+zhinx -O2 -code-model=small |
| div-by-constant.6437c5aae7.ll (mutant of div-by-constant.ll) | sdiv8_constant_no_srai | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zhinx -O1 |
| div-by-constant.7698c4128f.ll (mutant of div-by-constant.ll) | sdiv8_constant_sub_srai | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zvbb,+zdinx -O2 |
| double-arith-strict.603ff13f9c.ll (mutant of double-arith-strict.ll) | fmin_d | -mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 -mattr=+zdinx -O1 |
| rv64xtheadbb.4b645f4083.ll (mutant of rv64xtheadbb.ll) | ctlz_zero_poison_i64 | -mtriple=riscv64 -mattr=+xtheadbb,+zfinx -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.