llvm.org GIT mirror llvm / d349a4e
Remove llvm-upgrade git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47231 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 11 years ago
1 changed file(s) with 6 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llvm-upgrade < %s > %t1.ll
1 ; RUN: bugpoint %t1.ll -dce -bugpoint-deletecalls -simplifycfg
0 ; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg
21
3 %.LC0 = internal global [13 x sbyte] c"Hello World\0A\00"
2 @.LC0 = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
43
5 implementation
4 declare i32 @printf(i8*, ...)
65
7 declare int %printf(sbyte*, ...)
8
9 int %main() {
10 call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) )
11 ret int 0
6 define i32 @main() {
7 call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]* @.LC0, i64 0, i64 0) ) ; :1 [#uses=0]
8 ret i32 0
129 }
13