fallback: translate: lshr <N x i8>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: lshr <N x i8> M
Occurrences:3 in 3 configs, 3 test files, 9 more counted only
Snippet from:rv64zfhmin-half-convert.6bbb1ceb41.ll (mutant of rv64zfhmin-half-convert.ll) @sitofp_sext_i32_to_f16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+xtheadba,+zvkb -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define half @sitofp_sext_i32_to_f16(i32 signext %a) #0 {
  %B = lshr <8 x i8> zeroinitializer, zeroinitializer
  %1 = sitofp i32 %a to half
  store <8 x i8> %B, ptr poison, align 8
  ret half %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+xtheadba,+zvkb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+xtheadba,+zvkb -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
exception-pointer-register.7d2fc6a6d8.ll (mutant of exception-pointer-register.ll)callee-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0 -code-model=small
float-intrinsics.e6edda8841.ll (mutant of float-intrinsics.ll)cosh_f32-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O2
rv64zfhmin-half-convert.6bbb1ceb41.ll (mutant of rv64zfhmin-half-convert.ll)sitofp_sext_i32_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+xtheadba,+zvkb -O0

Generated 2026-11-29 14:49 UTC.