Feature Request P3
Status Update
Comments
ap...@google.com <ap...@google.com> #2
+1 I have been facing the same problem for the last few weeks. Other developers too are facing the same problem judging from the comments on the stackoverflow post.
Description
When issuing alloca instructions to the Subzero backend, Subzero makes no attempt to reorder them to optimize the stack layout to minimize padding for alignment. This is especially egregious when emitting allocas for a mix of vector and non-vector types.
Although we could attempt a best effort at doing this at the Reactor level when Variable::materializeAll is called, it would be best if Subzero performed this optimization during code-gen.