<div dir="ltr">As most optimizers are not interprocedural, this would largely slow down the compiler.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 1, 2016 at 7:17 PM, Dounia Khaldi via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, I tried it and it worked perfectly (But I am still surprised use-def chains is not interprocedural by default)<div><br></div><div>Thanks for your help,</div><div>Dounia</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Aug 1, 2016 at 12:29 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@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 dir="ltr"><div class="gmail_quote"><span><div dir="ltr">On Tue, Jul 26, 2016 at 3:05 PM Dounia Khaldi via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks for your reply.</div><div><br></div>Yes, I was about to recurse over the use list of the argument in the called function. I did not want to pursue that because with this solution, I am going to implement the interprocedural part myself and was wondering if that was not already done. I was not also 100% sure that this will work for any type of arguments.<div><br></div><div>If, based on your response, this is my only solution then I will go for it. </div></div></blockquote><div><br></div></span><div>Yep.</div><div><br></div><div>And it should work for any kind of argument -- they're always SSA values.</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="font-size:small">Dounia KHALDI</span><br></div><div dir="ltr"><span style="font-size:small">Research Assistant Professor</span><br style="font-size:small"><div style="font-size:12.8px"><font color="#000000">Institute for Advanced Computational Science</font></div><div style="font-size:12.8px"><font color="#000000"><span style="font-size:12.8px">Stony Brook University</span><br></font></div><div style="font-size:12.8px"><font color="#000000">Stony Brook, NY 11794-5250</font></div><div style="font-size:12.8px"><font color="#000000" style="color:rgb(17,85,204);font-size:12.8px"><a href="http://www.iacs.stonybrook.edu/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.iacs.stonybrook.edu</a></font><br></div><div><br></div></div></div></div></div></div></div></div></div></div>
</span></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>