mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Update skeleton
This commit is contained in:
35
examples/simplify_cfg/empty.output.ir
Normal file
35
examples/simplify_cfg/empty.output.ir
Normal file
@@ -0,0 +1,35 @@
|
||||
fun i32 @foo {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
|
||||
block b0:
|
||||
j b1(42:i32)
|
||||
|
||||
block b1:
|
||||
%b1:p0:i32
|
||||
ret 37:i32
|
||||
|
||||
block b3:
|
||||
ret 37:i32
|
||||
}
|
||||
|
||||
fun i32 @bar {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
|
||||
block b0:
|
||||
j b1(42:i32)
|
||||
|
||||
block b1:
|
||||
%b1:p0:i32
|
||||
br 1:i1 b3() b3()
|
||||
|
||||
block b2:
|
||||
j b3()
|
||||
|
||||
block b3:
|
||||
%b3:i0:i1 = cmp eq 0:i32 0:i32
|
||||
ret 37:i32
|
||||
}
|
||||
Reference in New Issue
Block a user