fallback: translate: shufflevector <N x i32>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: shufflevector <N x i32> M
Occurrences:3 in 3 configs, 2 test files, 11 more counted only
Snippet from:atomic-fence.2fd055c3c4.ll (mutant of atomic-fence.ll) @fence_singlethread_release via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+zhinx,+zvbb -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global <4 x i32>

; Function Attrs: nounwind
define void @fence_singlethread_release() #0 {
  %S = shufflevector <4 x i32> splat (i32 2147483647), <4 x i32> splat (i32 1), <4 x i32> poison
  fence syncscope("singlethread") release
  store <4 x i32> %S, ptr @G.3, align 16
  ret void
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+zhinx,+zvbb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+zhinx,+zvbb -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shufflevector: '  %S = shufflevector <4 x i32> splat (i32 2147483647), <4 x i32> splat (i32 1), <4 x i32> poison' (in function: fence_singlethread_release)
warning: Instruction selection used fallback path for fence_singlethread_release

Occurrences (3):

InputFunctionConfig
atomic-fence.2fd055c3c4.ll (mutant of atomic-fence.ll)fence_singlethread_release-mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+zhinx,+zvbb -O0
fixed-vectors-shuffle-concat.0fb61d88c0.ll (mutant of fixed-vectors-shuffle-concat.ll)concat_8xv2i32-mtriple=riscv32 -riscv-v-vector-bits-max=128 -verify-machineinstrs -mattr=+zhinx -O3
fixed-vectors-shuffle-concat.7caafcb735.ll (mutant of fixed-vectors-shuffle-concat.ll)concat_4xv8i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0

Generated 2026-11-29 14:49 UTC.