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

Dounia Khaldi via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 2 19:44:51 PDT 2016


For this, we could consider compiler options such as -enable-ipa or -
fdisable-ipa,...

I am afraid people are not developing interprocedural optimizers because
underlying analyses are not ;)

On Mon, Aug 1, 2016 at 10:25 PM, Daniel Berlin <dberlin at dberlin.org> wrote:

> 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
>>
>>
>


-- 
Dounia KHALDI
Research Assistant Professor
Institute for Advanced Computational Science
Stony Brook University
Stony Brook, NY 11794-5250
www.iacs.stonybrook.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160802/697d1110/attachment.html>


More information about the llvm-dev mailing list