[clang] [CLANG]Add Scalable vectors for mfloat8_t (PR #101644)

Paul Walker via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 08:41:59 PDT 2024


================
@@ -4419,6 +4419,13 @@ QualType ASTContext::getScalableVectorType(QualType EltTy, unsigned NumElts,
       EltTySize == ElBits && NumElts == (NumEls * NF) && NumFields == 1) {     \
     return SingletonId;                                                        \
   }
+#define SVE_VECTOR_TYPE_MFLOAT(Name, MangledName, Id, SingletonId, NumEls,     \
+                               ElBits, NF)                                     \
+  if (EltTy->hasIntegerRepresentation() && !EltTy->isBooleanType() &&          \
+      !EltTy->hasSignedIntegerRepresentation() && EltTySize == ElBits &&       \
+      NumElts == (NumEls * NF) && NumFields == 1) {                            \
+    return SingletonId;                                                        \
+  }
----------------
paulwalker-arm wrote:

This is no longer required?

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


More information about the cfe-commits mailing list