fallback: translate: shl <N x i32>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: shl <N x i32> M
Occurrences:3 in 3 configs, 3 test files, 11 more counted only
Snippet from:zicond-fp-select-zfinx.dd9a777b8f.ll (mutant of zicond-fp-select-zfinx.ll) @select_i1_half_0 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicond,+zvkb,+zfinx -O1
Local check:reproduces at d9924131a4
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 <4 x i32> splat (i32 2147483647), splat (i32 -2147483648)
  %sel = select i1 %cond, half %val, half 0.000000e+00
  store <4 x i32> %B, ptr poison, align 16
  ret half %sel
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %B = shl <4 x i32> splat (i32 2147483647), splat (i32 -2147483648)' (in function: select_i1_half_0)
warning: Instruction selection used fallback path for select_i1_half_0

Occurrences (3):

InputFunctionConfig
xqccmp-push-pop-popret.69980cb0ed.ll (mutant of xqccmp-push-pop-popret.ll)alloca-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0
zfhmin-imm.bc86258c39.ll (mutant of zfhmin-imm.ll)f16_positive_zero-mtriple=riscv32 -target-abi ilp32 -mattr=+zhinxmin,+zdinx -O3 -verify-machineinstrs
zicond-fp-select-zfinx.dd9a777b8f.ll (mutant of zicond-fp-select-zfinx.ll)select_i1_half_0-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicond,+zvkb,+zfinx -O1

Generated 2026-11-29 14:49 UTC.