fallback: translate: call llvm.fmuladd.nxv32f16

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.fmuladd.nxv32f16 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:vfmuladd-vp.1070032cbe.ll (mutant of vfmuladd-vp.ll) @vfma_vf_nxv32f16_unmasked_commute via llvm-extract
Config:-mtriple=riscv64 -mattr=+d,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 32 x half> @vfma_vf_nxv32f16_unmasked_commute(<vscale x 32 x half> %va, half %b, <vscale x 32 x half> %vc, i32 zeroext %evl) {
  %A = alloca bfloat, align 2
  store bfloat poison, ptr %A, align 2
  %elt.head = insertelement <vscale x 32 x half> poison, half %b, i32 0
  %vb = shufflevector <vscale x 32 x half> %elt.head, <vscale x 32 x half> poison, <vscale x 32 x i32> zeroinitializer
  %v = call <vscale x 32 x half> @llvm.fmuladd.nxv32f16(<vscale x 32 x half> %vb, <vscale x 32 x half> %va, <vscale x 32 x half> %vc)
  %B = frem bfloat 1.000000e+00, 1.000000e+00
  store bfloat %B, ptr %A, align 2
  ret <vscale x 32 x half> %v
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 32 x half> @llvm.fmuladd.nxv32f16(<vscale x 32 x half>, <vscale x 32 x half>, <vscale x 32 x half>) #0

attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv64 -mattr=+d,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.fmuladd.nxv32f16: '  %v = call <vscale x 32 x half> @llvm.fmuladd.nxv32f16(<vscale x 32 x half> %vb, <vscale x 32 x half> %va, <vscale x 32 x half> %vc)' (in function: vfma_vf_nxv32f16_unmasked_commute)
warning: Instruction selection used fallback path for vfma_vf_nxv32f16_unmasked_commute

Occurrences (2):

InputFunctionConfig
vfmuladd-vp.1070032cbe.ll (mutant of vfmuladd-vp.ll)vfma_vf_nxv32f16_unmasked_commute-mtriple=riscv64 -mattr=+d,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs
vfmuladd-vp.32a3321940.ll (mutant of vfmuladd-vp.ll)vfma_vf_nxv32f16_unmasked_commute-mtriple=riscv32 -mattr=+d,+zvfh,+v,+m -target-abi=ilp32d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.