Files
cs420/examples/ir2/simple.ir
2025-04-11 13:20:10 +09:00

15 lines
186 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
}