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

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 1 08:05:51 PDT 2024


================
@@ -325,6 +325,8 @@ class DeclSpec {
 #define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId)                            \
   static const TST TST_##Name = clang::TST_##Name;
 #include "clang/Basic/HLSLIntangibleTypes.def"
+  // AARCH64_OPAQUE_TYPE
+  static const TST TST_ArmMFloat8_t = clang::TST_ArmMFloat8_t;
----------------
CarolineConcatto wrote:

So, I was looking where this is used, and I can see it is used in many places for  parser and sema.
If **DeclSpec::TST_ArmMFloat8_t**  is removed from this places  the compiler complains it does not know the type mfloat8_t(  "unknown type name 'mfloat8_t';") in the header  arm_mfp8.h

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


More information about the cfe-commits mailing list