[clang] [AArch64] Add option -msve-streaming-vector-bits= . (PR #144611)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 23 03:35:04 PDT 2025


================
@@ -82,6 +82,15 @@ class SemaARM : public SemaBase {
   void handleInterruptSaveFPAttr(Decl *D, const ParsedAttr &AL);
 
   void CheckSMEFunctionDefAttributes(const FunctionDecl *FD);
+
+  /// Return true if the given types are an SVE builtin and a VectorType that
+  /// is a fixed-length representation of the SVE builtin for a specific
+  /// vector-length.
+  bool areCompatibleSveTypes(QualType FirstType, QualType SecondType);
----------------
sdesmalen-arm wrote:

There's quite a lot going on in this patch. Could you maybe precommit the code that moves `are[Lax]CompatibleSveTypes` to SemaARM.h as an NFC change?

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


More information about the cfe-commits mailing list