fallback: translate: lshr <N x i8>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: lshr <N x i8> M
Occurrences:5 in 5 configs, 5 test files, 15 more counted only
Snippet from:constantpool.a535b60ae2.ll (mutant of constantpool.ll) @constpool_f32_1234_5 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global <8 x i8>

define void @constpool_f32_1234_5(ptr %p) {
  %B = lshr <8 x i8> splat (i8 127), splat (i8 1)
  store float 1.234500e+03, ptr %p, align 4
  store <8 x i8> %B, ptr @G.3, align 8
  ret void
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: lshr: '  %B = lshr <8 x i8> splat (i8 127), splat (i8 1)' (in function: constpool_f32_1234_5)
warning: Instruction selection used fallback path for constpool_f32_1234_5

Occurrences (5):

InputFunctionConfig
constantpool.a535b60ae2.ll (mutant of constantpool.ll)constpool_f32_1234_5-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
double-imm.2b320cf2b1.ll (mutant of double-imm.ll)double_imm-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O3
get-register-noreserve.47fc371eb2.ll (mutant of get-register-noreserve.ll)get_tp_arch_name-mtriple=riscv32 -mattr=+zhinx -O1 -code-model=small -verify-machineinstrs
half-imm.1d6041c6db.ll (mutant of half-imm.ll)undef-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin -O0
shadowcallstack.8c3ac20c5e.ll (mutant of shadowcallstack.ll)f3_hw-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2

Generated 2026-11-29 14:49 UTC.