mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 06:58:50 +00:00
Update skeleton
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
fun i32 @f {
|
||||
fun i32 @f (i32) {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
@@ -15,7 +15,7 @@ block b1:
|
||||
ret undef:i32
|
||||
}
|
||||
|
||||
fun i32 @main {
|
||||
fun i32 @main () {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
@@ -59,7 +59,7 @@ block b5:
|
||||
|
||||
block b6:
|
||||
%b6:i0:i32 = load %l3:*i32
|
||||
%b6:i1:i32 = call @f(%b6:i0:i32)
|
||||
%b6:i1:i32 = call @f:*[ret:i32 params:(i32)](%b6:i0:i32)
|
||||
%b6:i2:u1 = cmp eq %b6:i1:i32 9:i32
|
||||
%b6:i3:i32 = typecast %b6:i2:u1 to i32
|
||||
ret %b6:i3:i32
|
||||
|
||||
Reference in New Issue
Block a user