[LLVMdev] [LLVMDev] Phi elimination: Who does what

Cameron Zwarich zwarich at apple.com
Tue Oct 5 13:35:32 PDT 2010


At the moment, phi elimination happens before register allocation, so there can be no phis between memory locations.

Cameron

On Oct 5, 2010, at 4:19 PM, Jeff Kunkel wrote:

> When doing phi elimination, does one have to communicate with the
> stack space at all? The problem I see is two distinctly different
> registers may have two distinctly different stack spaces. When these
> registers are combined in a phi, the values the registers point to
> needs to be moved, combined, or otherwise taken care of. I understand
> this is the job of the stack space colorer, but when doing phi
> elimination, does one need to tell the stack space colorer that the
> phi did exist?
> 
> Thanks,
> Jeff Kunkel
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list