added global code motion

This commit is contained in:
Lorenzo Torres 2026-01-14 18:36:27 +01:00
parent 09d6cf4b46
commit 032c04ad1d
4 changed files with 1341 additions and 17 deletions

14
test.l
View file

@ -1,12 +1,8 @@
u32 main(u32 b)
u32 main(u32 n)
{
u32 a = 4;
//return a;
if (b == 3) {
return 3;
} else {
return 4;
i32 i = 0;
loop while i < 10 {
i = i + 1;
}
return a;
return i;
}