fallback: legalize: G_STRICT_FSUB s16

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_STRICT_FSUB s16
Occurrences:16 in 8 configs, 1 test files
Snippet from:half-arith-strict.ll @fsub_h via llvm-extract
Config:-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind strictfp
define half @fsub_h(half %a, half %b) #0 {
  %1 = call half @llvm.experimental.constrained.fsub.f16(half %a, half %b, metadata !"round.dynamic", metadata !"fpexcept.strict") #2
  ret half %1
}

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

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

Reproduce:

llc -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %2:_(s16) = G_STRICT_FSUB %0:_, %1:_ (in function: fsub_h)
warning: Instruction selection used fallback path for fsub_h

Occurrences (16):

InputFunctionConfig
half-arith-strict.llfsub_h-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
half-arith-strict.llfsub_h-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
half-arith-strict.llfsub_h-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32
half-arith-strict.llfsub_h-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32
half-arith-strict.llfsub_h-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f
half-arith-strict.llfsub_h-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f
half-arith-strict.llfsub_h-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64
half-arith-strict.llfsub_h-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64
half-arith-strict.07cc945ed3.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64
half-arith-strict.9464aade40.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32
half-arith-strict.9a9b401547.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f
half-arith-strict.9abbdd94d1.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
half-arith-strict.b6a1bb16c9.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32f
half-arith-strict.d6bdc9d884.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64f
half-arith-strict.d748e84db8.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -disable-strictnode-mutation -target-abi ilp32
half-arith-strict.d827544105.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64

Generated 2026-10-15 08:05 UTC.