projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
hello.ll
1
; RUN: llvm-as < %s | llc -march=ppc32
2
; RUN: llvm-as < %s | llc -march=ppc64
3
; PR1399
4
5
@.str = internal constant [13 x i8] c"Hello World!\00"
6
7
define i32 @main() {
8
%tmp2 = tail call i32 @puts( i8* getelementptr ([13 x i8]* @.str, i32 0, i64 0) )
9
ret i32 0
10
}
11
12
declare i32 @puts(i8*)