mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Update skeleton
This commit is contained in:
14
examples/ir/simple.ir
Normal file
14
examples/ir/simple.ir
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
fun i32 @main {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
%l0:i32:x
|
||||
|
||||
block b0:
|
||||
%b0:i0:unit = store 1:i32 %l0:*i32
|
||||
ret 1:i32
|
||||
|
||||
block b1:
|
||||
ret 0:i32
|
||||
}
|
||||
Reference in New Issue
Block a user