fallback: legalize: G_FPEXT <N x f64>,<N x f32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_FPEXT <N x f64>,<N x f32> M
Occurrences:3 in 3 configs, 2 test files, 6 more counted only
Snippet from:fixed-vectors-fpext-vp.c4f0066673.ll (mutant of fixed-vectors-fpext-vp.ll) @vfpext_v32f32_v32f64 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+zfhmin -O1 -code-model=medium
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i16

define <32 x double> @vfpext_v32f32_v32f64(<32 x float> %a, <32 x i1> %m, i32 zeroext %vl) {
  %LGV = load i16, ptr @G, align 2
  %C = icmp uge i16 42, %LGV
  %v = fpext <32 x float> %a to <32 x double>
  store i1 %C, ptr poison, align 1
  ret <32 x double> %v
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+zfhmin -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+zfhmin -O1 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %69:_(<32 x f64>) = G_FPEXT %0:_(<32 x f32>) (in function: vfpext_v32f32_v32f64)
warning: Instruction selection used fallback path for vfpext_v32f32_v32f64

Occurrences (3):

InputFunctionConfig
fixed-vectors-fpext-vp.3e66f9add1.ll (mutant of fixed-vectors-fpext-vp.ll)vfpext_v15f32_v15f64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin -O2
fixed-vectors-fpext-vp.c4f0066673.ll (mutant of fixed-vectors-fpext-vp.ll)vfpext_v32f32_v32f64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+zfhmin -O1 -code-model=medium
fixed-vectors-vfw-web-simplification.026fc85f4f.ll (mutant of fixed-vectors-vfw-web-simplification.ll)vfwmacc_v2f32_addend_user-mtriple=riscv64 -verify-machineinstrs --riscv-lower-ext-max-web-size=3 -mattr=+f,+d -O3

Generated 2026-11-29 14:49 UTC.