fallback: translate: shufflevector <N x float>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: shufflevector <N x float> M
Occurrences:3 in 3 configs, 3 test files, 16 more counted only
Snippet from:calling-conv-sext-zext.efacc6fc25.ll (mutant of calling-conv-sext-zext.ll) @ret_callresult_uint8_as_sint8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global <4 x float>

declare zeroext i8 @return_uint8()

; Function Attrs: nounwind
define signext i8 @ret_callresult_uint8_as_sint8() #0 {
  %S = shufflevector <4 x float> splat (float 1.000000e+00), <4 x float> splat (float +qnan), <4 x i32> poison
  %1 = call zeroext i8 @return_uint8()
  store <4 x float> %S, ptr @G.2, align 16
  ret i8 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shufflevector: '  %S = shufflevector <4 x float> splat (float 1.000000e+00), <4 x float> splat (float +qnan), <4 x i32> poison' (in function: ret_callresult_uint8_as_sint8)
warning: Instruction selection used fallback path for ret_callresult_uint8_as_sint8

Occurrences (3):

InputFunctionConfig
calling-conv-sext-zext.efacc6fc25.ll (mutant of calling-conv-sext-zext.ll)ret_callresult_uint8_as_sint8-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1
prefetch.c376fde08a.ll (mutant of prefetch.ll)test_prefetch_offsetable_0-mtriple=riscv64 -mattr=+zicbop,+zfinx,+zicsr -O2 -code-model=medium -verify-machineinstrs
rv64zfh-half-convert-strict.ba481bca77.ll (mutant of rv64zfh-half-convert-strict.ll)uitofp_sext_i32_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx,+zve32x,+zbb -O0

Generated 2026-11-29 14:49 UTC.