[llvm-dev] [LLVMdev] Interprocedural use-def chains

Daniel Berlin via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 1 19:25:53 PDT 2016


As most optimizers are not interprocedural, this would largely slow down
the compiler.


On Mon, Aug 1, 2016 at 7:17 PM, Dounia Khaldi via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Yes, I tried it and it worked perfectly (But I am still surprised use-def
> chains is not interprocedural by default)
>
> Thanks for your help,
> Dounia
>
> On Mon, Aug 1, 2016 at 12:29 AM, Chandler Carruth <chandlerc at google.com>
> wrote:
>
>> On Tue, Jul 26, 2016 at 3:05 PM Dounia Khaldi via llvm-dev <
>> llvm-dev at lists.llvm.org> wrote:
>>
>>> Thanks for your reply.
>>>
>>> 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.
>>>
>>> If, based on your response, this is my only solution then I will go for
>>> it.
>>>
>>
>> Yep.
>>
>> And it should work for any kind of argument -- they're always SSA values.
>>
>
>
>
> --
> Dounia KHALDI
> Research Assistant Professor
> Institute for Advanced Computational Science
> Stony Brook University
> Stony Brook, NY 11794-5250
> www.iacs.stonybrook.edu
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160801/00a59ea6/attachment.html>


More information about the llvm-dev mailing list