fallback: translate: shufflevector <N x i64>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: shufflevector <N x i64> M
Occurrences:4 in 4 configs, 4 test files, 5 more counted only
Snippet from:rv64-double-convert.3ec4fcf982.ll (mutant of rv64-double-convert.ll) @sitofp_i128_to_f64 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zve32x,+a -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.7 = external global <2 x i64>

; Function Attrs: nounwind
define double @sitofp_i128_to_f64(i128 %a) #0 {
  %S = shufflevector <2 x i64> splat (i64 4294967296), <2 x i64> zeroinitializer, <2 x i32> poison
  %1 = sitofp i128 %a to double
  store <2 x i64> %S, ptr @G.7, align 16
  ret double %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zve32x,+a -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zve32x,+a -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shufflevector: '  %S = shufflevector <2 x i64> splat (i64 4294967296), <2 x i64> zeroinitializer, <2 x i32> poison' (in function: sitofp_i128_to_f64)
warning: Instruction selection used fallback path for sitofp_i128_to_f64

Occurrences (4):

InputFunctionConfig
clmul.670eb0b5af.ll (mutant of clmul.ll)mul_use_commutative_clmul_v2i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbs,+zbkb,+zdinx -O3
fixed-vectors-shuffle-exact-vlen.58ea213c.ad243e62.9720a6d876.ll (mutant of fixed-vectors-shuffle-exact-vlen.58ea213c.ad243e62.ll)m2_splat_two_source-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3
i64-icmp.ce3b3bee16.ll (mutant of i64-icmp.ll)icmp_ult_constant_2048-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zicsr -O0
rv64-double-convert.3ec4fcf982.ll (mutant of rv64-double-convert.ll)sitofp_i128_to_f64-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zve32x,+a -O1

Generated 2026-11-29 14:49 UTC.