[clang] [clang][SME] Ignore flatten/clang::always_inline statements for callees with mismatched streaming attributes (PR #116391)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 06:37:00 PST 2024


================
@@ -1143,30 +1146,62 @@ void AArch64TargetCodeGenInfo::checkFunctionABI(
   }
 }
 
-void AArch64TargetCodeGenInfo::checkFunctionCallABIStreaming(
-    CodeGenModule &CGM, SourceLocation CallLoc, const FunctionDecl *Caller,
-    const FunctionDecl *Callee) const {
-  if (!Caller || !Callee || !Callee->hasAttr<AlwaysInlineAttr>())
-    return;
+enum class ArmStreamingInlinability : uint8_t {
----------------
sdesmalen-arm wrote:

nit: This is a bit of a misnomer, because NewZA has nothing to do with streaming mode. What about calling it `ArmInlineCompatibility` ?

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


More information about the cfe-commits mailing list