fallback: legalize: G_STRICT_FSUB <N x f32>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_STRICT_FSUB <N x f32> M |
| Occurrences: | 4 in 2 configs, 1 test files, 1 more counted only |
| Snippet from: | fixed-vectors-vfsub-constrained-sdnode.8c702b8459.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll) @vfsub_vv_v4f32 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i64
@G.1 = external global i64
; Function Attrs: strictfp
define <4 x float> @vfsub_vv_v4f32(<4 x float> %va, <4 x float> %vb) #0 {
entry:
%LGV = load i64, ptr @G, align 4
%B = xor i64 4294967296, %LGV
%vc = call <4 x float> @llvm.experimental.constrained.fsub.v4f32(<4 x float> %va, <4 x float> %vb, metadata !"round.dynamic", metadata !"fpexcept.ignore")
store i64 %B, ptr @G.1, align 4
ret <4 x float> %vc
}
; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x float> @llvm.experimental.constrained.fsub.v4f32(<4 x float>, <4 x float>, metadata, metadata) #1
attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %15:_(<4 x f32>) = nofpexcept G_STRICT_FSUB %0:_, %1:_ (in function: vfsub_vv_v4f32)
warning: Instruction selection used fallback path for vfsub_vv_v4f32
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-vfsub-constrained-sdnode.39f510c853.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll) | vfsub_vv_v2f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+m -O1 -code-model=medium |
| fixed-vectors-vfsub-constrained-sdnode.39f510c853.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll) | vfsub_vf_v16f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+m -O1 -code-model=medium |
| fixed-vectors-vfsub-constrained-sdnode.8c702b8459.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll) | vfsub_vv_v4f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O0 |
| fixed-vectors-vfsub-constrained-sdnode.8c702b8459.ll (mutant of fixed-vectors-vfsub-constrained-sdnode.ll) | vfsub_vf_v16f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O0 |
Generated 2026-11-29 14:49 UTC.