mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
fce288fc91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81293 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
265 B
LLVM
13 lines
265 B
LLVM
; 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*)
|