[Question][Hw5] eval x #629
Replies: 4 comments
-
|
Beta Was this translation helpful? Give feedback.
-
So in implementing eval e mem, I want to know if e is x(in evalx#(m#) = m#(x)) or not. I thought using is_argument will verify this, but it doesn't. So how should I do this? |
Beta Was this translation helpful? Give feedback.
-
Please read the document I mentioned in the previous comment. |
Beta Was this translation helpful? Give feedback.
-
I still can't quite get it, but I will read the materials again. Thank you for your time! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In the semantics, evalx#(m#) = m#(x).
I thought that x was things like %a in the llvm IR, and we can find it by using is_argument in utils.ml.
But I found out that is_argument could not find llvalues in the shape of %a.
So I want to ask
Beta Was this translation helpful? Give feedback.
All reactions