fallback: legalize: G_FSUB <N x f32>

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

Snippet:

define void @fsub_v4f32(ptr %x, ptr %y) {
  %a = load <4 x float>, ptr %x, align 16
  %b = load <4 x float>, ptr %y, align 16
  %c = fsub <4 x float> %a, %b
  store <4 x float> %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:_(<4 x f32>) = G_FSUB %2:_, %3:_ (in function: fsub_v4f32)
warning: Instruction selection used fallback path for fsub_v4f32

Occurrences (52) (first 15):

InputFunctionConfig
fixed-vectors-fp.llfsub_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v8f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_vf_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_fv_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v8f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_vf_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_fv_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_vf_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_fv_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_v8f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llfsub_vf_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.