From ec9a35a6f9143cfa325e0413cc297c48f627973a Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sat, 1 Mar 2008 09:15:35 +0000 Subject: [PATCH] Remove llvm-upgrade and update test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/ADCE/2002-05-22-PHITest.ll | 19 +- .../ADCE/2002-05-23-ZeroArgPHITest.ll | 41 +- .../ADCE/2002-05-28-Crash-distilled.ll | 20 +- test/Transforms/ADCE/2002-05-28-Crash.ll | 76 +- .../ADCE/2002-07-17-AssertionFailure.ll | 12 +- .../ADCE/2002-07-17-PHIAssertion.ll | 69 +- test/Transforms/ADCE/2002-07-29-Segfault.ll | 14 +- .../ADCE/2003-01-22-PredecessorProblem.ll | 34 +- .../ADCE/2003-04-25-PHIPostDominateProblem.ll | 46 +- test/Transforms/ADCE/2003-06-11-InvalidCFG.ll | 40 +- .../ADCE/2003-06-24-BadSuccessor.ll | 89 +- .../ADCE/2003-06-24-BasicFunctionality.ll | 65 +- .../ADCE/2003-09-10-UnwindInstFail.ll | 27 +- .../ADCE/2003-09-15-InfLoopCrash.ll | 11 +- .../2003-11-16-MissingPostDominanceInfo.ll | 25 +- .../ADCE/2003-12-19-MergeReturn.llx | 33 +- .../ADCE/2004-05-04-UnreachableBlock.llx | 20 +- .../ADCE/2005-02-17-PHI-Invoke-Crash.ll | 61 +- test/Transforms/ADCE/adcetest.ll | 48 +- test/Transforms/ADCE/basictest.ll | 27 +- test/Transforms/ADCE/basictest1.ll | 144 +- test/Transforms/ADCE/basictest2.ll | 143 +- test/Transforms/ADCE/dead-phi-edge.ll | 20 +- test/Transforms/ADCE/unreachable-function.ll | 4 +- .../ArgumentPromotion/aggregate-promote.ll | 34 +- .../Transforms/ArgumentPromotion/basictest.ll | 36 +- test/Transforms/ArgumentPromotion/chained.ll | 23 +- .../ArgumentPromotion/control-flow.ll | 24 +- .../ArgumentPromotion/control-flow2.ll | 28 +- test/Transforms/BlockPlacement/basictest.ll | 21 +- .../2004-03-13-LoopExtractorCrash.ll | 38 +- .../2004-03-14-DominanceProblem.ll | 41 +- .../2004-03-14-NoSwitchSupport.ll | 37 +- .../CodeExtractor/2004-03-17-MissedLiveIns.ll | 28 +- .../2004-03-17-OutputMismatch.ll | 29 +- .../2004-03-17-UpdatePHIsOutsideRegion.ll | 30 +- .../2004-03-18-InvokeHandling.ll | 222 +- .../2004-08-12-BlockExtractPHI.ll | 29 +- .../CodeExtractor/2004-11-12-InvokeExtract.ll | 23 +- .../2006-08-14-SingleEntryPhiCrash.ll | 188 +- .../CondProp/2006-11-01-PhiNodeCrash.ll | 561 +++-- test/Transforms/CondProp/basictest.ll | 40 +- test/Transforms/CondProp/phisimplify.ll | 68 +- test/Transforms/CondProp/phisimplify2.ll | 72 +- .../2002-05-03-DivideByZeroException.ll | 15 +- .../ConstProp/2002-05-03-NotOperator.ll | 17 +- .../ConstProp/2002-09-03-SetCC-Bools.ll | 28 +- .../ConstProp/2003-05-12-DivideError.ll | 14 +- .../ConstProp/2005-01-28-SetCCGEP.ll | 17 +- .../ConstProp/2006-11-30-vector-cast.ll | 11 +- .../ConstProp/2006-12-01-TruncBoolBug.ll | 9 +- .../ConstProp/2006-12-01-bool-casts.ll | 16 +- test/Transforms/ConstProp/basictest.ll | 26 +- test/Transforms/ConstProp/bitcast.ll | 5 +- test/Transforms/ConstProp/bswap.ll | 29 +- test/Transforms/ConstProp/calls.ll | 45 +- .../Transforms/ConstProp/float-to-ptr-cast.ll | 13 +- test/Transforms/ConstProp/logicaltest.ll | 35 +- test/Transforms/ConstProp/nottest.ll | 20 +- test/Transforms/ConstProp/phi.ll | 19 +- test/Transforms/ConstProp/remtest.ll | 27 +- .../ConstantMerge/2002-09-23-CPR-Update.ll | 19 +- .../2003-10-28-MergeExternalConstants.ll | 8 +- .../2006-03-07-DontMergeDiffSections.ll | 21 +- .../DeadArgElim/2006-06-27-struct-ret.ll | 14 +- test/Transforms/DeadArgElim/basictest.ll | 41 +- test/Transforms/DeadArgElim/dead_vaargs.ll | 14 +- test/Transforms/DeadArgElim/deadretval.ll | 23 +- test/Transforms/DeadArgElim/deadretval2.ll | 43 +- .../2004-11-28-LiveStoreDeleted.ll | 20 +- .../2004-12-28-PartialStore.ll | 16 +- .../DeadStoreElimination/2005-11-30-vaarg.ll | 10 +- .../2006-06-27-AST-Remove.ll | 1817 ++++++++--------- .../DeadStoreElimination/PartialStore.ll | 17 +- .../DeadStoreElimination/alloca.llx | 13 +- .../context-sensitive.llx | 23 +- test/Transforms/DeadStoreElimination/free.llx | 12 +- .../DeadStoreElimination/simple.llx | 13 +- .../Transforms/GCSE/2002-05-14-OperandSwap.ll | 23 +- .../GCSE/2002-05-21-NoSharedDominator.ll | 15 +- .../GCSE/2003-06-13-LoadStoreEliminate.ll | 10 +- test/Transforms/GCSE/gcsetests.ll | 81 +- test/Transforms/GCSE/vectorops.ll | 34 +- .../GlobalDCE/2002-07-17-CastRef.ll | 15 +- .../GlobalDCE/2002-07-17-ConstantRef.ll | 15 +- .../GlobalDCE/2002-08-17-FunctionDGE.ll | 17 +- .../GlobalDCE/2002-08-17-WorkListTest.ll | 16 +- .../GlobalDCE/2002-09-12-Redeletion.ll | 16 +- .../GlobalDCE/2003-07-01-SelfReference.ll | 14 +- .../2003-10-09-PreserveWeakGlobals.ll | 4 +- .../Transforms/GlobalDCE/basicvariabletest.ll | 6 +- .../GlobalOpt/2004-10-10-CastStoreOnce.llx | 22 +- .../2005-06-15-LocalizeConstExprCrash.ll | 11 +- test/Transforms/GlobalOpt/2005-09-27-Crash.ll | 37 +- .../GlobalOpt/2006-07-07-InlineAsmCrash.ll | 129 +- .../2006-11-01-ShrinkGlobalPhiCrash.ll | 38 +- test/Transforms/GlobalOpt/basictest.llx | 12 +- test/Transforms/GlobalOpt/ctor-list-opt.ll | 124 +- test/Transforms/GlobalOpt/deadglobal.llx | 11 +- .../GlobalOpt/globalsra-partial.llx | 26 +- test/Transforms/GlobalOpt/globalsra.llx | 28 +- test/Transforms/GlobalOpt/integer-bool.ll | 30 +- test/Transforms/GlobalOpt/iterate.llx | 15 +- .../GlobalOpt/load-store-global.llx | 17 +- .../Transforms/GlobalOpt/malloc-promote-1.llx | 26 +- .../Transforms/GlobalOpt/malloc-promote-2.llx | 30 +- .../Transforms/GlobalOpt/malloc-promote-3.llx | 38 +- test/Transforms/GlobalOpt/memcpy.ll | 18 +- test/Transforms/GlobalOpt/memset.ll | 24 +- test/Transforms/GlobalOpt/phi-select.llx | 32 +- .../GlobalOpt/storepointer-compare.llx | 37 +- test/Transforms/GlobalOpt/storepointer.llx | 25 +- test/Transforms/GlobalOpt/trivialstore.llx | 26 +- test/Transforms/GlobalOpt/undef-init.llx | 21 +- test/Transforms/IPConstantProp/deadarg.ll | 11 +- test/Transforms/IPConstantProp/recursion.ll | 18 +- .../IPConstantProp/return-constant.ll | 25 +- .../2002-09-09-PointerIndVar.ll | 21 +- .../2003-04-16-ExprAnalysis.ll | 15 +- .../2003-09-12-MultiplePred.ll | 21 +- .../IndVarsSimplify/2003-09-23-NotAtTop.ll | 19 +- .../2003-12-10-IndVarDeadCode.ll | 29 +- .../2003-12-10-RemoveInstrCrash.llx | 25 +- .../IndVarsSimplify/2003-12-15-Crash.llx | 33 +- .../IndVarsSimplify/2003-12-21-IndVarSize.ll | 21 +- .../2004-03-10-PHIInsertionBug.ll | 37 +- .../2004-04-05-InvokeCastCrash.llx | 341 ++-- .../2004-04-07-ScalarEvolutionCrash.llx | 35 +- .../IndVarsSimplify/2005-02-11-InvokeCrash.ll | 31 +- .../2005-02-17-TruncateExprCrash.ll | 40 +- .../2005-02-26-ExitValueCompute.ll | 26 +- .../2005-06-15-InstMoveCrash.ll | 51 +- .../IndVarsSimplify/2005-11-18-Crash.ll | 23 +- .../2006-03-31-NegativeStride.ll | 18 +- .../2006-06-16-Indvar-LCSSA-Crash.ll | 35 +- .../IndVarsSimplify/2006-09-20-LFTR-Crash.ll | 34 +- .../IndVarsSimplify/2006-12-10-BitCast.ll | 27 +- .../IndVarsSimplify/complex-scev.ll | 35 +- .../IndVarsSimplify/exit_value_tests.llx | 167 +- .../IndVarsSimplify/lftr_simple.llx | 29 +- .../IndVarsSimplify/loop_evaluate_1.ll | 22 +- .../IndVarsSimplify/pointer-indvars.ll | 23 +- test/Transforms/IndVarsSimplify/subtract.ll | 21 +- .../IndVarsSimplify/tripcount_compute.llx | 140 +- .../IndVarsSimplify/tripcount_infinite.llx | 44 +- .../IndVarsSimplify/variable-stride-ivs.ll | 47 +- .../Inline/2003-09-14-InlineValue.ll | 29 +- .../Inline/2003-09-22-PHINodeInlineFail.ll | 19 +- .../2003-09-22-PHINodesInExceptionDest.ll | 33 +- .../2003-09-22-PHINodesInNormalInvokeDest.ll | 27 +- .../2003-10-13-AllocaDominanceProblem.ll | 26 +- ...2003-10-26-InlineInvokeExceptionDestPhi.ll | 21 +- .../Inline/2004-04-15-InlineDeletesCall.ll | 21 +- .../Inline/2004-04-20-InlineLinkOnce.llx | 15 +- .../2004-10-17-InlineFunctionWithoutReturn.ll | 13 +- .../Inline/2006-01-14-CallGraphUpdate.ll | 37 +- .../Inline/2006-07-12-InlinePruneCGUpdate.ll | 147 +- .../Inline/2006-11-09-InlineCGUpdate-2.ll | 171 +- .../Inline/2006-11-09-InlineCGUpdate.ll | 242 ++- test/Transforms/Inline/alloca_test.ll | 23 +- test/Transforms/Inline/basictest.ll | 15 +- test/Transforms/Inline/casts.ll | 25 +- test/Transforms/Inline/cfg_preserve_test.ll | 15 +- test/Transforms/Inline/dynamic_alloca_test.ll | 39 +- test/Transforms/Inline/inline-tail.ll | 21 +- test/Transforms/Inline/inline_cleanup.ll | 67 +- test/Transforms/Inline/inline_constprop.ll | 18 +- test/Transforms/Inline/inline_dce.ll | 27 +- test/Transforms/Inline/inline_prune.ll | 67 +- test/Transforms/Inline/invoke_test-1.ll | 27 +- test/Transforms/Inline/invoke_test-2.ll | 36 +- test/Transforms/Inline/invoke_test-3.ll | 40 +- .../InstCombine/2002-03-11-InstCombineHang.ll | 12 +- .../2002-05-14-TouchDeletedInst.ll | 886 ++++---- .../InstCombine/2002-08-02-CastTest.ll | 10 +- .../2002-09-17-GetElementPtrCrash.ll | 16 +- .../InstCombine/2002-12-05-MissedConstProp.ll | 17 +- .../InstCombine/2003-05-26-CastMiscompile.ll | 11 +- .../InstCombine/2003-05-27-ConstExprCrash.ll | 14 +- .../2003-06-05-BranchInvertInfLoop.ll | 16 +- .../2003-06-22-ConstantExprCrash.ll | 13 +- .../2003-07-21-ExternalConstant.ll | 47 +- .../InstCombine/2003-08-12-AllocaNonNull.ll | 22 +- .../2003-09-09-VolatileLoadElim.ll | 10 +- .../2003-10-23-InstcombineNullFail.ll | 15 +- .../InstCombine/2003-10-29-CallSiteResolve.ll | 20 +- .../InstCombine/2003-11-03-VarargsCallBug.ll | 16 +- .../2003-11-13-ConstExprCastCall.ll | 10 +- .../2004-01-13-InstCombineInvokePHI.ll | 30 +- .../2004-02-23-ShiftShiftOverflow.ll | 22 +- .../2004-03-13-InstCombineInfLoop.ll | 14 +- ...004-04-04-InstCombineReplaceAllUsesWith.ll | 14 +- .../InstCombine/2004-05-07-UnsizedCastLoad.ll | 11 +- .../InstCombine/2004-07-27-ConstantExprMul.ll | 11 +- .../InstCombine/2004-08-09-RemInfLoop.llx | 9 +- .../InstCombine/2004-08-10-BoolSetCC.ll | 9 +- .../InstCombine/2004-09-20-BadLoadCombine.llx | 25 +- .../2004-09-20-BadLoadCombine2.llx | 27 +- .../2004-09-28-BadShiftAndSetCC.llx | 12 +- .../InstCombine/2004-11-22-Missed-and-fold.ll | 12 +- ...004-11-27-SetCCForCastLargerAndConstant.ll | 176 +- .../2004-12-08-InstCombineCrash.ll | 18 +- .../InstCombine/2004-12-08-RemInfiniteLoop.ll | 9 +- .../InstCombine/2005-03-04-ShiftOverflow.ll | 12 +- .../InstCombine/2005-04-07-UDivSelectCrash.ll | 11 +- .../InstCombine/2005-06-15-DivSelectCrash.ll | 15 +- .../InstCombine/2005-06-15-ShiftSetCCCrash.ll | 11 +- .../InstCombine/2005-06-16-RangeCrash.ll | 12 +- .../2005-06-16-SetCCOrSetCCMiscompile.ll | 18 +- .../InstCombine/2005-07-07-DeadPHILoop.ll | 17 +- .../InstCombine/2006-02-07-SextZextCrash.ll | 37 +- .../2006-02-13-DemandedMiscompile.ll | 11 +- .../InstCombine/2006-02-28-Crash.ll | 12 +- .../InstCombine/2006-03-30-ExtractElement.ll | 11 +- .../InstCombine/2006-04-01-InfLoop.ll | 565 ++--- .../2006-04-28-ShiftShiftLongLong.ll | 13 +- .../2006-05-04-DemandedBitCrash.ll | 59 +- .../InstCombine/2006-05-06-Infloop.ll | 781 ++++--- .../InstCombine/2006-06-28-infloop.ll | 31 +- .../2006-09-11-EmptyStructCrash.ll | 57 +- .../InstCombine/2006-09-15-CastToBool.ll | 20 +- ...06-10-19-SignedToUnsignedCastAndConst-2.ll | 12 +- ...2006-10-19-SignedToUnsignedCastAndConst.ll | 12 +- .../Transforms/InstCombine/2006-10-20-mask.ll | 16 +- .../InstCombine/2006-10-26-VectorReassoc.ll | 12 +- .../InstCombine/2006-11-03-Memmove64.ll | 17 +- .../InstCombine/2006-11-10-ashr-miscompile.ll | 10 +- .../InstCombine/2006-11-27-XorBug.ll | 14 +- .../2006-12-01-BadFPVectorXform.ll | 14 +- .../InstCombine/2006-12-05-fp-to-int-ext.ll | 13 +- .../InstCombine/2006-12-08-ICmp-Combining.ll | 25 +- .../2006-12-08-Phi-ICmp-Op-Fold.ll | 71 +- .../InstCombine/2006-12-08-Select-ICmp.ll | 70 +- .../InstCombine/2006-12-10-ICmp-GEP-GEP.ll | 280 ++- .../InstCombine/2006-12-15-Range-Test.ll | 34 +- .../InstCombine/2006-12-23-Select-Cmp-Cmp.ll | 36 +- .../InstCombine/2007-02-07-PointerCast.ll | 26 +- test/Transforms/InstCombine/narrow.ll | 19 +- test/Transforms/InstCombine/not.ll | 57 +- test/Transforms/InstCombine/or.ll | 225 +- test/Transforms/InstCombine/phi.ll | 157 +- test/Transforms/InstCombine/rem.ll | 103 +- test/Transforms/InstCombine/select.ll | 260 +-- test/Transforms/InstCombine/set.ll | 232 ++- .../Transforms/InstCombine/setcc-cast-cast.ll | 58 +- .../InstCombine/setcc-strength-reduce.ll | 39 +- test/Transforms/InstCombine/shift-sra.ll | 26 +- test/Transforms/InstCombine/shift.ll | 275 +-- test/Transforms/InstCombine/shl-trunc.ll | 12 +- test/Transforms/InstCombine/signext.ll | 62 +- .../InstCombine/sink_instruction.ll | 19 +- test/Transforms/InstCombine/store.ll | 23 +- test/Transforms/InstCombine/sub.ll | 181 +- .../InstCombine/vec_insert_to_shuffle.ll | 26 +- test/Transforms/InstCombine/vec_narrow.ll | 12 +- test/Transforms/InstCombine/xor.ll | 268 ++- .../InstCombine/zeroext-and-reduce.ll | 11 +- test/Transforms/InstCombine/zext.ll | 11 +- 258 files changed, 7470 insertions(+), 7353 deletions(-) diff --git a/test/Transforms/ADCE/2002-05-22-PHITest.ll b/test/Transforms/ADCE/2002-05-22-PHITest.ll index cf9872e2e11..04f0051af8d 100644 --- a/test/Transforms/ADCE/2002-05-22-PHITest.ll +++ b/test/Transforms/ADCE/2002-05-22-PHITest.ll @@ -1,13 +1,16 @@ ; It is illegal to remove BB1 because it will mess up the PHI node! ; -; RUN: llvm-upgrade < %s | llvm-as | opt -adce | llvm-dis | grep BB1 +; RUN: llvm-as < %s | opt -adce | llvm-dis | grep BB1 +define i32 @test(i1 %C, i32 %A, i32 %B) { +;