fallback: translate: lshr <vscale x N x i16>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: lshr <vscale x N x i16>
Occurrences:46 in 6 configs, 9 test files
Snippet from:combine-splats.ll @combine_vec_lshr_lshr via llvm-extract
Config:-mtriple=riscv32 -mattr=+m,+v
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x i16> @combine_vec_lshr_lshr(<vscale x 8 x i16> %x) {
  %v1 = lshr <vscale x 8 x i16> %x, splat (i16 4)
  %v2 = lshr <vscale x 8 x i16> %v1, splat (i16 4)
  ret <vscale x 8 x i16> %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: lshr: '  %v1 = lshr <vscale x 8 x i16> %x, splat (i16 4)' (in function: combine_vec_lshr_lshr)
warning: Instruction selection used fallback path for combine_vec_lshr_lshr

Occurrences (46) (first 15):

InputFunctionConfig
combine-splats.llcombine_vec_lshr_lshr-mtriple=riscv32 -mattr=+m,+v
combine-splats.llcombine_vec_lshr_lshr-mtriple=riscv64 -mattr=+m,+v
mul-combine.lltest_nxv2i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
mul-combine.lltest_nxv2i16-mtriple=riscv64 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv1i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv1i16_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv2i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv2i16_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv4i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv4i16_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv8i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv8i16_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv16i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv16i16_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vsrl-sdnode.llvsrl_vx_nxv32i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.