fixed reassignment, starting work on if statements

This commit is contained in:
SpookyDervish
2025-10-14 20:02:22 +11:00
parent 655e5d1d12
commit 48e7488a63
6 changed files with 45 additions and 15 deletions

View File

@@ -2,17 +2,14 @@
target triple = "x86_64-pc-windows-msvc"
target datalayout = ""
define i32 @"main"()
{
main_entry:
%".2" = alloca i32
store i32 0, i32* %".2"
%".4" = load i32, i32* %".2"
ret i32 %".4"
}
define i32 @"test"()
{
test_entry:
ret i32 0
}
define i32 @"main"()
{
main_entry:
ret i32 123
}