fallback: translate: shufflevector <N x i8>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: shufflevector <N x i8> M
Occurrences:5 in 5 configs, 5 test files, 8 more counted only
Snippet from:rvp-reverse.31303519ff.ll (mutant of rvp-reverse.ll) @test_prev_v4i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx,+a -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x i8> @test_prev_v4i8(<4 x i8> %a) {
  %r = shufflevector <4 x i8> %a, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
  %E = extractelement <4 x i8> %a, i32 -1
  store i8 %E, ptr poison, align 1
  ret <4 x i8> %r
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx,+a -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx,+a -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shufflevector: '  %r = shufflevector <4 x i8> %a, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>' (in function: test_prev_v4i8)
warning: Instruction selection used fallback path for test_prev_v4i8

Occurrences (5):

InputFunctionConfig
ctz_zero_return_test.6ad99fb11b.ll (mutant of ctz_zero_return_test.ll)test_ctlz_select_i10-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zdinx -O3
fixed-vectors-shuffle-int.254c98bc81.ll (mutant of fixed-vectors-shuffle-int.ll)splat_ve2_we0_ins_i0we4-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1
half-maximum-minimum.c79413c09d.ll (mutant of half-maximum-minimum.ll)fminimum_nnan_attr_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O0
rv32zbs.2f549dfc8d.ll (mutant of rv32zbs.ll)bclri_i32_11-mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O1
rvp-reverse.31303519ff.ll (mutant of rvp-reverse.ll)test_prev_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx,+a -O0

Generated 2026-11-29 14:49 UTC.