fallback: translate: shl i16

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: shl i16 M
Occurrences:4 in 4 configs, 4 test files, 19 more counted only
Snippet from:rv32-move-merge.51df2e4002.ll (mutant of rv32-move-merge.ll) @pli_h_pair via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zba -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i64 @pli_h_pair() #0 {
  %B = shl i16 32767, -1
  store i16 %B, ptr poison, align 2
  ret i64 11822129413226538
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %B = shl i16 32767, -1' (in function: pli_h_pair)
warning: Instruction selection used fallback path for pli_h_pair

Occurrences (4):

InputFunctionConfig
double-convert-strict.6f9a0621d8.ll (mutant of double-convert-strict.ll)fcvt_d_wu_i16-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 -mattr=+zdinx,+zhinx -O0
half-convert.2ed73b2fd3.ll (mutant of half-convert.ll)fcvt_w_s_sat_i8-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O1
rv32-move-merge.51df2e4002.ll (mutant of rv32-move-merge.ll)pli_h_pair-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zba -O1
rv64f-float-convert-strict.0b818b08b2.ll (mutant of rv64f-float-convert-strict.ll)sext_fptoui-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -disable-strictnode-mutation -mattr=+zfinx,+zihintpause,+m -O1

Generated 2026-11-29 14:49 UTC.