fallback: translate: lshr i8
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: lshr i8 M |
| Occurrences: | 3 in 3 configs, 3 test files, 19 more counted only |
| Snippet from: | calllowering-zfinx-zhinx.1e906ac31b.ll (mutant of calllowering-zfinx-zhinx.ll) @callee_half via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zhinx,+c -O2 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define half @callee_half(half %x, half %y) #0 {
%B = lshr i8 16, 0
store i8 %B, ptr poison, align 1
ret half %y
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zhinx,+c -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx,+c -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: lshr: ' %B = lshr i8 16, 0' (in function: callee_half)
warning: Instruction selection used fallback path for callee_half
Occurrences (3):
| Input | Function | Config |
|---|
| calllowering-zfinx-zhinx.1e906ac31b.ll (mutant of calllowering-zfinx-zhinx.ll) | callee_half | -mtriple=riscv64 -mattr=+zhinx,+c -O2 -verify-machineinstrs |
| rv32zbb-zbkb.2ae2042dde.ll (mutant of rv32zbb-zbkb.ll) | andn_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zdinx,+c -O0 |
| rv64zbb-zbkb.4d2961731e.ll (mutant of rv64zbb-zbkb.ll) | srli_i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zfinx -O2 |
Generated 2026-11-29 14:49 UTC.