fallback: legalize: G_INSERT_VECTOR_ELT <N x f64>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_INSERT_VECTOR_ELT <N x f64> M
Occurrences:3 in 3 configs, 3 test files, 11 more counted only
Snippet from:fixed-vectors-fp-conv.c15cfe50f4.ll (mutant of fixed-vectors-fp-conv.ll) @fpext_v8f16_v8f64 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+f,+zicond -O1 -code-model=medium
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fpext_v8f16_v8f64(ptr %x, ptr %y) {
  %A = alloca <8 x double>, align 64
  store <8 x double> poison, ptr %A, align 64
  %a = load <8 x half>, ptr %x, align 16
  %d = fpext <8 x half> %a to <8 x double>
  %I = insertelement <8 x double> %d, double +qnan, i8 1
  store <8 x double> %d, ptr %y, align 64
  store <8 x double> %I, ptr %A, align 64
  ret void
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+f,+zicond -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+f,+zicond -O1 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %6:_(<8 x f64>) = G_INSERT_VECTOR_ELT %5:_, %7:_(f64), %8:_(i64) (in function: fpext_v8f16_v8f64)
warning: Instruction selection used fallback path for fpext_v8f16_v8f64

Occurrences (3):

InputFunctionConfig
fixed-vectors-fp-buildvec.0767bc605b.ll (mutant of fixed-vectors-fp-buildvec.ll)buildvec_v8f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfhmin,+zvfhmin,+f,+d -O0
fixed-vectors-fp-conv.c15cfe50f4.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v8f16_v8f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+f,+zicond -O1 -code-model=medium
fixed-vectors-shuffle-vslide1down.451e052e5a.ll (mutant of fixed-vectors-shuffle-vslide1down.ll)vslide1down_v2f64_inverted-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+f,+d,+zvfh -O3

Generated 2026-11-29 14:49 UTC.