Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | afa8332a0e37 |
children |
line wrap: on
line source
; RUN: llc -verify-machineinstrs < %s | grep mflr | count 1 target datalayout = "e-p:32:32" target triple = "powerpc-apple-darwin8" @str = internal constant [18 x i8] c"hello world!, %d\0A\00" ; <[18 x i8]*> [#uses=1] define i32 @main() { entry: %tmp = tail call i32 (i8*, ...) @printf( i8* getelementptr ([18 x i8], [18 x i8]* @str, i32 0, i32 0) ) ; <i32> [#uses=0] ret i32 0 } declare i32 @printf(i8*, ...)