comparison test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children afa8332a0e37
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: llc < %s | grep mflr | count 1
2
3 target datalayout = "e-p:32:32"
4 target triple = "powerpc-apple-darwin8"
5 @str = internal constant [18 x i8] c"hello world!, %d\0A\00" ; <[18 x i8]*> [#uses=1]
6
7
8 define i32 @main() {
9 entry:
10 %tmp = tail call i32 (i8*, ...)* @printf( i8* getelementptr ([18 x i8]* @str, i32 0, i32 0) ) ; <i32> [#uses=0]
11 ret i32 0
12 }
13
14 declare i32 @printf(i8*, ...)