[PATCH] D85009: [Sema][BFloat] Forbid arithmetic on vectors of bfloat.

Simon Tatham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 09:06:28 PDT 2020


simon_tatham added a comment.

In D85009#2187549 <https://reviews.llvm.org/D85009#2187549>, @jfb wrote:

> Is that true of all vector bfloat implementations? It seems like arithmetic on these types is something implementations would likely support.

As I understand it, Arm currently has the only implementation in clang so far. But if other targets disagree, we can make this conditional on `getVectorKind()`, so that `VectorType::NeonVector` gets this restriction and other vector types get whatever they need.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85009/new/

https://reviews.llvm.org/D85009



More information about the cfe-commits mailing list