[LLVMdev] llvm-java

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue May 19 08:59:36 PDT 2009


Hi Andre?

Andre Tavares wrote:
> Thanks for all answers. I will consider them all before I start coding.
>
> I have another discussion that I would like to hear from you.
>
> I can implement SSI in two different ways. Analysis or Transformation Pass.
>
> As an Analysis Pass, I would create a SSI LiveInterval, mapping each 
> interval with a constraint.
> Pros: No change to the IR.
> Cons: It is a simulation.
>   

It is a simulation == bad performance?

> As an Transformation Pass, SSI would be implemented in the IR with copy 
> instructions (pi functions) and phi functions on the end.
> Pros: Real SSI. Each interval has a constraint.
> Cons: IR is bigger, what can impact other optimizations.
>
>   

How would you model this pi function? New instruction? New intrinsic?

Nicolas





More information about the llvm-dev mailing list