[llvm-commits] SSI patch

Owen Anderson resistor at mac.com
Thu Jun 25 10:01:08 PDT 2009


Andre,

A general comment:  please, PLEASE avoid using (mutable) global data.   
All data used by your pass should be instance data of the pass  
object.  You can use the releaseMemory() method to clean up after  
yourself, if need be.

Thanks,

--Owen

On Jun 25, 2009, at 5:59 AM, Andre Tavares wrote:

> Hello,
>
> I'm submiting a patch that will be responsible to create SSI  
> representation on demand. This representation conforms with the  
> current SSA, and will not break other optimizations. It only inserts  
> some phi functions on the code. A brief description is below, and  
> the code is attached.
>
> // This pass converts a list of variables to the Static Single  
> Information
> // form. This is a program representation described by Scott Ananian  
> in his
> // Master Thesis: "The Static Single Information Form (1999)".
> // We are building an on-demand representation, that is, we do not  
> convert
> // every single variable in the target function to SSI form. Rather,  
> we receive
> // a list of target variables that must be converted. We also do not
> // completely convert a target variable to the SSI format. Instead,  
> we only
> // change the variable in the points where new information can be  
> attached
> // to its live range, that is, at branch points.
>
> -- 
> Andre Tavares
> Master Student in Computer Science - UFMG - Brasil
> http://dcc.ufmg.br/~andrelct
>
> < 
> SSI_And.cpp><SSI_And.h>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list