[llvm] [AArch64][SME] Allow memory operations lowering to custom SME functions. (PR #79263)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 02:55:30 PST 2024


================
@@ -95,6 +157,12 @@ SDValue AArch64SelectionDAGInfo::EmitTargetCodeForMemset(
   const AArch64Subtarget &STI =
       DAG.getMachineFunction().getSubtarget<AArch64Subtarget>();
 
+  SMEAttrs Attrs(DAG.getMachineFunction().getFunction());
+  if (Attrs.hasStreamingBody() || Attrs.hasStreamingCompatibleInterface() ||
+      Attrs.hasStreamingInterface())
----------------
sdesmalen-arm wrote:

```suggestion
  if (!Attrs.hasNonStreamingInterfaceAndBody())
```

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


More information about the llvm-commits mailing list