[PATCH] D158490: [AArch64] Disable GlobalISel/FastISel for more SME functions

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 22 00:38:05 PDT 2023


sdesmalen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64FastISel.cpp:5190-5191
   SMEAttrs CallerAttrs(*FuncInfo.Fn);
-  if (CallerAttrs.hasZAState() ||
-      (!CallerAttrs.hasStreamingInterface() && CallerAttrs.hasStreamingBody()))
+  if (CallerAttrs.hasZAState() || CallerAttrs.hasStreamingInterfaceOrBody() ||
+      CallerAttrs.hasStreamingInterface())
     return nullptr;
----------------
This condition is now redundant.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp:535-536
   SMEAttrs Attrs(F);
-  if (Attrs.hasNewZAInterface() ||
-      (!Attrs.hasStreamingInterface() && Attrs.hasStreamingBody()))
+  if (Attrs.hasZAState() || Attrs.hasStreamingInterfaceOrBody() ||
+      Attrs.hasStreamingInterface())
     return true;
----------------
This condition is now redundant.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158490/new/

https://reviews.llvm.org/D158490



More information about the llvm-commits mailing list