fallback: legalize: G_FPEXT

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:legalize: G_FPEXT
Occurrences:27 in 17 configs, 3 test files
Snippet from:half-convert.ll @fcvt_q_h via llvm-extract
Config:-mtriple=riscv32 -mattr=+d -target-abi=ilp32 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define fp128 @fcvt_q_h(ptr %x) {
  %a = load half, ptr %x, align 2
  %b = fpext half %a to fp128
  ret fp128 %b
}

Reproduce:

llc -mtriple=riscv32 -mattr=+d -target-abi=ilp32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d -target-abi=ilp32 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %3:_(f128) = G_FPEXT %2:_(f16) (in function: fcvt_q_h)
warning: Instruction selection used fallback path for fcvt_q_h

Occurrences (27) (first 15):

InputFunctionConfig
fp128.llfpext_f32-mtriple=riscv32
fp128.llfpext_f64-mtriple=riscv32
fp128.llfpext_f32-mtriple=riscv32 -mattr=+d
fp128.llfpext_f64-mtriple=riscv32 -mattr=+d
bf16-promote.lltest_fpextend_float-mtriple=riscv32 -mattr=+d -target-abi=ilp32d
bf16-promote.lltest_fpextend_double-mtriple=riscv32 -mattr=+d -target-abi=ilp32d
bf16-promote.lltest_fpextend_float-mtriple=riscv64 -mattr=+d -target-abi=lp64d
bf16-promote.lltest_fpextend_double-mtriple=riscv64 -mattr=+d -target-abi=lp64d
half-convert.llfcvt_q_h-mtriple=riscv32 -mattr=+d -target-abi=ilp32 -verify-machineinstrs
half-convert.llfcvt_q_h-mtriple=riscv32 -mattr=+d,+zfh -verify-machineinstrs -target-abi ilp32d
half-convert.llfcvt_q_h-mtriple=riscv32 -mattr=+d,+zfhmin -verify-machineinstrs -target-abi ilp32d
half-convert.llfcvt_q_h-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f
half-convert.llfcvt_q_h-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f
half-convert.llfcvt_q_h-mtriple=riscv32 -verify-machineinstrs
half-convert.llfcvt_q_h-mtriple=riscv64 -mattr=+d -target-abi=lp64 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.