fallback: translate: fsub <N x float>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: fsub <N x float> M
Occurrences:3 in 3 configs, 3 test files, 14 more counted only
Snippet from:fastcc-without-f-reg.b17254e692.ll (mutant of fastcc-without-f-reg.ll) @caller_float_32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
declare fastcc float @callee_float_32(<32 x float>) #0

; Function Attrs: nounwind
define float @caller_float_32(<32 x float> %A) #0 {
  %B = fsub <32 x float> %A, zeroinitializer
  %C = call fastcc float @callee_float_32(<32 x float> %A)
  store <32 x float> %B, ptr poison, align 128
  ret float %C
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fsub: '  %B = fsub <32 x float> %A, zeroinitializer' (in function: caller_float_32)
warning: Instruction selection used fallback path for caller_float_32

Occurrences (3):

InputFunctionConfig
fastcc-without-f-reg.b17254e692.ll (mutant of fastcc-without-f-reg.ll)caller_float_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
half-fcmp-strict.6a895f83cb.ll (mutant of half-fcmp-strict.ll)fcmps_ord-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation -mattr=+zhinx -O3
rv64f-float-convert-strict.0b818b08b2.ll (mutant of rv64f-float-convert-strict.ll)sext_fptosi-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -disable-strictnode-mutation -mattr=+zfinx,+zihintpause,+m -O1

Generated 2026-11-29 14:49 UTC.