fallback: translate: ashr i8
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: ashr i8 M |
| Occurrences: | 3 in 3 configs, 3 test files, 21 more counted only |
| Snippet from: | rv64zbb-zbkb.fe4d181d19.ll (mutant of rv64zbb-zbkb.ll) @srai_i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i8 @srai_i8(i8 %a) #0 {
%1 = ashr i8 %a, 5
store i8 %1, ptr poison, align 1
ret i8 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: ashr: ' %1 = ashr i8 %a, 5' (in function: srai_i8)
warning: Instruction selection used fallback path for srai_i8
Occurrences (3):
| Input | Function | Config |
|---|
| ctlz-cttz-ctpop.4f9fd7fa1c.ll (mutant of ctlz-cttz-ctpop.ll) | test_ctlz_i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zhinx -O0 |
| rv64p.3cf2763fb1.ll (mutant of rv64p.ll) | cls_i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zhinx -O1 |
| rv64zbb-zbkb.fe4d181d19.ll (mutant of rv64zbb-zbkb.ll) | srai_i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O1 |
Generated 2026-11-29 14:49 UTC.