================
@@ -7513,6 +7516,30 @@ void Sema::checkCall(NamedDecl *FDecl, const
FunctionProtoType *Proto,
}
}
+ auto *CallerFD = dyn_cast<FunctionDecl>(CurContext);
+ bool IsCalleeStreaming =
+ (ExtInfo.AArch64SMEAttributes & FunctionType::SME_PStateSMEnabledMask);
----------------
sdesmalen-arm wrote:
nit: parentheses are unnecessary.
```suggestion
ExtInfo.AArch64SMEAttributes & FunctionType::SME_PStateSMEnabledMask;
```
Also, please move these closer to their use (inside the if blocks)
https://github.com/llvm/llvm-project/pull/79842
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits