mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 06:58:50 +00:00
Update ir examples
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
struct Big : { m1:struct Sub, m2:struct Sub, m3:struct Sub }
|
||||
struct Sub : { m1:i64, m2:i64, m3:i64, m4:i64 }
|
||||
struct Big : { m1:struct Sub, m2:struct Sub, m3:struct Sub }
|
||||
|
||||
fun struct Big @foo (struct Big) {
|
||||
init:
|
||||
@@ -9,6 +9,7 @@ init:
|
||||
%l1:struct Big:r
|
||||
|
||||
block b0:
|
||||
%b0:p0:struct Big:p1
|
||||
%b0:i0:unit = store %b0:p0:struct Big %l0:struct Big*
|
||||
%b0:i1:struct Big = load %l0:struct Big*
|
||||
%b0:i2:unit = store %b0:i1:struct Big %l1:struct Big*
|
||||
|
||||
Reference in New Issue
Block a user