Update skeleton

This commit is contained in:
Jeehoon Kang
2020-06-05 00:54:00 +09:00
parent 62c5208631
commit 7bb9ed11b5
123 changed files with 49554 additions and 868 deletions

View File

@@ -1,5 +1,5 @@
fun i32 @gcd {
fun i32 @gcd (i32, i32) {
init:
bid: b0
allocations:
@@ -86,14 +86,14 @@ block b13:
ret undef:i32
}
fun i32 @main {
fun i32 @main () {
init:
bid: b0
allocations:
block b0:
%b0:i0:i32 = call @gcd(18:i32, 21:i32)
%b0:i0:i32 = call @gcd:*[ret:i32 params:(i32, i32)](18:i32, 21:i32)
%b0:i1:u1 = cmp eq %b0:i0:i32 3:i32
%b0:i2:i32 = typecast %b0:i1:u1 to i32
ret %b0:i2:i32