Register only Machine

Hi,

Can LLVM support a machine has no memory? 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

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