[PATCH] D20220: [PEI, AArch64] Use empty spaces in stack area for local stack slot allocation.

Gerolf Hoflehner via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 11:21:28 PDT 2016


Gerolf added a subscriber: Gerolf.
Gerolf added a comment.

Since I couldn't spot this in the code: in the scenario where there is one empty reallocate both of them to the empty slot or give up after it reallocated the first object?

Thanks
Gerolf


================
Comment at: lib/CodeGen/PrologEpilogInserter.cpp:632
@@ +631,3 @@
+
+  unsigned ObjAlign = MFI->getObjectAlignment(FrameIdx);
+  if (ObjAlign > MaxAlign)
----------------
Could this be function like FreeStart = FindSlot(...) -- line 632 - 657


http://reviews.llvm.org/D20220





More information about the llvm-commits mailing list