[LLVMdev] register allocation

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jan 19 09:39:20 PST 2012


On Jan 19, 2012, at 5:31 AM, Jonas Paulsson wrote:

> LLVM would have to be extended with an RegClass/register-attribute 'spillable'

What exactly are you proposing? Why can't you do what the PowerPC and Hexagon targets do?

Spill-free register allocation sounds great, why not do it for all register classes?

> , and a register allocator would have to implement register pairing. That would be PBQP, right?

If by pairing you mean GCC's multiple-alternatives, then PBQP should be able to support that.

/jakob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120119/03e7749e/attachment.html>


More information about the llvm-dev mailing list