fallback: translate: shl <N x i32>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: shl <N x i32> M
Occurrences:4 in 4 configs, 4 test files, 16 more counted only
Snippet from:fastcc-without-f-reg.9533270744.ll (mutant of fastcc-without-f-reg.ll) @callee_half_32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zba -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define fastcc half @callee_half_32(<32 x half> %A) #0 {
  %B1 = shl <4 x i32> splat (i32 -2147483648), zeroinitializer
  %B = extractelement <32 x half> %A, i32 0
  store <4 x i32> %B1, ptr poison, align 16
  ret half %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
fastcc-without-f-reg.9533270744.ll (mutant of fastcc-without-f-reg.ll)callee_half_32-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zba -O1
half-imm.ac1dc834c6.ll (mutant of half-imm.ll)half_positive_zero-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zicsr -O2
rvp-narrowing-clip.323138b493.ll (mutant of rvp-narrowing-clip.ll)pnclipu_v2i16_16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx -O1
xqccmp-with-float.d1d18b9535.ll (mutant of xqccmp-with-float.ll)foo2-mtriple=riscv64 -target-abi lp64f -verify-machineinstrs -mattr=+xqccmp,+zfinx -O0

Generated 2026-11-29 14:49 UTC.