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

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_FPEXT <N x f32>,<N x f16>
Occurrences:12 in 2 configs, 1 test files
Snippet from:fixed-vectors-fp-conv.ll @fpext_v2f16_v2f32 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fpext_v2f16_v2f32(ptr %x, ptr %y) {
  %a = load <2 x half>, ptr %x, align 4
  %d = fpext <2 x half> %a to <2 x float>
  store <2 x float> %d, ptr %y, align 8
  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: %3:_(<2 x f32>) = G_FPEXT %2:_(<2 x f16>) (in function: fpext_v2f16_v2f32)
warning: Instruction selection used fallback path for fpext_v2f16_v2f32

Occurrences (12):

InputFunctionConfig
fixed-vectors-fp-conv.llfpext_v2f16_v2f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.llfpext_v8f16_v8f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.llfpext_v2f16_v2f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.llfpext_v8f16_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.201f6f38a6.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v8f16_v8f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.3d608a4079.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v8f16_v8f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.4811e637ec.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v2f16_v2f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.51bb54afbd.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v2f16_v2f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.5aed94fac5.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v8f16_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.70457cc23e.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v8f16_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.999af02dc9.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v8f16_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs
fixed-vectors-fp-conv.b63f137bc2.ll (mutant of fixed-vectors-fp-conv.ll)fpext_v8f16_v8f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+f,+d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.