[llvm] [AArch64] Add streaming-mode stack hazards. (PR #98956)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 02:21:41 PDT 2024


================
@@ -4595,16 +4768,28 @@ void AArch64FrameLowering::orderFrameObjects(
         GB.AddMember(TaggedFI);
       else
         GB.EndCurrentGroup();
+
+      if (AFI.hasStackHazardSlotIndex()) {
----------------
davemgreen wrote:

I've moved it earlier, as opposed to at the end. It is in the same loop to avoid iterating instructions more than once.

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


More information about the llvm-commits mailing list