reilabs / llvm-to-cairo

Efforts to compile LLVM bytecode to run on top of the CairoVM and hence execute provably on Starknet
http://starknet.io
Apache License 2.0
1 stars 0 forks source link

Implement Pointer Ops #44

Open ktemkin opened 5 days ago

ktemkin commented 5 days ago

Description

We have designed the memory model (#29), but unfortunately it is not sufficient just to have R/W memory semantics. As part of that work we also had to design how pointers would behave, as pointer operations (arithmetic, chasing, and so on) are very important to LLVM-compiled code.

This task deals with implementing the pointer operations properly.