[clang] [llvm] [Clang][SME] Detect always_inline used with mismatched streaming attributes (PR #77936)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 13 01:40:14 PST 2024


================
@@ -814,6 +820,49 @@ Address AArch64ABIInfo::EmitMSVAArg(CodeGenFunction &CGF, Address VAListAddr,
                           /*allowHigherAlign*/ false);
 }
 
+class SMEAttributes {
----------------
sdesmalen-arm wrote:

I'd like to avoid adding another `SMEAttributes class`. Could you write some specific functions instead? i.e.

```
static bool isStreaming(const FunctionDecl *F) { ... }
static bool isStreamingCompatible(const FunctionDecl *F) { ... }
```

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


More information about the cfe-commits mailing list