view test/CodeGen/PowerPC/hello.ll @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents afa8332a0e37
children 803732b1fca8
line wrap: on
line source

; RUN: llc -verify-machineinstrs < %s -march=ppc32
; RUN: llc -verify-machineinstrs < %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], [13 x i8]* @.str, i32 0, i64 0) )
	ret i32 0
}

declare i32 @puts(i8*)