fallback: legalize: G_SHUFFLE_VECTOR <N x f32>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_SHUFFLE_VECTOR <N x f32>
Occurrences:23 in 9 configs, 3 test files
Snippet from:fixed-vectors-fp-splat.ll @splat_v4f32 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @splat_v4f32(ptr %x, float %y) {
  %a = insertelement <4 x float> poison, float %y, i32 0
  %b = shufflevector <4 x float> %a, <4 x float> poison, <4 x i32> zeroinitializer
  store <4 x float> %b, ptr %x, align 16
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<4 x f32>) = G_SHUFFLE_VECTOR %2:_(<4 x f32>), %3:_, shufflemask(0, 0, 0, 0) (in function: splat_v4f32)
warning: Instruction selection used fallback path for splat_v4f32

Occurrences (23) (first 15):

InputFunctionConfig
fixed-vectors-fp-splat.llsplat_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v8f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfhmin,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfhmin,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-vrgather.llgather_const_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-vrgather.llgather_const_v32f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-vrgather.llgather_const_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-vrgather.llgather_const_v32f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-shuffle-deinterleave2.llvnsrl_0_float_two_source-mtriple=riscv64 -mattr=+f,+zve32f,+zvfh,+zvfbfmin,+zvl256b -lower-interleaved-accesses=false -verify-machineinstrs
fixed-vectors-shuffle-deinterleave2.llvnsrl_32_float_two_source-mtriple=riscv64 -mattr=+f,+zve32f,+zvfh,+zvfbfmin,+zvl256b -lower-interleaved-accesses=false -verify-machineinstrs
fixed-vectors-shuffle-deinterleave2.llvnsrl_0_float_two_source-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin,+zvl256b -lower-interleaved-accesses=false -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.