fallback: legalize: G_FSUB <N x f16>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_FSUB <N x f16>
Occurrences:41 in 7 configs, 3 test files
Snippet from:fixed-vectors-fp.ll @fsub_v8f16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fsub_v8f16(ptr %x, ptr %y) {
  %a = load <8 x half>, ptr %x, align 16
  %b = load <8 x half>, ptr %y, align 16
  %c = fsub <8 x half> %a, %b
  store <8 x half> %c, ptr %x, align 16
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %4:_(<8 x f16>) = G_FSUB %2:_, %3:_ (in function: fsub_v8f16)
warning: Instruction selection used fallback path for fsub_v8f16

Occurrences (41) (first 15):

InputFunctionConfig
fixed-vectors-fp.llfsub_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v6f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v16f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_vf_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_vf_v6f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_fv_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_fv_v6f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v6f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v16f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_vf_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_vf_v6f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_fv_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_fv_v6f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfmsub_fmuladd_v8f16-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.