Modified hw3 to newer version

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-01-24 20:53:24 -08:00
parent 8437a82fbf
commit 07d34c0cd8
40 changed files with 856 additions and 271 deletions

View file

@ -0,0 +1,9 @@
declare void @printf(i8*)
@format = global [15 x i8] c"test alignment\00"
define i64 @main(i64 %argc, i8** %argv) {
%1 = getelementptr [15 x i8], [15 x i8]* @format, i32 0, i32 0
call void @printf(i8* %1)
ret i64 0
}