[LLVMdev] commit r152019 broke architectures with more than 255 registers

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Mar 5 10:40:07 PST 2012


On Mar 5, 2012, at 5:39 AM, Heikki Kultala wrote:

> Our architecture(TCE) can have LOTS of registers.
> 
> It seems r152019 changed some register bookkeeping data structures to 
> 8-bit. This broke support for architectures with >255 registers.
> 
> Please revert this change or make those register-related values at least 
> 16 bits wide.

I agree. We can limit the number of physregs to 64k, but no more.

/jakob




More information about the llvm-dev mailing list