[PATCH] A new HeapToStack allocation promotion pass

Hal Finkel hfinkel at anl.gov
Tue Sep 24 11:14:18 PDT 2013


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.


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