<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 5:15 PM, Julien Lerouge <span dir="ltr"><<a href="mailto:julien.lerouge@m4x.org" target="_blank">julien.lerouge@m4x.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When llvm::InlineFunction inlines a function that has byval arguments,<br>
it creates allocas in the caller. Those allocas aren't inserted in the<br>
InlineFunctionInfo data structure. So after inlining, if the client code<br>
wants to know where are the allocas that were created, it will miss<br>
those.<br>
<br>
Should InlineFunctionInfo contain these allocas, or is the omission<br>
deliberate ?<br></blockquote><div><br></div><div>Hi Julien,</div><div><br></div><div>I don't think the omission is deliberate, but I may be wrong.</div><div>Do you have a testing case?</div><div><br></div><div>Thanks,</div>
<div>Manman</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The attached patch adds these new allocas.<br>
<br>
Thanks,<br>
Julien<br>
<br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div></div>