[clang-tools-extra] [clang] [llvm] [Clang][AArch64] Add fix vector types to header into SVE (PR #73258)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 01:33:08 PST 2023


================
@@ -8360,9 +8360,11 @@ static void HandleNeonVectorTypeAttr(QualType &CurType, const ParsedAttr &Attr,
   // not to need a separate attribute)
   if (!(S.Context.getTargetInfo().hasFeature("neon") ||
         S.Context.getTargetInfo().hasFeature("mve") ||
+        S.Context.getTargetInfo().hasFeature("sve") ||
----------------
sdesmalen-arm wrote:

Is this missing a check for `&& VecKind != VectorKind::NeonPoly` for the case of `sve` and `sme`?

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


More information about the llvm-commits mailing list