[PATCH] A new HeapToStack allocation promotion pass
Bill Wendling
isanbard at gmail.com
Tue Sep 24 11:15:39 PDT 2013
I'm going to rope Michael in on this. He and Dan are the ObjCARC experts. :-)
-bw
On Sep 24, 2013, at 11:14 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> Bill,
>
> Thanks for the pointer.
>
> Just noticed this, in ProvenanceAnalysis.h it says:
>
> /// This file declares a special form of Alias Analysis called ``Provenance
> /// Analysis''. The word ``provenance'' refers to the history of the ownership
> /// of an object. Thus ``Provenance Analysis'' is an analysis which attempts to
> /// use various techniques to determine if locally
>
> if locally what? I think something was truncated here.
>
> -Hal
>
> ----- Original Message -----
>>
>> I haven't reviewed the patch itself just yet. But what you're doing
>> here seems very similar to how the ARC Optimizer works (in
>> lib/Transformations/ObjCARC). It may be beneficial to look at how
>> it does things. In particular, it removes "retains" and "releases"
>> from the code. There is a lot of analysis that needs to go into
>> this, of course.
>>
>> Anyway, just a suggestion.
>>
>> http://llvm-reviews.chandlerc.com/D1745
>>
>
> --
> Hal Finkel
> Assistant Computational Scientist
> Leadership Computing Facility
> Argonne National Laboratory
More information about the llvm-commits
mailing list