fallback: translate: shufflevector <N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: shufflevector <N x i64> M
Occurrences:5 in 5 configs, 5 test files, 14 more counted only
Snippet from:rv64f-float-convert.3e631c28cf.ll (mutant of rv64f-float-convert.ll) @zext_fptosi via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define zeroext i32 @zext_fptosi(float %a) #0 {
  %S = shufflevector <2 x i64> splat (i64 42), <2 x i64> splat (i64 -1), <2 x i32> poison
  %1 = fptosi float %a to i32
  store <2 x i64> %S, ptr poison, align 16
  ret i32 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx -O3 -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 42), <2 x i64> splat (i64 -1), <2 x i32> poison' (in function: zext_fptosi)
warning: Instruction selection used fallback path for zext_fptosi

Occurrences (5):

InputFunctionConfig
emutls.2bdea05890.ll (mutant of emutls.ll)get_y-mtriple=riscv32 -emulated-tls -relocation-model=pic -mattr=+zdinx -O0 -verify-machineinstrs
fixed-vectors-shuffle-exact-vlen.c80d2f1c.fcea4130c5.ll (mutant of fixed-vectors-shuffle-exact-vlen.c80d2f1c.ll)m2_splat_into_slide_two_source_v2_lo-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3
rv32zbb.e8aafdb67c.ll (mutant of rv32zbb.ll)abs_i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O2
rv64f-float-convert.3e631c28cf.ll (mutant of rv64f-float-convert.ll)zext_fptosi-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx -O3
zicond-fp-select-zfinx.b9518be775.ll (mutant of zicond-fp-select-zfinx.ll)select_i1_half_0-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zvkb -O2 -code-model=small

Generated 2026-11-29 14:49 UTC.