fallback: translate: shl <N x i8>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: shl <N x i8> M
Occurrences:5 in 5 configs, 5 test files, 7 more counted only
Snippet from:zicond-fp-select-zfinx.b04ad66665.ll (mutant of zicond-fp-select-zfinx.ll) @select_i1_half_0 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define dso_local noundef half @select_i1_half_0(i1 %cond, half %val) #0 {
entry:
  %B = shl <8 x i8> splat (i8 -128), splat (i8 127)
  %sel = select i1 %cond, half %val, half 0.000000e+00
  store <8 x i8> %B, ptr poison, align 8
  %C = fcmp ueq half %sel, +inf
  store i1 %C, ptr poison, align 1
  ret half %sel
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
double-convert.7ee833f5c0.ll (mutant of double-convert.ll)fcvt_w_s_sat_i16-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
fixed-vectors-vaaddu.51a8929f27.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_v8i16_ceil-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
fp-fcanonicalize.05f32129e2.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f32_nnan-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2
umulh.6f10ffc604.ll (mutant of umulh.ll)umulh_v16i8-mtriple=riscv32 -mattr=+zhinx,+a -O2 -code-model=medium -verify-machineinstrs
zicond-fp-select-zfinx.b04ad66665.ll (mutant of zicond-fp-select-zfinx.ll)select_i1_half_0-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0

Generated 2026-11-29 14:49 UTC.