mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
b0112dd11a
llvm-svn: 1474
19 lines
366 B
LLVM
19 lines
366 B
LLVM
|
|
%MyVar = uninitialized global int
|
|
%MyIntList = uninitialized global { \2 *, int }
|
|
uninitialized global int ; int*:0
|
|
|
|
%AConst = constant int 123
|
|
|
|
%AString = constant [4 x ubyte] c"test"
|
|
|
|
implementation
|
|
|
|
int "foo"(int %blah)
|
|
begin
|
|
store int 5, int *%MyVar
|
|
store int 12, { \2 *, int } * %MyIntList, uint 0, ubyte 1
|
|
ret int %blah
|
|
end
|
|
|