summaryrefslogtreecommitdiff
path: root/test/BugPoint
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-17 00:15:09 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-17 00:15:09 +0000
commitd349a4eda18a2d424a0596ddd56f619d79f4026d (patch)
tree6a9e047f2064142942542c8129aa32985e699234 /test/BugPoint
parent2d290f9dc4503a038f61e7cbc6717b478817c4cc (diff)
downloadllvm-d349a4eda18a2d424a0596ddd56f619d79f4026d.tar.gz
llvm-d349a4eda18a2d424a0596ddd56f619d79f4026d.tar.bz2
llvm-d349a4eda18a2d424a0596ddd56f619d79f4026d.tar.xz
Remove llvm-upgrade
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/BugPoint')
-rw-r--r--test/BugPoint/misopt-basictest.ll16
1 files changed, 6 insertions, 10 deletions
diff --git a/test/BugPoint/misopt-basictest.ll b/test/BugPoint/misopt-basictest.ll
index 66cc53f42e..6136e3e194 100644
--- a/test/BugPoint/misopt-basictest.ll
+++ b/test/BugPoint/misopt-basictest.ll
@@ -1,14 +1,10 @@
-; RUN: llvm-upgrade < %s > %t1.ll
-; RUN: bugpoint %t1.ll -dce -bugpoint-deletecalls -simplifycfg
+; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg
-%.LC0 = internal global [13 x sbyte] c"Hello World\0A\00"
+@.LC0 = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
-implementation
+declare i32 @printf(i8*, ...)
-declare int %printf(sbyte*, ...)
-
-int %main() {
- call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) )
- ret int 0
+define i32 @main() {
+ call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]* @.LC0, i64 0, i64 0) ) ; <i32>:1 [#uses=0]
+ ret i32 0
}
-