Issue 104416
Summary [sve] should support the sve for __bf16 similar to type float
Labels SVE
Assignees
Reporter vfdff
    * test: https://gcc.godbolt.org/z/cbT1aE7j5
```
typedef __bf16 baseType;
// typedef float baseType;

baseType* test_ret_bf16(baseType* a, baseType* b, baseType* c) {
  for (int i = 0; i < 10000; i++) {
    c[i] = a[i] + b[i];
  }
  return c;
}
```

* the above case don't generate sve even with option **-march=armv8.5a+sve2**. But it we change the type **baseType** from __bf16 to float , it will works fine.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to