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

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: shl <vscale x N x i32>
Occurrences:35 in 9 configs, 8 test files
Snippet from:combine-splats.ll @combine_vec_shl_shl via llvm-extract
Config:-mtriple=riscv32 -mattr=+m,+v
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x i32> @combine_vec_shl_shl(<vscale x 4 x i32> %x) {
  %v1 = shl <vscale x 4 x i32> %x, splat (i32 2)
  %v2 = shl <vscale x 4 x i32> %v1, splat (i32 4)
  ret <vscale x 4 x i32> %v2
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %v1 = shl <vscale x 4 x i32> %x, splat (i32 2)' (in function: combine_vec_shl_shl)
warning: Instruction selection used fallback path for combine_vec_shl_shl

Occurrences (35) (first 15):

InputFunctionConfig
combine-splats.llcombine_vec_shl_shl-mtriple=riscv32 -mattr=+m,+v
combine-splats.llcombine_vec_shl_shl-mtriple=riscv64 -mattr=+m,+v
sink-splat-operands.llsink_splat_shl_scalable-mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f
vshl-sdnode.llvshl_vx_nxv1i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv1i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv2i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv2i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv4i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv8i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv8i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv16i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv16i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv1i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
vshl-sdnode.llvshl_vx_nxv1i32_0-mtriple=riscv64 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.