<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 18, 2015 at 3:46 PM, Easwaran Raman <span dir="ltr"><<a href="mailto:eraman@google.com" target="_blank">eraman@google.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=":59y" class="a3s" style="overflow:hidden">Hi chandlerc,<br>
<br>
While estimating SROA savings, we want to see if an address is derived off an alloca in the caller. For store instructions, operand 1 is the address operand, but the current code checks against operand 0. For clarity, I have used getPointerOperand for store and load instructions.</div></blockquote></div><br>Uh.. wow. I mean, this makes sense, but needs a test case.</div></div>