================
@@ -263,17 +267,11 @@ class SVEEmitter {
   // which is inconvenient to specify in the arm_sve.td file or
   // generate in CGBuiltin.cpp.
   struct ReinterpretTypeInfo {
+    SVEType BaseType;
     const char *Suffix;
-    const char *Type;
-    const char *BuiltinType;
   };
-  SmallVector<ReinterpretTypeInfo, 12> Reinterprets = {
----------------
CarolineConcatto wrote:

Why you cannot do as you did before and only create an array for each size _x2, 
_x3 and _x4?

I  believe you've changed  the class SVEType, so you could use SVEType 
ToV(To.BaseType, N); and SVEType FromV(From.BaseType, N);.  I am not sure we 
should do that. 

But I am not sure if the changes are worth.

https://github.com/llvm/llvm-project/pull/69598
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to