Add all the assignment code.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-01-24 18:59:28 -08:00
parent 58c6b1f81c
commit cfe502c598
1277 changed files with 48709 additions and 1 deletions

View file

@ -0,0 +1,19 @@
define i64 @program(i64 %x, i64 %y) {
%sx = alloca i64
store i64 %x, i64* %sx
%sy = alloca i64
store i64 %y, i64* %sy
%i1 = add i64 0, 2
%i2 = add i64 0, 3
%v1 = add i64 %x, %y
%v2 = sub i64 %v1, %i1
%v3 = mul i64 %v2, %i2
br label %l1
l1:
%a1 = alloca i64
store i64 0, i64* %a1
%arg1 = add i64 0, 12
%v4 = call i64 @foo(i64 %arg1, i64 2)
ret i64 %v3
}