1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/test/CodeGen/PowerPC/hello.ll

13 lines
320 B
LLVM
Raw Normal View History

; RUN: llc -verify-machineinstrs < %s -march=ppc32
; RUN: llc -verify-machineinstrs < %s -march=ppc64
2007-05-09 21:20:37 +02:00
; PR1399
@.str = internal constant [13 x i8] c"Hello World!\00"
define i32 @main() {
%tmp2 = tail call i32 @puts( i8* getelementptr ([13 x i8], [13 x i8]* @.str, i32 0, i64 0) )
2007-05-09 21:20:37 +02:00
ret i32 0
}
declare i32 @puts(i8*)