aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/hello.ll
blob: ea27e9257a6518a67663f91638af12be2b8b53e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc < %s -march=ppc32
; RUN: llc < %s -march=ppc64
; PR1399

@.str = internal constant [13 x i8] c"Hello World!\00"

define i32 @main() {
	%tmp2 = tail call i32 @puts( i8* getelementptr ([13 x i8]* @.str, i32 0, i64 0) )
	ret i32 0
}

declare i32 @puts(i8*)