CS153/hw6/llprograms/max_thomas_test.ll
jmug ee01a8f5b2 Change hw6 to an unsolved version.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-24 23:10:01 -08:00

22 lines
544 B
LLVM

define i64 @main(i64 %argc, i8** %argv) {
%a = alloca i64
store i64 1, i64* %a
%b = alloca i64*
store i64* %a, i64** %b
%c = alloca i64**
store i64** %b, i64*** %c
%d = alloca i64***
store i64*** %c, i64**** %d
%e = alloca i64****
store i64**** %d, i64***** %e
%f = alloca i64*****
store i64***** %e, i64****** %f
%g = alloca i64******
store i64****** %f, i64******* %g
%h = alloca i64*******
store i64******* %g, i64******** %h
%i = alloca i64********
store i64******** %h, i64********* %i
ret i64 120
}