[clang] [llvm] [AArch64][SME] Disable inlining of callees with new ZT0 state (PR #121338)

Kerry McLaughlin via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 31 01:45:08 PST 2024


================
@@ -256,7 +256,7 @@ bool AArch64TTIImpl::areInlineCompatible(const Function *Caller,
     CalleeAttrs.set(SMEAttrs::SM_Enabled, true);
   }
 
-  if (CalleeAttrs.isNewZA())
----------------
kmclaughlin-arm wrote:

Thanks @MacDue, there should be a similar restriction in Clang which I've now added.

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


More information about the llvm-commits mailing list