fallback: legalize: G_INTRINSIC <N x f16>,<N x f16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_INTRINSIC <N x f16>,<N x f16> M
Occurrences:3 in 3 configs, 1 test files, 2 more counted only
Snippet from:vector-deinterleave-fixed.abf399de5b.ll (mutant of vector-deinterleave-fixed.ll) @vector_deinterleave5_v10f16_v2f16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin,+zvkb -O0 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define { <2 x half>, <2 x half>, <2 x half>, <2 x half>, <2 x half> } @vector_deinterleave5_v10f16_v2f16(<10 x half> %v) {
  %res = call { <2 x half>, <2 x half>, <2 x half>, <2 x half>, <2 x half> } @llvm.vector.deinterleave5.v10f16(<10 x half> %v)
  %I = insertvalue { <2 x half>, <2 x half>, <2 x half>, <2 x half>, <2 x half> } %res, <2 x half> splat (half +qnan), 0
  ret { <2 x half>, <2 x half>, <2 x half>, <2 x half>, <2 x half> } %I
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { <2 x half>, <2 x half>, <2 x half>, <2 x half>, <2 x half> } @llvm.vector.deinterleave5.v10f16(<10 x half>) #0

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin,+zvkb -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin,+zvkb -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %14:_(<2 x f16>), %15:_(<2 x f16>), %16:_(<2 x f16>), %17:_(<2 x f16>), %18:_(<2 x f16>) = G_INTRINSIC intrinsic(@llvm.vector.deinterleave5), %0:_(<10 x f16>) (in function: vector_deinterleave5_v10f16_v2f16)
warning: Instruction selection used fallback path for vector_deinterleave5_v10f16_v2f16

Occurrences (3):

InputFunctionConfig
vector-deinterleave-fixed.46a1103abd.ll (mutant of vector-deinterleave-fixed.ll)vector_deinterleave6_v12f16_v2f16-mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin -O2 -code-model=small -verify-machineinstrs
vector-deinterleave-fixed.7d5f003f88.ll (mutant of vector-deinterleave-fixed.ll)vector_deinterleave6_v12f16_v2f16-mtriple=riscv32 -mattr=+v,+m,+zvfbfmin -O0 -verify-machineinstrs
vector-deinterleave-fixed.abf399de5b.ll (mutant of vector-deinterleave-fixed.ll)vector_deinterleave5_v10f16_v2f16-mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin,+zvkb -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.