-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
I think there is a clash of semantics for instructions of unsupported instructions in HW2, namely the following two.
- The last line of
# SmaLLVM Interpretersays that "You can ignore the other LLVM instructions marked asraise Unsupported,..." - The last line of
4. Format of Input Programssays thatAll the other instructions are considered to be nop..
From the first description, it seems that we should leave the raise Unsupported as is. The second description makes it seems that we should treat such instructions as Skip as we have seen in class, and I was unsure which one we should take.
I assume that due to the constraint that "input programs are always syntactically valid.", we really don't have to worry about such clash during tests, but I still wanted to ask as I was wondering what would be the better choice in other situations.
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels