Files
cs420/examples/ir2/simple.ir
Chunmyong Park e4eec1e81d Update skeleton
2020-07-02 14:28:58 +00:00

15 lines
187 B
Plaintext

var i32 @nonce = 1
fun i32 @main () {
init:
bid: b0
allocations:
%l0:i32:x
block b0:
%b0:i0:i32 = load @nonce:i32*
%b0:i1:unit = nop
%b0:i2:unit = nop
ret %b0:i0:i32
}