mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Added a string global variable.
llvm-svn: 796
This commit is contained in:
parent
45536008e9
commit
c3cdcdcb43
@ -5,12 +5,14 @@
|
|||||||
|
|
||||||
%AConst = constant int 123
|
%AConst = constant int 123
|
||||||
|
|
||||||
|
%AString = constant [4 x ubyte] c"test"
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
int "foo"(int %blah)
|
int "foo"(int %blah)
|
||||||
begin
|
begin
|
||||||
store int 5, int *%MyVar
|
store int 5, int *%MyVar
|
||||||
store int 12, { \2 *, int } * %MyIntList, ubyte 1
|
store int 12, { \2 *, int } * %MyIntList, ubyte 1
|
||||||
ret int %blah
|
ret int %blah
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user