[llvm] Reland "[AArch64][SME] Split SMECallAttrs out of SMEAttrs" (PR #138671)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 03:51:28 PDT 2025


================
@@ -8951,14 +8959,13 @@ static SDValue emitSMEStateSaveRestore(const AArch64TargetLowering &TLI,
   return TLI.LowerCallTo(CLI).second;
 }
 
-static unsigned getSMCondition(const SMEAttrs &CallerAttrs,
-                               const SMEAttrs &CalleeAttrs) {
-  if (!CallerAttrs.hasStreamingCompatibleInterface() ||
-      CallerAttrs.hasStreamingBody())
+static unsigned getSMCondition(const SMECallAttrs &CallAttrs) {
----------------
MacDue wrote:

:+1:  I've gone with `getSMToggleCondition` (since that matches the enum it returns). 

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


More information about the llvm-commits mailing list