fallback: legalize: G_FMA <N x f32>
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | legalize: G_FMA <N x f32> |
| Occurrences: | 46 in 5 configs, 2 test files |
| Snippet from: | fixed-vectors-fp.ll @fma_v4f32 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @fma_v4f32(ptr %x, ptr %y, ptr %z) {
%a = load <4 x float>, ptr %x, align 16
%b = load <4 x float>, ptr %y, align 16
%c = load <4 x float>, ptr %z, align 16
%d = call <4 x float> @llvm.fma.v4f32(<4 x float> %a, <4 x float> %b, <4 x float> %c)
store <4 x float> %d, ptr %x, align 16
ret void
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fma.v4f32(<4 x float>, <4 x float>, <4 x float>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(<4 x f32>) = G_FMA %3:_, %4:_, %5:_ (in function: fma_v4f32)
warning: Instruction selection used fallback path for fma_v4f32
Occurrences (46) (first 15):
| Input | Function | Config |
|---|
| fixed-vectors-fp.ll | fma_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fnmsub_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fma_v8f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fma_vf_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fma_fv_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fnmsub_vf_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fnmsub_fv_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fmuladd_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fnmsub_fmuladd_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fma_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fnmsub_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fma_v8f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fma_vf_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fma_fv_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs |
| fixed-vectors-fp.ll | fnmsub_vf_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.