mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Update grader
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
var i32 @nonce = default
|
||||
|
||||
fun i32 @main () {
|
||||
init:
|
||||
@@ -6,6 +7,8 @@ init:
|
||||
%l0:i32:x
|
||||
|
||||
block b0:
|
||||
%b0:i0:unit = store 1:i32 %l0:i32*
|
||||
ret 1:i32
|
||||
%b0:i0:i32 = load @nonce:i32*
|
||||
%b0:i1:unit = store %b0:i0:i32 %l0:i32*
|
||||
%b0:i2:i32 = load %l0:i32*
|
||||
ret %b0:i2:i32
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user