fallback: translate: lshr i8

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: lshr i8 M
Occurrences:4 in 4 configs, 4 test files, 24 more counted only
Snippet from:xqcibm-cto-clo-brev.7b70cfcef0.ll (mutant of xqcibm-cto-clo-brev.ll) @brev_i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i8 @brev_i8(i8 %a0) {
  %B = lshr i8 %a0, 16
  ret i8 %B
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: lshr: '  %B = lshr i8 %a0, 16' (in function: brev_i8)
warning: Instruction selection used fallback path for brev_i8

Occurrences (4):

InputFunctionConfig
avgceils.149bb9b6ce.ll (mutant of avgceils.ll)test_ext_i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+zvkb -O2
clmul.b6aa8b888f.ll (mutant of clmul.ll)clmul_i4_noimplicitfloat-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx,+a -O0
cmov-branch-opt.9036d77fec.ll (mutant of cmov-branch-opt.ll)select_xor_2b-mtriple=riscv64 -verify-machineinstrs -mattr=+short-forward-branch-ialu,+zdinx -O2
xqcibm-cto-clo-brev.7b70cfcef0.ll (mutant of xqcibm-cto-clo-brev.ll)brev_i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small

Generated 2026-11-29 14:49 UTC.