Prepare for Spring 2025.

This commit is contained in:
Janggun Lee
2025-02-24 17:31:17 +09:00
parent a8e0aa5e69
commit fad9d02fea
53 changed files with 3442 additions and 1679 deletions

View File

@@ -21,7 +21,7 @@ block b1:
%b1:p1:i32:i
%b1:i0:unit = nop
%b1:i1:u1 = cmp lt %b1:p1:i32 100:i32
br %b1:i1:u1, b2(), b3(%b1:p0:i32)
br %b1:i1:u1, b2(), b3(%b1:p0:i32, %b1:p1:i32)
block b2:
%b2:i0:unit = nop
@@ -31,6 +31,7 @@ block b2:
block b3:
%b3:p0:i32:sum
%b3:p1:i32:i
%b3:i0:unit = nop
ret %b3:p0:i32
@@ -52,7 +53,7 @@ block b5:
%b5:i8:unit = nop
%b5:i9:i32 = add %b0:i3:i32 2:i32
%b5:i10:u1 = cmp eq %b5:i5:i32 %b5:i9:i32
br %b5:i10:u1, b3(%b5:i2:i32), b1(%b5:i2:i32, %b5:i5:i32)
br %b5:i10:u1, b3(%b5:i2:i32, %b5:i5:i32), b1(%b5:i2:i32, %b5:i5:i32)
}
fun i32 @main () {