<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 1:27 PM, Björn Steinbrink <span dir="ltr"><<a href="mailto:bsteinbr@gmail.com" target="_blank">bsteinbr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":6bc" class="a3s" style="overflow:hidden">If we have a simple load through a GEP that is fed by a store of an<br>
aggregate, we can use the GEP indices to walk the stored aggregate and<br>
extract the appropriate value to replace the load.</div></blockquote></div><br>What's the motivation for this change?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Note that SROA replaces all stores of aggregates with scalar stores of the components specifically so that neither it nor GVN needs to cope with aggregate loads or stores.</div></div>