IR tree representation of binary operation
- by drozzy
I have a simple operation like so:
k + 1
What would be a IR tree representation of it?
So far I came up with:
BINOP(+, MEM(NAME(k)), CONST(1))
but I am not sure if I need the MEM for NAME or not. Any help welcome.