12 lines
236 B
LLVM
12 lines
236 B
LLVM
|
|
%arr = type [5 x i64]
|
||
|
|
|
||
|
|
@tmp = global %arr [ i64 1, i64 2, i64 3, i64 4, i64 5 ]
|
||
|
|
|
||
|
|
define i64 @program(i64 %argc, i8** %arcv) {
|
||
|
|
%1 = alloca i64
|
||
|
|
%2 = getelementptr %arr, %arr* @tmp, i32 0, i32 3
|
||
|
|
%3 = load i64, i64* %1
|
||
|
|
ret i64 5
|
||
|
|
}
|
||
|
|
|