aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-10 07:21:50 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-10 07:21:50 +0000
commitceca194c4355224723b309a3a27c5e5bc19cb6fc (patch)
treed976e8cf9d933c32868d72a94d1ec2d9d7205735
parentf79e60649a5edea03bdccf8521d77c15cbb33af4 (diff)
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48137 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/DebugInfo/funccall.ll289
-rw-r--r--test/ExecutionEngine/2002-12-16-ArgTest.ll63
-rw-r--r--test/ExecutionEngine/2003-01-04-ArgumentBug.ll20
-rw-r--r--test/ExecutionEngine/2003-01-04-LoopTest.ll32
-rw-r--r--test/ExecutionEngine/2003-01-04-PhiTest.ll16
-rw-r--r--test/ExecutionEngine/2003-01-09-SARTest.ll13
-rw-r--r--test/ExecutionEngine/2003-01-10-FUCOM.ll16
-rw-r--r--test/ExecutionEngine/2003-01-15-AlignmentTest.ll27
-rw-r--r--test/ExecutionEngine/2003-05-06-LivenessClobber.llx23
-rw-r--r--test/ExecutionEngine/2003-05-07-ArgumentTest.llx16
-rw-r--r--test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll20
-rw-r--r--test/ExecutionEngine/2003-06-04-bzip2-bug.ll26
-rw-r--r--test/ExecutionEngine/2003-06-05-PHIBug.ll21
-rw-r--r--test/ExecutionEngine/2003-08-15-AllocaAssertion.ll12
-rw-r--r--test/ExecutionEngine/2003-08-21-EnvironmentTest.ll17
-rw-r--r--test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll54
-rw-r--r--test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll42
-rw-r--r--test/ExecutionEngine/2005-12-02-TailCallBug.ll32
-rw-r--r--test/ExecutionEngine/hello.ll14
-rw-r--r--test/ExecutionEngine/hello2.ll24
-rw-r--r--test/ExecutionEngine/simplesttest.ll9
-rw-r--r--test/ExecutionEngine/simpletest.ll14
-rw-r--r--test/ExecutionEngine/test-arith.ll67
-rw-r--r--test/ExecutionEngine/test-branch.ll15
-rw-r--r--test/ExecutionEngine/test-call.ll26
-rw-r--r--test/ExecutionEngine/test-cast.ll236
-rw-r--r--test/ExecutionEngine/test-constantexpr.ll13
-rw-r--r--test/ExecutionEngine/test-fp.ll34
-rw-r--r--test/ExecutionEngine/test-loadstore.ll53
-rw-r--r--test/ExecutionEngine/test-logical.ll36
-rw-r--r--test/ExecutionEngine/test-loop.ll20
-rw-r--r--test/ExecutionEngine/test-malloc.ll22
-rw-r--r--test/ExecutionEngine/test-phi.ll39
-rw-r--r--test/ExecutionEngine/test-ret.ll55
-rw-r--r--test/ExecutionEngine/test-setcond-fp.ll40
-rw-r--r--test/ExecutionEngine/test-setcond-int.ll135
-rw-r--r--test/ExecutionEngine/test-shift.ll67
-rw-r--r--test/Linker/2003-11-18-TypeResolution.ll15
-rw-r--r--test/Linker/2004-02-17-WeakStrongLinkage.ll6
-rw-r--r--test/Linker/2004-05-07-TypeResolution1.ll68
-rw-r--r--test/Linker/2004-05-07-TypeResolution2.ll22
-rw-r--r--test/Linker/2005-02-12-ConstantGlobals.ll4
-rw-r--r--test/Linker/2005-12-06-AppendingZeroLengthArrays.ll5
-rw-r--r--test/Linker/2006-01-19-ConstantPacked.ll14
-rw-r--r--test/Linker/AppendingLinkage.ll18
-rw-r--r--test/Linker/AppendingLinkage2.ll8
-rw-r--r--test/Linker/ConstantGlobals1.ll9
-rw-r--r--test/Linker/ConstantGlobals2.ll9
-rw-r--r--test/Linker/ConstantGlobals3.ll8
-rw-r--r--test/Linker/LinkOnce.ll6
-rw-r--r--test/Linker/testlink1.ll78
-rw-r--r--test/Linker/testlink2.ll67
-rw-r--r--test/Linker/weakextern.ll11
-rw-r--r--test/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll30
-rw-r--r--test/Transforms/SimplifyCFG/2002-05-21-PHIElimination.ll18
-rw-r--r--test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll18
-rw-r--r--test/Transforms/SimplifyCFG/2002-09-24-PHIAssertion.ll19
-rw-r--r--test/Transforms/SimplifyCFG/2003-03-07-DominateProblem.ll23
-rw-r--r--test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll16
-rw-r--r--test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll14
-rw-r--r--test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll27
-rw-r--r--test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll29
-rw-r--r--test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll117
-rw-r--r--test/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll49
-rw-r--r--test/Transforms/SimplifyCFG/2005-06-16-PHICrash.ll126
-rw-r--r--test/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll91
-rw-r--r--test/Transforms/SimplifyCFG/2005-08-03-PHIFactorCrash.ll66
-rw-r--r--test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll24
-rw-r--r--test/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll172
-rw-r--r--test/Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll32
-rw-r--r--test/Transforms/SimplifyCFG/2006-06-12-InfLoop.ll422
-rw-r--r--test/Transforms/SimplifyCFG/2006-08-03-Crash.ll130
-rw-r--r--test/Transforms/SimplifyCFG/2006-10-19-UncondDiv.ll48
-rw-r--r--test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll701
-rw-r--r--test/Transforms/SimplifyCFG/2006-12-08-Ptr-ICmp-Branch.ll250
-rw-r--r--test/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll13
-rw-r--r--test/Transforms/SimplifyLibCalls/ExitInMain.ll16
-rw-r--r--test/Transforms/SimplifyLibCalls/FFS.ll45
-rw-r--r--test/Transforms/SimplifyLibCalls/FPrintF.ll36
-rw-r--r--test/Transforms/SimplifyLibCalls/IsDigit.ll30
-rw-r--r--test/Transforms/SimplifyLibCalls/MemCpy.ll32
-rw-r--r--test/Transforms/SimplifyLibCalls/MemMove.ll32
-rw-r--r--test/Transforms/SimplifyLibCalls/MemSet.ll25
-rw-r--r--test/Transforms/SimplifyLibCalls/Pow.ll22
-rw-r--r--test/Transforms/SimplifyLibCalls/Puts.ll37
-rw-r--r--test/Transforms/SimplifyLibCalls/SPrintF.ll60
-rw-r--r--test/Transforms/SimplifyLibCalls/StrCat.ll39
-rw-r--r--test/Transforms/SimplifyLibCalls/StrChr.ll30
-rw-r--r--test/Transforms/SimplifyLibCalls/StrCmp.ll43
-rw-r--r--test/Transforms/SimplifyLibCalls/StrCpy.ll39
-rw-r--r--test/Transforms/SimplifyLibCalls/StrLen.ll76
-rw-r--r--test/Transforms/SimplifyLibCalls/StrNCmp.ll43
-rw-r--r--test/Transforms/SimplifyLibCalls/ToAscii.ll33
-rw-r--r--test/Transforms/SimplifyLibCalls/floor.ll37
-rw-r--r--test/Transforms/SimplifyLibCalls/memcmp.ll36
-rw-r--r--test/Transforms/TailCallElim/accum_recursion.ll24
-rw-r--r--test/Transforms/TailCallElim/accum_recursion_constant_arg.ll24
-rw-r--r--test/Transforms/TailCallElim/ackermann.ll44
-rw-r--r--test/Transforms/TailCallElim/dont-tce-tail-marked-call.ll17
-rw-r--r--test/Transforms/TailCallElim/intervening-inst.ll26
-rw-r--r--test/Transforms/TailCallElim/move_alloca_for_tail_call.ll17
-rw-r--r--test/Transforms/TailCallElim/return_constant.ll22
-rw-r--r--test/Transforms/TailCallElim/trivial_codegen_tailcall.ll9
-rw-r--r--test/Transforms/TailDup/2003-06-24-Simpleloop.ll25
-rw-r--r--test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll14
-rw-r--r--test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll49
-rw-r--r--test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll23
-rw-r--r--test/Transforms/TailDup/2004-04-01-DemoteRegToStack.llx28
-rw-r--r--test/Transforms/TailDup/MergeTest.ll42
-rw-r--r--test/Transforms/TailDup/PHIUpdateTest.ll26
-rw-r--r--test/Transforms/TailDup/basictest.ll28
-rw-r--r--test/Transforms/TailDup/basictest2.ll20
-rw-r--r--test/Transforms/TailDup/if-tail-dup.ll80
-rw-r--r--test/Verifier/invoke-1.ll14
-rw-r--r--test/Verifier/invoke-2.ll21
115 files changed, 2572 insertions, 3133 deletions
diff --git a/test/DebugInfo/funccall.ll b/test/DebugInfo/funccall.ll
index cb5dab62ca..47fe4c2498 100644
--- a/test/DebugInfo/funccall.ll
+++ b/test/DebugInfo/funccall.ll
@@ -1,166 +1,147 @@
-;; RUN: llvm-upgrade < %s | llvm-as | llc
+;; RUN: llvm-as < %s | llc
+ %llvm.dbg.anchor.type = type { i32, i32 }
+ %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 }
+ %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* }
+ %llvm.dbg.global_variable.type = type { i32, { }*, { }*, i8*, i8*, i8*, { }*, i32, { }*, i1, i1, { }* }
+ %llvm.dbg.subprogram.type = type { i32, { }*, { }*, i8*, i8*, i8*, { }*, i32, { }*, i1, i1 }
+ %llvm.dbg.variable.type = type { i32, { }*, i8*, { }*, i32, { }* }
+@llvm.dbg.subprograms = linkonce constant %llvm.dbg.anchor.type { i32 393216, i32 46 }, section "llvm.metadata" ; <%llvm.dbg.anchor.type*> [#uses=1]
+@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 393216, i32 17 }, section "llvm.metadata" ; <%llvm.dbg.anchor.type*> [#uses=1]
+@llvm.dbg.global_variables = linkonce constant %llvm.dbg.anchor.type { i32 393216, i32 52 }, section "llvm.metadata" ; <%llvm.dbg.anchor.type*> [#uses=1]
+@llvm.dbg.subprogram = internal constant %llvm.dbg.subprogram.type {
+ i32 393262,
+ { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.subprograms to { }*),
+ { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*),
+ i8* getelementptr ([4 x i8]* @str, i32 0, i32 0),
+ i8* getelementptr ([4 x i8]* @str, i32 0, i32 0),
+ i8* null,
+ { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*),
+ i32 4,
+ { }* null,
+ i1 false,
+ i1 true }, section "llvm.metadata" ; <%llvm.dbg.subprogram.type*> [#uses=1]
+@str = internal constant [4 x i8] c"foo\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
+@llvm.dbg.compile_unit = internal constant %llvm.dbg.compile_unit.type {
+ i32 393233,
+ { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.compile_units to { }*),
+ i32 1,
+ i8* getelementptr ([11 x i8]* @str1, i32 0, i32 0),
+ i8* getelementptr ([50 x i8]* @str2, i32 0, i32 0),
+ i8* getelementptr ([45 x i8]* @str3, i32 0, i32 0) }, section "llvm.metadata" ; <%llvm.dbg.compile_unit.type*> [#uses=1]
+@str1 = internal constant [11 x i8] c"funccall.c\00", section "llvm.metadata" ; <[11 x i8]*> [#uses=1]
+@str2 = internal constant [50 x i8] c"/Volumes/Big2/llvm/llvm/test/Regression/Debugger/\00", section "llvm.metadata" ; <[50 x i8]*> [#uses=1]
+@str3 = internal constant [45 x i8] c"4.0.1 LLVM (Apple Computer, Inc. build 5421)\00", section "llvm.metadata" ; <[45 x i8]*> [#uses=1]
+@llvm.dbg.variable = internal constant %llvm.dbg.variable.type {
+ i32 393472,
+ { }* bitcast (%llvm.dbg.subprogram.type* @llvm.dbg.subprogram to { }*),
+ i8* getelementptr ([2 x i8]* @str4, i32 0, i32 0),
+ { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*),
+ i32 5,
+ { }* bitcast (%llvm.dbg.basictype.type* @llvm.dbg.basictype to { }*) }, section "llvm.metadata" ; <%llvm.dbg.variable.type*> [#uses=1]
+@str4 = internal constant [2 x i8] c"t\00", section "llvm.metadata" ; <[2 x i8]*> [#uses=1]
+@llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type {
+ i32 393252,
+ { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*),
+ i8* getelementptr ([4 x i8]* @str15, i32 0, i32 0),
+ { }* null,
+ i32 0,
+ i64 32,
+ i64 32,
+ i64 0,
+ i32 0,
+ i32 5 }, section "llvm.metadata" ; <%llvm.dbg.basictype.type*> [#uses=1]
+@str15 = internal constant [4 x i8] c"int\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1]
+@llvm.dbg.subprogram2 = internal constant %llvm.dbg.subprogram.type {
+ i32 393262,
+ { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.subprograms to { }*),
+ { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*),
+ i8* getelementptr ([5 x i8]* @str6, i32 0, i32 0),
+ i8* getelementptr ([5 x i8]* @str6, i32 0, i32 0),
+ i8* null,
+ { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*),
+ i32 8,
+ { }* bitcast (%llvm.dbg.basictype.type* @llvm.dbg.basictype to { }*),
+ i1 false,
+ i1 true }, section "llvm.metadata" ; <%llvm.dbg.subprogram.type*> [#uses=1]
+@str6 = internal constant [5 x i8] c"main\00", section "llvm.metadata" ; <[5 x i8]*> [#uses=1]
+@llvm.dbg.variable3 = internal constant %llvm.dbg.variable.type {
+ i32 393474,
+ { }* bitcast (%llvm.dbg.subprogram.type* @llvm.dbg.subprogram2 to { }*),
+ i8* getelementptr ([7 x i8]* @str7, i32 0, i32 0),
+ { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*),
+ i32 8,
+ { }* bitcast (%llvm.dbg.basictype.type* @llvm.dbg.basictype to { }*) }, section "llvm.metadata" ; <%llvm.dbg.variable.type*> [#uses=1]
+@str7 = internal constant [7 x i8] c"retval\00", section "llvm.metadata" ; <[7 x i8]*> [#uses=1]
+@llvm.dbg.global_variable = internal constant %llvm.dbg.global_variable.type {
+ i32 393268,