[llvm] [AArch64][CostModel] Add SVE bfloat arithmetic tests (NFC) (PR #166951)

Cullen Rhodes via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 7 08:00:27 PST 2025


================
@@ -181,6 +228,10 @@ define void @fma() {
   %V8F16 = call <vscale x 8 x half> @llvm.fma.v8f16(<vscale x 8 x half> poison, <vscale x 8 x half> poison, <vscale x 8 x half> poison)
   %V16F16 = call <vscale x 16 x half> @llvm.fma.v16f16(<vscale x 16 x half> poison, <vscale x 16 x half> poison, <vscale x 16 x half> poison)
 
+  %V4BF16 = call <vscale x 4 x bfloat> @llvm.fma.v4BF16(<vscale x 4 x bfloat> poison, <vscale x 4 x bfloat> poison, <vscale x 4 x bfloat> poison)
----------------
c-rhodes wrote:

types in intrinsic name should be lowercase? Same applies below

```suggestion
  %V4BF16 = call <vscale x 4 x bfloat> @llvm.fma.v4bf16(<vscale x 4 x bfloat> poison, <vscale x 4 x bfloat> poison, <vscale x 4 x bfloat> poison)
```

https://github.com/llvm/llvm-project/pull/166951


More information about the llvm-commits mailing list