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

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 02:21:35 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) {
----------------
sdesmalen-arm wrote:

nit: now that you're changing this, can you rename this to `getSMChangeCondition`? (because this is about a change in streaming mode).

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


More information about the llvm-commits mailing list