[LLVMdev] Register only Machine

Chris Lattner clattner at apple.com
Mon Dec 28 22:19:11 PST 2009


On Dec 28, 2009, at 8:29 PM, 傅德瑋 wrote:

> Hi,
>         Can LLVM support a machine has no memory?

No, the machine model assumes you can do load and store for turing completeness.  You can support subsets of llvm, but not very useful subsets.

-Chris

> My machine has only registers, how should I process load/store instructions?
> I have tried to map the memory target to virtual register, but it will assert whose message is “Register use before def!”
>  
> Thanks a lot
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

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


More information about the llvm-dev mailing list