[clang] [AArch64] Implement reinterpret builtins for SVE vector tuples (PR #69598)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 10:41:44 PDT 2023


================
@@ -383,6 +381,20 @@ class SVEEmitter {
                        SmallVectorImpl<std::unique_ptr<Intrinsic>> &Out);
 };
 
+const std::array<SVEEmitter::ReinterpretTypeInfo, 12> SVEEmitter::Reinterprets =
+    {{{SVEType("c"), "s8"},
----------------
CarolineConcatto wrote:

Can we change this to be SVEType("c", 'd'), so we don't need to change in the class in line 76.
We can still keep SVEType(StringRef TS, char CharMod, unsigned NumVectors = 1).
My line of thought is to reduce the changes in this patch

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


More information about the cfe-commits mailing list