Created
July 22, 2010 11:40
-
-
Save fables-tales/485870 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define i32 @main() | |
{ | |
;create location and store it | |
%location = alloca i32 | |
store i32 0, i32* %location | |
@values = internal global [8192 x i32] zeroinitializer | |
%shouldbezero = getelementptr @values, i32 0 | |
ret i32 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@values = internal global [8192 x i32] zeroinitializer
define i32 @main()
{
entry:
;create location and store zero to it
%location = alloca i32
store i32 0, i32* %location
}