fallback: legalize: G_STRICT_FSUB <N x f16>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_STRICT_FSUB <N x f16> M
Occurrences:4 in 3 configs, 1 test files, 4 more counted only
Snippet from:fixed-vectors-vfsub-constrained-sdnode.5545efbf8c.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll) @vfsub_vv_v16f16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+experimental-zvfbfa -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i64

; Function Attrs: strictfp
define <16 x half> @vfsub_vv_v16f16(<16 x half> %va, <16 x half> %vb) #0 {
entry:
  %LGV = load i64, ptr @G.1, align 4
  %vc = call <16 x half> @llvm.experimental.constrained.fsub.v16f16(<16 x half> %va, <16 x half> %vb, metadata !"round.dynamic", metadata !"fpexcept.ignore")
  %B = udiv i64 1, %LGV
  store i64 %B, ptr poison, align 4
  ret <16 x half> %vc
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <16 x half> @llvm.experimental.constrained.fsub.v16f16(<16 x half>, <16 x half>, metadata, metadata) #1

attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+experimental-zvfbfa -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+experimental-zvfbfa -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %61:_(<16 x f16>) = nofpexcept G_STRICT_FSUB %0:_, %1:_ (in function: vfsub_vv_v16f16)
warning: Instruction selection used fallback path for vfsub_vv_v16f16

Occurrences (4):

InputFunctionConfig
fixed-vectors-vfsub-constrained-sdnode.5545efbf8c.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll)vfsub_vv_v16f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+experimental-zvfbfa -O2
fixed-vectors-vfsub-constrained-sdnode.965eeb94d1.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll)vfsub_vf_v4f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+experimental-zvfbfa,+v -O2
fixed-vectors-vfsub-constrained-sdnode.965eeb94d1.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll)vfsub_vv_v16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+experimental-zvfbfa,+v -O2
fixed-vectors-vfsub-constrained-sdnode.d8d985210a.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll)vfsub_vv_v2f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O2

Generated 2026-11-29 14:49 UTC.