fallback: translate: shl i16

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: shl i16 M
Occurrences:4 in 4 configs, 4 test files, 22 more counted only
Snippet from:avgflooru.eb8e216a9d.ll (mutant of avgflooru.ll) @test_fixed_i16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i16 @test_fixed_i16(i16 %a0, i16 %a1) #0 {
  %B = shl i16 %a0, %a1
  ret i16 %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
andn-zext-lowmask.d17b9bf980.ll (mutant of andn-zext-lowmask.ll)andn_zext_lowmask_i32_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zdinx,+zcb -O2
atomicrmw-xchg.454e711d06.ll (mutant of atomicrmw-xchg.ll)atomicrmw_xchg_i16_acquire-mtriple=riscv64 -mattr=+zalrsc,+zfinx -O1 -code-model=medium -verify-machineinstrs
avgflooru.eb8e216a9d.ll (mutant of avgflooru.ll)test_fixed_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
ssub_sat.5aa81cb3d8.ll (mutant of ssub_sat.ll)func16-mtriple=riscv32 -mattr=+m,+zdinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.