fallback: translate: shl <vscale x N x i8>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: shl <vscale x N x i8>
Occurrences:34 in 2 configs, 3 test files
Snippet from:vshl-sdnode.ll @vshl_vx_nxv1i8 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 1 x i8> @vshl_vx_nxv1i8(<vscale x 1 x i8> %va, i8 signext %b) {
  %head = insertelement <vscale x 1 x i8> poison, i8 %b, i32 0
  %splat = shufflevector <vscale x 1 x i8> %head, <vscale x 1 x i8> poison, <vscale x 1 x i32> zeroinitializer
  %vc = shl <vscale x 1 x i8> %va, %splat
  ret <vscale x 1 x i8> %vc
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %vc = shl <vscale x 1 x i8> %va, %splat' (in function: vshl_vx_nxv1i8)
warning: Instruction selection used fallback path for vshl_vx_nxv1i8

Occurrences (34) (first 15):

InputFunctionConfig
vshl-sdnode.llvshl_vx_nxv1i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv1i8_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv2i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv2i8_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv4i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv4i8_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv8i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv8i8_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv16i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv16i8_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv32i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv32i8_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv64i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv64i8_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv1i8-mtriple=riscv64 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.