fallback: translate: shl <N x i32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: shl <N x i32> M
Occurrences:4 in 4 configs, 4 test files, 16 more counted only
Snippet from:rvp-narrowing-zip.e91c6f1d0c.ll (mutant of rvp-narrowing-zip.ll) @test_pnzip_v4i16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zdinx -O2 -code-model=medium
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x i16> @test_pnzip_v4i16(<2 x i32> %a, <2 x i32> %b) {
  %B = shl <2 x i32> %a, %b
  %ca = bitcast <2 x i32> %a to <4 x i16>
  %cb = bitcast <2 x i32> %B to <4 x i16>
  %r = shufflevector <4 x i16> %ca, <4 x i16> %cb, <4 x i32> <i32 0, i32 4, i32 2, i32 6>
  ret <4 x i16> %r
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zdinx -O2 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zdinx -O2 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %B = shl <2 x i32> %a, %b' (in function: test_pnzip_v4i16)
warning: Instruction selection used fallback path for test_pnzip_v4i16

Occurrences (4):

InputFunctionConfig
double-fcmp.17a479213d.ll (mutant of double-fcmp.ll)fcmp_ogt-mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs
fpenv-xlen.698f4e9daf.ll (mutant of fpenv-xlen.ll)func_get_fpmode-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+zicsr,+zihintpause -O3
rvp-narrowing-zip.e91c6f1d0c.ll (mutant of rvp-narrowing-zip.ll)test_pnzip_v4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbb,+zdinx -O2 -code-model=medium
target-abi-valid.73c3e224f2.ll (mutant of target-abi-valid.ll)nothing-mtriple=riscv64 -mattr=+a,+zhinx -O2 -code-model=small -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.