[LLVMdev] Eliminate PHI for non-copyable registers

Alex alex.lavoro.propio at gmail.com
Mon Feb 16 08:03:22 PST 2009



Chris Lattner-2 wrote:
> 
> and out of the registers and must be able to spill them, even if it  
> means going through another temporary register class.
> 

But what if it cannot even be copied to another temporary register class?

The values of these i32 regsiters can only be used as the index of another
register class, but the value of the index itself cannot be read.

Usually the program can be generated using only 2 of these i32 index
registers, but the problem is LLVM requires them to be copyable if there is
a PHI node.

-- 
View this message in context: http://www.nabble.com/Eliminate-PHI-for-non-copyable-registers-tp21953583p22040006.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list