CS153/hw3/llprograms/analysis8_dce_opt.ll
jmug cfe502c598 Add all the assignment code.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-24 18:59:28 -08:00

20 lines
429 B
LLVM

define i64 @program(i64 %argc, i8** %argv) {
%tmp1 = alloca i64
store i64 91, i64* %tmp1
%tmp2 = load i64, i64* %tmp1
%n = add i64 14, %tmp2
%o = add i64 15, %n
%p = add i64 16, %o
%q = add i64 17, %p
%r = add i64 18, %q
%s = add i64 19, %r
%t = add i64 20, %s
%u = add i64 21, %t
%v = add i64 22, %u
%w = add i64 23, %v
%x = add i64 24, %w
%y = add i64 25, %x
%z = add i64 26, %y
ret i64 %z
}