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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_FPEXT <N x f64>,<N x f32> M
Occurrences:3 in 3 configs, 1 test files, 3 more counted only
Snippet from:fixed-vectors-fpext-vp.d7dcdc1f47.ll (mutant of fixed-vectors-fpext-vp.ll) @vfpext_v2f32_v2f64_unmasked via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zve32x -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x double> @vfpext_v2f32_v2f64_unmasked(<2 x float> %a, i32 zeroext %vl) {
  %B = udiv i32 %vl, 2147483647
  %v = fpext <2 x float> %a to <2 x double>
  store i32 %B, ptr poison, align 4
  ret <2 x double> %v
}

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
fixed-vectors-fpext-vp.730924d6dd.ll (mutant of fixed-vectors-fpext-vp.ll)vfpext_v15f32_v15f64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+xtheadba -O2
fixed-vectors-fpext-vp.885e16d3ca.ll (mutant of fixed-vectors-fpext-vp.ll)vfpext_v2f32_v2f64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+m -O1
fixed-vectors-fpext-vp.d7dcdc1f47.ll (mutant of fixed-vectors-fpext-vp.ll)vfpext_v2f32_v2f64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zve32x -O3

Generated 2026-11-29 14:49 UTC.