fallback: legalize: G_SHUFFLE_VECTOR <N x f16>

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

Snippet:

define void @splat_v8f16(ptr %x, half %y) {
  %a = insertelement <8 x half> poison, half %y, i32 0
  %b = shufflevector <8 x half> %a, <8 x half> poison, <8 x i32> zeroinitializer
  store <8 x half> %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:_(<8 x f16>) = G_SHUFFLE_VECTOR %2:_(<8 x f16>), %3:_, shufflemask(0, 0, 0, 0, 0, 0, 0, 0) (in function: splat_v8f16)
warning: Instruction selection used fallback path for splat_v8f16

Occurrences (26) (first 15):

InputFunctionConfig
fixed-vectors-fp-splat.llsplat_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_16f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_64f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v8f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfhmin,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_16f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfhmin,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_64f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfhmin,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v8f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_16f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_64f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_v8f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_16f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-splat.llsplat_64f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+f,+d -verify-machineinstrs
fixed-vectors-fp-vrgather.llgather_const_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-vrgather.llgather_const_v64f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-vrgather.llgather_const_v8f16-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.