[clang] [CLANG][AArch64] Add the modal 8 bit floating-point scalar type (PR #97277)

Paul Walker via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 04:23:16 PDT 2024


================
@@ -107,6 +107,15 @@
   AARCH64_VECTOR_TYPE(Name, MangledName, Id, SingletonId)
 #endif
 
+#ifndef AARCH64_SCALAR_TYPE
+#define AARCH64_SCALAR_TYPE(Name, MangledName, Id, SingletonId) \
+  SVE_TYPE(Name, Id, SingletonId)
+#endif
+
+#ifndef AARCH64_SCALAR_TYPE_MFLOAT
+#define AARCH64_SCALAR_TYPE_MFLOAT(Name, MangledName, Id, SingletonId, NumEls, ElBits, NF) \
+  AARCH64_SCALAR_TYPE(Name, MangledName, Id, SingletonId)
+#endif
----------------
paulwalker-arm wrote:

Hopefully this isn't a bum steer but now everything has settled down I think these are no longer necessary and you can use `AARCH64_VECTOR_TYPE_MFLOAT` to define the scalar type as well because its internal representation is still a vector.

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


More information about the cfe-commits mailing list