[LLVMdev] Tiny machine...

Chris Lattner sabre at nondot.org
Wed Jan 26 22:09:39 PST 2005


On Thu, 27 Jan 2005, s88 wrote:

> Hello...
>   I have a very simple and tiny processor. It doesn't support
> procedule call. Do I still need to add the code about TargetFrameInfo
> and implement the stack operations in the XXXRegisterInfo.cpp?????

Those operations are largly to codegen spill code.  This means that even 
without calls you will need them.

In practice, however, I would just implement them as "assert(0 && "FOO 
method not implemented yet");" and only implement them when you find that 
they are being called.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list