[clang] [CLANG][AArch64]Add Neon vectors for mfloat8_t (PR #99865)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 16 05:27:23 PDT 2024


================
@@ -506,6 +506,8 @@ llvm::Type *CodeGenTypes::ConvertType(QualType T) {
 #define SVE_PREDICATE_TYPE(Name, MangledName, Id, SingletonId)                 \
   case BuiltinType::Id:
 #define SVE_OPAQUE_TYPE(Name, MangledName, Id, SingletonId)
+#define AARCH64_VECTOR_TYPE(Name, MangledName, Id, SingletonId)                \
+  case BuiltinType::Id:
 #include "clang/Basic/AArch64SVEACLETypes.def"
----------------
SpencerAbson wrote:

IMO, this would be much clearer as

```suggestion
#define AARCH64_VECTOR_TYPE(Name, MangledName, Id, SingletonId)                \
  case BuiltinType::Id:
#define SVE_OPAQUE_TYPE(Name, MangledName, Id, SingletonId)
#include "clang/Basic/AArch64SVEACLETypes.def"
```


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


More information about the cfe-commits mailing list