repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
ExecutionEngine
/
MCJIT
/
hello2.ll
blob
31a1a6e7a74e856f1bfa79eb922f953b6b9e2323
1
; RUN: %lli %s > /dev/null
2
3
@X = global i32 7 ; <i32*> [#uses=0]
4
@msg = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
5
6
declare void @printf([13 x i8]*, ...)
7
8
define void @bar() {
9
call void ([13 x i8]*, ...) @printf( [13 x i8]* @msg )
10
ret void
11
}
12
13
define i32 @main() {
14
call void @bar( )
15
ret i32 0
16
}
17