fallback: translate: fsub <vscale x N x float>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: fsub <vscale x N x float>
Occurrences:152 in 19 configs, 23 test files
Snippet from:vsplats-zfa.ll @vfsub_vf_neg via llvm-extract
Config:-mtriple=riscv32 -mattr=+zfh,+zfa,+zvfh,+v -target-abi ilp32d -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x float> @vfsub_vf_neg(<vscale x 8 x float> %va) {
  %vd = fsub <vscale x 8 x float> %va, splat (float -2.000000e+00)
  ret <vscale x 8 x float> %vd
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fsub: '  %vd = fsub <vscale x 8 x float> %va, splat (float -2.000000e+00)' (in function: vfsub_vf_neg)
warning: Instruction selection used fallback path for vfsub_vf_neg

Occurrences (152) (first 15):

InputFunctionConfig
extractelt-fp.llextractelt_fsub_nxv4f32_splat-mtriple=riscv64 -mattr=+v,+d,+zfhmin,+zfbfmin,+zvfhmin,+zvfbfmin -verify-machineinstrs
extractelt-fp.llextractelt_fsub_nxv4f32_splat-mtriple=riscv64 -mattr=+v,+d,+zfhmin,+zvfhmin,+experimental-zvfbfa -verify-machineinstrs
extractelt-fp.llextractelt_fsub_nxv4f32_splat-mtriple=riscv64 -mattr=+v,+d,+zvfh,+zvfbfmin -verify-machineinstrs
extractelt-fp.llextractelt_fsub_nxv4f32_splat-mtriple=riscv64 -mattr=+v,+d,+zvfhmin,+zvfbfmin -verify-machineinstrs
sink-splat-operands.llsink_splat_fsub_scalable-mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f
sink-splat-operands.llsink_splat_frsub_scalable-mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f
vfrsub-vp.llvfrsub_vf_nxv1f32-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vfrsub-vp.llvfrsub_vf_nxv1f32_unmasked-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vfrsub-vp.llvfrsub_vf_nxv2f32-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vfrsub-vp.llvfrsub_vf_nxv2f32_unmasked-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vfrsub-vp.llvfrsub_vf_nxv4f32-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vfrsub-vp.llvfrsub_vf_nxv4f32_unmasked-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vfrsub-vp.llvfrsub_vf_nxv8f32-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vfrsub-vp.llvfrsub_vf_nxv8f32_unmasked-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs
vfrsub-vp.llvfrsub_vf_nxv16f32-mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.