[LLVMdev] Spilling in Register allocator.
mndrshnd90 at gmail.com
Sat Apr 14 02:45:55 CDT 2012
I am currently working on a simple graph coloring based register allocator
So far my code builds the interference graph and assigns physical registers
using the VirtRegMap. However I am facing some trouble while spilling.
I used *assignVirt2StackSlot* method of VirtRegMap and got “UNREACHABLE
I would like to know if simply calling this method is enough to spill the
register or whether I need to explicitly assign memory location. Also I do
not understand how the spiller object is to be used.
Any help regarding this would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMdev