Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
authorDan Gohman <gohman@apple.com>
Fri, 11 Sep 2009 18:01:28 +0000 (18:01 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 11 Sep 2009 18:01:28 +0000 (18:01 +0000)
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8

1273 files changed:
test/Analysis/Andersens/2007-11-19-InlineAsm.ll
test/Analysis/Andersens/2008-03-19-External.ll
test/Analysis/Andersens/2008-04-07-Memcpy.ll
test/Analysis/Andersens/2008-12-27-BuiltinWrongType.ll
test/Analysis/Andersens/basictest.ll
test/Analysis/Andersens/external.ll
test/Analysis/Andersens/modreftest.ll
test/Analysis/Andersens/modreftest2.ll
test/Analysis/Andersens/trivialtest.ll
test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll
test/Analysis/BasicAA/2003-03-04-GEPCrash.ll
test/Analysis/BasicAA/2003-04-22-GEPProblem.ll
test/Analysis/BasicAA/2003-04-25-GEPCrash.ll
test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll
test/Analysis/BasicAA/2003-06-01-AliasCrash.ll
test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll
test/Analysis/BasicAA/2003-09-19-LocalArgument.ll
test/Analysis/BasicAA/2003-11-04-SimpleCases.ll
test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll
test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll
test/Analysis/BasicAA/2004-12-08-BasicAACrash.ll
test/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll
test/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll
test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll
test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll
test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll
test/Analysis/BasicAA/2007-11-05-SizeCrash.ll
test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll
test/Analysis/BasicAA/2008-04-15-Byval.ll
test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll
test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll
test/Analysis/BasicAA/2008-12-09-GEP-IndicesAlias.ll
test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll
test/Analysis/BasicAA/byval.ll
test/Analysis/BasicAA/cas.ll
test/Analysis/BasicAA/constant-over-index.ll
test/Analysis/BasicAA/featuretest.ll
test/Analysis/BasicAA/gcsetest.ll
test/Analysis/BasicAA/global-size.ll
test/Analysis/BasicAA/modref.ll
test/Analysis/BasicAA/no-escape-call.ll
test/Analysis/BasicAA/nocapture.ll
test/Analysis/BasicAA/pure-const-dce.ll
test/Analysis/BasicAA/store-promote.ll
test/Analysis/BasicAA/tailcall-modref.ll
test/Analysis/CallGraph/2008-09-09-DirectCall.ll
test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll
test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll
test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll
test/Analysis/GlobalsModRef/aliastest.ll
test/Analysis/GlobalsModRef/chaining-analysis.ll
test/Analysis/GlobalsModRef/indirect-global.ll
test/Analysis/GlobalsModRef/modreftest.ll
test/Analysis/GlobalsModRef/purecse.ll
test/Analysis/LoopDependenceAnalysis/alias.ll
test/Analysis/LoopDependenceAnalysis/siv-strong.ll
test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll
test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll
test/Analysis/LoopDependenceAnalysis/ziv.ll
test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll
test/Analysis/PointerTracking/sizes.ll
test/Analysis/PostDominators/2006-09-26-PostDominanceFrontier.ll
test/Analysis/PostDominators/2007-04-17-PostDominanceFrontier.ll
test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll
test/Analysis/PostDominators/pr1098.ll
test/Analysis/Profiling/edge-profiling.ll
test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll
test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll
test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll
test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll
test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll
test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll
test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll
test/Analysis/ScalarEvolution/2008-02-15-UMax.ll
test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll
test/Analysis/ScalarEvolution/2008-06-12-BinomialInt64.ll
test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll
test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll
test/Analysis/ScalarEvolution/2008-07-19-InfiniteLoop.ll
test/Analysis/ScalarEvolution/2008-07-19-WrappingIV.ll
test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll
test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll
test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll
test/Analysis/ScalarEvolution/2008-08-04-LongAddRec.ll
test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll
test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll
test/Analysis/ScalarEvolution/2008-11-18-LessThanOrEqual.ll
test/Analysis/ScalarEvolution/2008-11-18-Stride1.ll
test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll
test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll
test/Analysis/ScalarEvolution/2008-12-11-SMaxOverflow.ll
test/Analysis/ScalarEvolution/2008-12-14-StrideAndSigned.ll
test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll
test/Analysis/ScalarEvolution/2009-01-02-SignedNegativeStride.ll
test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll
test/Analysis/ScalarEvolution/2009-05-09-PointerEdgeCount.ll
test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll
test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll
test/Analysis/ScalarEvolution/and-xor.ll
test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll
test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll
test/Analysis/ScalarEvolution/avoid-smax-0.ll
test/Analysis/ScalarEvolution/avoid-smax-1.ll
test/Analysis/ScalarEvolution/div-overflow.ll
test/Analysis/ScalarEvolution/do-loop.ll
test/Analysis/ScalarEvolution/max-trip-count.ll
test/Analysis/ScalarEvolution/nsw.ll
test/Analysis/ScalarEvolution/pointer-sign-bits.ll
test/Analysis/ScalarEvolution/pr3909.ll
test/Analysis/ScalarEvolution/scev-aa.ll
test/Analysis/ScalarEvolution/sext-inreg.ll
test/Analysis/ScalarEvolution/sext-iv-0.ll
test/Analysis/ScalarEvolution/sext-iv-1.ll
test/Analysis/ScalarEvolution/sext-iv-2.ll
test/Analysis/ScalarEvolution/smax.ll
test/Analysis/ScalarEvolution/trip-count.ll
test/Analysis/ScalarEvolution/trip-count2.ll
test/Analysis/ScalarEvolution/trip-count3.ll
test/Analysis/ScalarEvolution/trip-count4.ll
test/Analysis/ScalarEvolution/trip-count5.ll
test/Analysis/ScalarEvolution/trip-count6.ll
test/Analysis/ScalarEvolution/trip-count7.ll
test/Analysis/ScalarEvolution/trip-count8.ll
test/Analysis/ScalarEvolution/xor-and.ll
test/Analysis/ScalarEvolution/zext-wrap.ll
test/Assembler/2002-04-29-NameBinding.ll
test/Assembler/2002-08-19-BytecodeReader.ll
test/Assembler/2008-02-20-MultipleReturnValue.ll
test/Assembler/2009-02-28-StripOpaqueName.ll
test/Bitcode/extractelement.ll
test/CodeGen/Generic/GC/argpromotion.ll
test/CodeGen/Generic/GC/deadargelim.ll
test/CodeGen/Generic/GC/inline.ll
test/CodeGen/Generic/GC/inline2.ll
test/CodeGen/PowerPC/ppcf128-1.ll
test/CodeGen/PowerPC/vec_shuffle.ll
test/CodeGen/X86/2009-03-23-i80-fp80.ll
test/CodeGen/X86/asm-block-labels.ll
test/CodeGen/X86/nancvt.ll
test/CodeGen/X86/vec_ins_extract.ll
test/DebugInfo/2009-03-03-cheapdse.ll
test/DebugInfo/2009-03-03-deadstore.ll
test/DebugInfo/2009-03-03-store-to-load-forward.ll
test/DebugInfo/printdbginfo2.ll
test/Feature/load_module.ll
test/Other/2002-01-31-CallGraph.ll
test/Other/2002-02-24-InlineBrokePHINodes.ll
test/Other/2002-03-11-ConstPropCrash.ll
test/Other/2003-02-19-LoopInfoNestingBug.ll
test/Other/2007-04-24-eliminate-mostly-empty-blocks.ll
test/Other/2007-06-05-PassID.ll
test/Other/2007-09-10-PassManager.ll
test/Other/2008-03-19-PassManager.ll
test/Other/2008-06-04-FieldSizeInPacked.ll
test/Other/2008-10-06-RemoveDeadPass.ll
test/Other/2009-03-31-CallGraph.ll
test/Other/2009-06-05-no-implicit-float.ll
test/Transforms/ADCE/2002-05-22-PHITest.ll
test/Transforms/ADCE/2002-05-23-ZeroArgPHITest.ll
test/Transforms/ADCE/2002-05-28-Crash-distilled.ll
test/Transforms/ADCE/2002-05-28-Crash.ll
test/Transforms/ADCE/2002-07-17-AssertionFailure.ll
test/Transforms/ADCE/2002-07-17-PHIAssertion.ll
test/Transforms/ADCE/2002-07-29-Segfault.ll
test/Transforms/ADCE/2003-01-22-PredecessorProblem.ll
test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll
test/Transforms/ADCE/2003-06-11-InvalidCFG.ll
test/Transforms/ADCE/2003-06-24-BadSuccessor.ll
test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll
test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll
test/Transforms/ADCE/2003-11-16-MissingPostDominanceInfo.ll
test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll
test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll
test/Transforms/ADCE/basictest.ll
test/Transforms/ADCE/basictest1.ll
test/Transforms/ADCE/basictest2.ll
test/Transforms/ADCE/dce_pure_invoke.ll
test/Transforms/ADCE/unreachable-function.ll
test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
test/Transforms/ArgumentPromotion/2008-07-02-array-indexing.ll
test/Transforms/ArgumentPromotion/2008-09-07-CGUpdate.ll
test/Transforms/ArgumentPromotion/2008-09-08-CGUpdateSelfEdge.ll
test/Transforms/ArgumentPromotion/aggregate-promote.ll
test/Transforms/ArgumentPromotion/attrs.ll
test/Transforms/ArgumentPromotion/basictest.ll
test/Transforms/ArgumentPromotion/byval-2.ll
test/Transforms/ArgumentPromotion/byval.ll
test/Transforms/ArgumentPromotion/callgraph-update.ll
test/Transforms/ArgumentPromotion/chained.ll
test/Transforms/ArgumentPromotion/control-flow.ll
test/Transforms/ArgumentPromotion/control-flow2.ll
test/Transforms/ArgumentPromotion/pr3085.ll
test/Transforms/BlockPlacement/basictest.ll
test/Transforms/BranchFolding/2007-10-19-InlineAsmDirectives.ll
test/Transforms/CodeExtractor/2004-03-13-LoopExtractorCrash.ll
test/Transforms/CodeExtractor/2004-03-14-DominanceProblem.ll
test/Transforms/CodeExtractor/2004-03-14-NoSwitchSupport.ll
test/Transforms/CodeExtractor/2004-03-17-MissedLiveIns.ll
test/Transforms/CodeExtractor/2004-03-17-OutputMismatch.ll
test/Transforms/CodeExtractor/2004-03-17-UpdatePHIsOutsideRegion.ll
test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll
test/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll
test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
test/Transforms/CodeGenPrepare/2008-11-24-RAUW-Self.ll
test/Transforms/CondProp/2006-08-14-SingleEntryPhiCrash.ll
test/Transforms/CondProp/2006-11-01-PhiNodeCrash.ll
test/Transforms/CondProp/2007-08-01-InvalidRead.ll
test/Transforms/CondProp/2009-01-25-SingleEntryPHI.ll
test/Transforms/CondProp/basictest-dbg.ll
test/Transforms/CondProp/basictest.ll
test/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll
test/Transforms/ConstProp/2002-05-03-NotOperator.ll
test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
test/Transforms/ConstProp/2003-05-12-DivideError.ll
test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
test/Transforms/ConstProp/2006-11-30-vector-cast.ll
test/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll
test/Transforms/ConstProp/2006-12-01-bool-casts.ll
test/Transforms/ConstProp/2007-02-05-BitCast.ll
test/Transforms/ConstProp/2007-11-23-cttz.ll
test/Transforms/ConstProp/2008-07-07-VectorCompare.ll
test/Transforms/ConstProp/2009-09-01-GEP-Crash.ll
test/Transforms/ConstProp/basictest.ll
test/Transforms/ConstProp/bswap.ll
test/Transforms/ConstProp/div-zero.ll
test/Transforms/ConstProp/float-to-ptr-cast.ll
test/Transforms/ConstProp/nottest.ll
test/Transforms/ConstantMerge/2002-09-23-CPR-Update.ll
test/Transforms/ConstantMerge/2006-03-07-DontMergeDiffSections.ll
test/Transforms/DeadArgElim/2006-06-27-struct-ret.ll
test/Transforms/DeadArgElim/2007-02-07-FuncRename.ll
test/Transforms/DeadArgElim/2007-10-18-VarargsReturn.ll
test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
test/Transforms/DeadArgElim/2008-01-16-VarargsParamAttrs.ll
test/Transforms/DeadArgElim/2008-06-23-DeadAfterLive.ll
test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll
test/Transforms/DeadArgElim/basictest.ll
test/Transforms/DeadArgElim/canon.ll
test/Transforms/DeadArgElim/dead_vaargs.ll
test/Transforms/DeadArgElim/deadretval.ll
test/Transforms/DeadArgElim/deadretval2.ll
test/Transforms/DeadArgElim/keepalive.ll
test/Transforms/DeadArgElim/multdeadretval.ll
test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll
test/Transforms/DeadStoreElimination/2004-12-28-PartialStore.ll
test/Transforms/DeadStoreElimination/2005-11-30-vaarg.ll
test/Transforms/DeadStoreElimination/2006-06-27-AST-Remove.ll
test/Transforms/DeadStoreElimination/2008-07-28-load-store.ll
test/Transforms/DeadStoreElimination/2008-11-28-MemDepUpdate.ll
test/Transforms/DeadStoreElimination/2008-11-29-OffEndOfBlock.ll
test/Transforms/DeadStoreElimination/PartialStore.ll
test/Transforms/DeadStoreElimination/alloca.ll
test/Transforms/DeadStoreElimination/byval.ll
test/Transforms/DeadStoreElimination/context-sensitive.ll
test/Transforms/DeadStoreElimination/crash.ll
test/Transforms/DeadStoreElimination/free.ll
test/Transforms/DeadStoreElimination/memcpy.ll
test/Transforms/DeadStoreElimination/simple.ll
test/Transforms/DeadStoreElimination/volatile-load.ll
test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll
test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll
test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll
test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll
test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll
test/Transforms/FunctionAttrs/2008-12-29-Constant.ll
test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll
test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll
test/Transforms/GVN/2007-07-25-DominatedLoop.ll
test/Transforms/GVN/2007-07-25-InfiniteLoop.ll
test/Transforms/GVN/2007-07-25-Loop.ll
test/Transforms/GVN/2007-07-25-NestedLoop.ll
test/Transforms/GVN/2007-07-25-SinglePredecessor.ll
test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
test/Transforms/GVN/2007-07-26-NonRedundant.ll
test/Transforms/GVN/2007-07-26-PhiErasure.ll
test/Transforms/GVN/2007-07-30-PredIDom.ll
test/Transforms/GVN/2007-07-31-NoDomInherit.ll
test/Transforms/GVN/2007-07-31-RedundantPhi.ll
test/Transforms/GVN/2008-02-12-UndefLoad.ll
test/Transforms/GVN/2008-02-13-NewPHI.ll
test/Transforms/GVN/2008-02-24-NonDominatedMemcpy.ll
test/Transforms/GVN/2008-02-26-MemCpySize.ll
test/Transforms/GVN/2008-07-02-Unreachable.ll
test/Transforms/GVN/2008-12-09-SelfRemove.ll
test/Transforms/GVN/2008-12-12-RLE-Crash.ll
test/Transforms/GVN/2008-12-14-rle-reanalyze.ll
test/Transforms/GVN/2008-12-15-CacheVisited.ll
test/Transforms/GVN/2009-01-21-SortInvalidation.ll
test/Transforms/GVN/2009-01-22-SortInvalidation.ll
test/Transforms/GVN/2009-02-17-LoadPRECrash.ll
test/Transforms/GVN/2009-03-05-dbg.ll
test/Transforms/GVN/2009-03-10-PREOnVoid.ll
test/Transforms/GVN/2009-06-17-InvalidPRE.ll
test/Transforms/GVN/2009-07-13-MemDepSortFail.ll
test/Transforms/GVN/basic.ll
test/Transforms/GVN/bitcast-of-call.ll
test/Transforms/GVN/calls-nonlocal.ll
test/Transforms/GVN/calls-readonly.ll
test/Transforms/GVN/condprop.ll
test/Transforms/GVN/load-constant-mem.ll
test/Transforms/GVN/local-pre.ll
test/Transforms/GVN/lpre-basic.ll
test/Transforms/GVN/mixed.ll
test/Transforms/GVN/pre-basic-add.ll
test/Transforms/GVN/pre-single-pred.ll
test/Transforms/GVN/rle-dominated.ll
test/Transforms/GVN/rle-must-alias.ll
test/Transforms/GVN/rle-no-phi-translate.ll
test/Transforms/GVN/rle-nonlocal.ll
test/Transforms/GVN/rle-phi-translate.ll
test/Transforms/GVN/rle-semidominated.ll
test/Transforms/GVNPRE/2007-06-12-NoExit.ll
test/Transforms/GVNPRE/2007-06-12-PhiTranslate.ll
test/Transforms/GVNPRE/2007-06-15-InvokeInst.ll
test/Transforms/GVNPRE/2007-06-15-Looping.ll
test/Transforms/GVNPRE/2007-06-18-ConstantInPhi.ll
test/Transforms/GVNPRE/2007-06-18-EraseNumbering.ll
test/Transforms/GVNPRE/2007-07-03-PhiTranslateGEP.ll
test/Transforms/GVNPRE/2007-07-04-CleanSelect.ll
test/Transforms/GVNPRE/2007-07-04-SelectInst.ll
test/Transforms/GVNPRE/2007-07-05-AvailabilityUpdating.ll
test/Transforms/GVNPRE/2007-07-07-AnticOutUnique.ll
test/Transforms/GVNPRE/basic.ll
test/Transforms/GVNPRE/cast.ll
test/Transforms/GVNPRE/extractelement.ll
test/Transforms/GVNPRE/gep.ll
test/Transforms/GVNPRE/insertelement.ll
test/Transforms/GVNPRE/select.ll
test/Transforms/GVNPRE/shufflevector.ll
test/Transforms/GlobalDCE/2002-07-17-CastRef.ll
test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll
test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll
test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll
test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll
test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
test/Transforms/GlobalDCE/2009-01-05-DeadAliases.ll
test/Transforms/GlobalDCE/2009-02-17-AliasUsesAliasee.ll
test/Transforms/GlobalDCE/2009-09-03-MDNode.ll
test/Transforms/GlobalDCE/basicvariabletest.ll
test/Transforms/GlobalDCE/externally_available.ll
test/Transforms/GlobalOpt/2004-10-10-CastStoreOnce.ll
test/Transforms/GlobalOpt/2005-06-15-LocalizeConstExprCrash.ll
test/Transforms/GlobalOpt/2005-09-27-Crash.ll
test/Transforms/GlobalOpt/2006-07-07-InlineAsmCrash.ll
test/Transforms/GlobalOpt/2006-11-01-ShrinkGlobalPhiCrash.ll
test/Transforms/GlobalOpt/2007-04-05-Crash.ll
test/Transforms/GlobalOpt/2007-05-13-Crash.ll
test/Transforms/GlobalOpt/2007-06-04-PackedStruct.ll
test/Transforms/GlobalOpt/2007-11-09-GEP-GEP-Crash.ll
test/Transforms/GlobalOpt/2008-01-03-Crash.ll
test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll
test/Transforms/GlobalOpt/2008-01-29-VolatileGlobal.ll
test/Transforms/GlobalOpt/2008-02-16-NestAttr.ll
test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll
test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash-2.ll
test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash.ll
test/Transforms/GlobalOpt/2009-01-13-phi-user.ll
test/Transforms/GlobalOpt/2009-02-15-BitcastAlias.ll
test/Transforms/GlobalOpt/2009-02-15-ResolveAlias.ll
test/Transforms/GlobalOpt/2009-03-03-dbg.ll
test/Transforms/GlobalOpt/2009-03-05-dbg.ll
test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
test/Transforms/GlobalOpt/2009-03-07-PromotePtrToBool.ll
test/Transforms/GlobalOpt/2009-06-01-RecursivePHI.ll
test/Transforms/GlobalOpt/alias-resolve.ll
test/Transforms/GlobalOpt/basictest.ll
test/Transforms/GlobalOpt/constantexpr-dangle.ll
test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
test/Transforms/GlobalOpt/ctor-list-opt-inbounds.ll
test/Transforms/GlobalOpt/ctor-list-opt.ll
test/Transforms/GlobalOpt/deadglobal-2.ll
test/Transforms/GlobalOpt/deadglobal.ll
test/Transforms/GlobalOpt/globalsra-partial.ll
test/Transforms/GlobalOpt/globalsra-unknown-index.ll
test/Transforms/GlobalOpt/heap-sra-1.ll
test/Transforms/GlobalOpt/heap-sra-2.ll
test/Transforms/GlobalOpt/heap-sra-phi.ll
test/Transforms/GlobalOpt/integer-bool.ll
test/Transforms/GlobalOpt/iterate.ll
test/Transforms/GlobalOpt/malloc-promote-1.ll
test/Transforms/GlobalOpt/memcpy.ll
test/Transforms/GlobalOpt/memset.ll
test/Transforms/GlobalOpt/phi-select.ll
test/Transforms/GlobalOpt/storepointer-compare.ll
test/Transforms/GlobalOpt/storepointer.ll
test/Transforms/GlobalOpt/undef-init.ll
test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
test/Transforms/IPConstantProp/deadarg.ll
test/Transforms/IPConstantProp/recursion.ll
test/Transforms/IPConstantProp/return-argument.ll
test/Transforms/IPConstantProp/return-constant.ll
test/Transforms/IPConstantProp/return-constants.ll
test/Transforms/IndMemRem/2009-01-24-Noalias.ll
test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll
test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll
test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll
test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll
test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll
test/Transforms/IndVarSimplify/2003-12-15-Crash.ll
test/Transforms/IndVarSimplify/2003-12-21-IndVarSize.ll
test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll
test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll
test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll
test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll
test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll
test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll
test/Transforms/IndVarSimplify/2005-11-18-Crash.ll
test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll
test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll
test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll
test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll
test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll
test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll
test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll
test/Transforms/IndVarSimplify/2008-09-02-IVType.ll
test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll
test/Transforms/IndVarSimplify/2008-11-03-Floating.ll
test/Transforms/IndVarSimplify/2008-11-17-Floating.ll
test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll
test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll
test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll
test/Transforms/IndVarSimplify/2009-04-22-IndvarCrash.ll
test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
test/Transforms/IndVarSimplify/2009-05-24-useafterfree.ll
test/Transforms/IndVarSimplify/ada-loops.ll
test/Transforms/IndVarSimplify/addrec-gep.ll
test/Transforms/IndVarSimplify/ashr-tripcount.ll
test/Transforms/IndVarSimplify/avoid-i0.ll
test/Transforms/IndVarSimplify/casted-argument.ll
test/Transforms/IndVarSimplify/complex-scev.ll
test/Transforms/IndVarSimplify/divide-pointer.ll
test/Transforms/IndVarSimplify/exit_value_tests.ll
test/Transforms/IndVarSimplify/interesting-invoke-use.ll
test/Transforms/IndVarSimplify/iterationCount_zext_or_trunc.ll
test/Transforms/IndVarSimplify/iv-sext.ll
test/Transforms/IndVarSimplify/lftr-other-uses.ll
test/Transforms/IndVarSimplify/lftr-promote.ll
test/Transforms/IndVarSimplify/lftr_simple.ll
test/Transforms/IndVarSimplify/loop-invariant-step.ll
test/Transforms/IndVarSimplify/loop_evaluate10.ll
test/Transforms/IndVarSimplify/loop_evaluate11.ll
test/Transforms/IndVarSimplify/loop_evaluate7.ll
test/Transforms/IndVarSimplify/loop_evaluate8.ll
test/Transforms/IndVarSimplify/loop_evaluate9.ll
test/Transforms/IndVarSimplify/loop_evaluate_1.ll
test/Transforms/IndVarSimplify/loop_evaluate_2.ll
test/Transforms/IndVarSimplify/loop_evaluate_3.ll
test/Transforms/IndVarSimplify/loop_evaluate_4.ll
test/Transforms/IndVarSimplify/loop_evaluate_5.ll
test/Transforms/IndVarSimplify/loop_evaluate_6.ll
test/Transforms/IndVarSimplify/max-pointer.ll
test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll
test/Transforms/IndVarSimplify/pointer-indvars.ll
test/Transforms/IndVarSimplify/pointer.ll
test/Transforms/IndVarSimplify/preserve-gep-nested.ll
test/Transforms/IndVarSimplify/preserve-gep-remainder.ll
test/Transforms/IndVarSimplify/preserve-gep.ll
test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
test/Transforms/IndVarSimplify/shrunk-constant.ll
test/Transforms/IndVarSimplify/signed-trip-count.ll
test/Transforms/IndVarSimplify/single-element-range.ll
test/Transforms/IndVarSimplify/sink-alloca.ll
test/Transforms/IndVarSimplify/sink-trapping.ll
test/Transforms/IndVarSimplify/subtract.ll
test/Transforms/IndVarSimplify/tripcount_compute.ll
test/Transforms/IndVarSimplify/tripcount_infinite.ll
test/Transforms/IndVarSimplify/variable-stride-ivs-0.ll
test/Transforms/IndVarSimplify/variable-stride-ivs-1.ll
test/Transforms/Inline/2003-09-14-InlineValue.ll
test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll
test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll
test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll
test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll
test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll
test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll
test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll
test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll
test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll
test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll
test/Transforms/Inline/2007-04-15-InlineEH.ll
test/Transforms/Inline/2007-06-06-NoInline.ll
test/Transforms/Inline/2007-06-25-WeakInline.ll
test/Transforms/Inline/2008-03-04-StructRet.ll
test/Transforms/Inline/2008-03-07-Inline-2.ll
test/Transforms/Inline/2008-03-07-Inline.ll
test/Transforms/Inline/2008-09-02-AlwaysInline.ll
test/Transforms/Inline/2008-09-02-NoInline.ll
test/Transforms/Inline/2008-10-30-AlwaysInline.ll
test/Transforms/Inline/2008-11-04-AlwaysInline.ll
test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll
test/Transforms/Inline/2009-01-12-RecursiveInline.ll
test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll
test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll
test/Transforms/Inline/alloca-in-scc.ll
test/Transforms/Inline/always_inline_dyn_alloca.ll
test/Transforms/Inline/array_merge.ll
test/Transforms/Inline/basictest.ll
test/Transforms/Inline/byval.ll
test/Transforms/Inline/byval2.ll
test/Transforms/Inline/callgraph-update.ll
test/Transforms/Inline/casts.ll
test/Transforms/Inline/cfg_preserve_test.ll
test/Transforms/Inline/crash.ll
test/Transforms/Inline/dynamic_alloca_test.ll
test/Transforms/Inline/externally_available.ll
test/Transforms/Inline/indirect_resolve.ll
test/Transforms/Inline/inline-invoke-tail.ll
test/Transforms/Inline/inline_cleanup.ll
test/Transforms/Inline/inline_constprop.ll
test/Transforms/Inline/inline_dce.ll
test/Transforms/Inline/inline_prune.ll
test/Transforms/Inline/invoke_test-1.ll
test/Transforms/Inline/invoke_test-2.ll
test/Transforms/Inline/invoke_test-3.ll
test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll
test/Transforms/InstCombine/2002-05-14-SubFailure.ll
test/Transforms/InstCombine/2002-08-02-CastTest.ll
test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll
test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll
test/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll
test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll
test/Transforms/InstCombine/2003-08-12-AllocaNonNull.ll
test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll
test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll
test/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll
test/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll
test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll
test/Transforms/InstCombine/2004-02-23-ShiftShiftOverflow.ll
test/Transforms/InstCombine/2004-03-13-InstCombineInfLoop.ll
test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll
test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll
test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll
test/Transforms/InstCombine/2004-08-09-RemInfLoop.ll
test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
test/Transforms/InstCombine/2004-09-20-BadLoadCombine.ll
test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll
test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll
test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll
test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll
test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll
test/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll
test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll
test/Transforms/InstCombine/2005-06-16-RangeCrash.ll
test/Transforms/InstCombine/2005-06-16-SetCCOrSetCCMiscompile.ll
test/Transforms/InstCombine/2005-07-07-DeadPHILoop.ll
test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll
test/Transforms/InstCombine/2006-02-28-Crash.ll
test/Transforms/InstCombine/2006-03-30-ExtractElement.ll
test/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll
test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll
test/Transforms/InstCombine/2006-09-15-CastToBool.ll
test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll
test/Transforms/InstCombine/2006-11-03-Memmove64.ll
test/Transforms/InstCombine/2006-11-10-ashr-miscompile.ll
test/Transforms/InstCombine/2006-11-27-XorBug.ll
test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll
test/Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll
test/Transforms/InstCombine/2006-12-08-ICmp-Combining.ll
test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll
test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll
test/Transforms/InstCombine/2006-12-15-Range-Test.ll
test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll
test/Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll
test/Transforms/InstCombine/2007-01-14-FcmpSelf.ll
test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll
test/Transforms/InstCombine/2007-01-27-AndICmp.ll
test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll
test/Transforms/InstCombine/2007-02-07-PointerCast.ll
test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll
test/Transforms/InstCombine/2007-03-13-CompareMerge.ll
test/Transforms/InstCombine/2007-03-25-BadShiftMask.ll
test/Transforms/InstCombine/2007-03-25-DoubleShift.ll
test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll
test/Transforms/InstCombine/2007-03-27-PR1280.ll
test/Transforms/InstCombine/2007-04-04-BadFoldBitcastIntoMalloc.ll
test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll
test/Transforms/InstCombine/2007-05-04-Crash.ll
test/Transforms/InstCombine/2007-05-10-icmp-or.ll
test/Transforms/InstCombine/2007-05-14-Crash.ll
test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll
test/Transforms/InstCombine/2007-06-06-AshrSignBit.ll
test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll
test/Transforms/InstCombine/2007-08-02-InfiniteLoop.ll
test/Transforms/InstCombine/2007-09-10-AliasConstFold.ll
test/Transforms/InstCombine/2007-09-11-Trampoline.ll
test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll
test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll
test/Transforms/InstCombine/2007-10-12-Crash.ll
test/Transforms/InstCombine/2007-10-28-stacksave.ll
test/Transforms/InstCombine/2007-10-31-RangeCrash.ll
test/Transforms/InstCombine/2007-10-31-StringCrash.ll
test/Transforms/InstCombine/2007-11-07-OpaqueAlignCrash.ll
test/Transforms/InstCombine/2007-11-15-CompareMiscomp.ll
test/Transforms/InstCombine/2007-11-22-IcmpCrash.ll
test/Transforms/InstCombine/2007-11-25-CompatibleAttributes.ll
test/Transforms/InstCombine/2007-12-10-ConstFoldCompare.ll
test/Transforms/InstCombine/2007-12-12-GEPScale.ll
test/Transforms/InstCombine/2007-12-16-AsmNoUnwind.ll
test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
test/Transforms/InstCombine/2007-12-28-IcmpSub2.ll
test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
test/Transforms/InstCombine/2008-01-06-CastCrash.ll
test/Transforms/InstCombine/2008-01-06-VoidCast.ll
test/Transforms/InstCombine/2008-01-13-AndCmpCmp.ll
test/Transforms/InstCombine/2008-01-13-NoBitCastAttributes.ll
test/Transforms/InstCombine/2008-01-14-DoubleNest.ll
test/Transforms/InstCombine/2008-01-14-VarArgTrampoline.ll
test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll
test/Transforms/InstCombine/2008-01-21-MulTrunc.ll
test/Transforms/InstCombine/2008-01-27-FloatSelect.ll
test/Transforms/InstCombine/2008-01-29-AddICmp.ll
test/Transforms/InstCombine/2008-02-13-MulURem.ll
test/Transforms/InstCombine/2008-02-16-SDivOverflow.ll
test/Transforms/InstCombine/2008-02-16-SDivOverflow2.ll
test/Transforms/InstCombine/2008-02-23-MulSub.ll
test/Transforms/InstCombine/2008-02-28-OrFCmpCrash.ll
test/Transforms/InstCombine/2008-03-13-IntToPtr.ll
test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll
test/Transforms/InstCombine/2008-04-28-VolatileStore.ll
test/Transforms/InstCombine/2008-04-29-VolatileLoadDontMerge.ll
test/Transforms/InstCombine/2008-04-29-VolatileLoadMerge.ll
test/Transforms/InstCombine/2008-05-08-LiveStoreDelete.ll
test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll
test/Transforms/InstCombine/2008-05-17-InfLoop.ll
test/Transforms/InstCombine/2008-05-18-FoldIntToPtr.ll
test/Transforms/InstCombine/2008-05-22-IDivVector.ll
test/Transforms/InstCombine/2008-05-22-NegValVector.ll
test/Transforms/InstCombine/2008-05-23-CompareFold.ll
test/Transforms/InstCombine/2008-05-31-AddBool.ll
test/Transforms/InstCombine/2008-05-31-Bools.ll
test/Transforms/InstCombine/2008-06-05-ashr-crash.ll
test/Transforms/InstCombine/2008-06-08-ICmpPHI.ll
test/Transforms/InstCombine/2008-06-13-InfiniteLoopStore.ll
test/Transforms/InstCombine/2008-06-13-ReadOnlyCallStore.ll
test/Transforms/InstCombine/2008-06-19-UncondLoad.ll
test/Transforms/InstCombine/2008-06-21-CompareMiscomp.ll
test/Transforms/InstCombine/2008-06-24-StackRestore.ll
test/Transforms/InstCombine/2008-07-08-AndICmp.ll
test/Transforms/InstCombine/2008-07-08-ShiftOneAndOne.ll
test/Transforms/InstCombine/2008-07-08-SubAnd.ll
test/Transforms/InstCombine/2008-07-08-VolatileLoadMerge.ll
test/Transforms/InstCombine/2008-07-09-SubAndError.ll
test/Transforms/InstCombine/2008-07-10-CastSextBool.ll
test/Transforms/InstCombine/2008-07-10-ICmpBinOp.ll
test/Transforms/InstCombine/2008-07-11-RemAnd.ll
test/Transforms/InstCombine/2008-07-13-DivZero.ll
test/Transforms/InstCombine/2008-07-16-fsub.ll
test/Transforms/InstCombine/2008-07-16-sse2_storel_dq.ll
test/Transforms/InstCombine/2008-08-17-ICmpXorSignbit.ll
test/Transforms/InstCombine/2008-09-02-VectorCrash.ll
test/Transforms/InstCombine/2008-09-29-FoldingOr.ll
test/Transforms/InstCombine/2008-10-11-DivCompareFold.ll
test/Transforms/InstCombine/2008-10-23-ConstFoldWithoutMask.ll
test/Transforms/InstCombine/2008-11-01-SRemDemandedBits.ll
test/Transforms/InstCombine/2008-11-08-FCmp.ll
test/Transforms/InstCombine/2008-11-20-DivMulRem.ll
test/Transforms/InstCombine/2008-11-27-IDivVector.ll
test/Transforms/InstCombine/2008-11-27-MultiplyIntVec.ll
test/Transforms/InstCombine/2008-11-27-UDivNegative.ll
test/Transforms/InstCombine/2008-12-17-SRemNegConstVec.ll
test/Transforms/InstCombine/2009-01-05-i128-crash.ll
test/Transforms/InstCombine/2009-01-08-AlignAlloca.ll
test/Transforms/InstCombine/2009-01-16-PointerAddrSpace.ll
test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
test/Transforms/InstCombine/2009-01-19-fmod-constant-float.ll
test/Transforms/InstCombine/2009-01-24-EmptyStruct.ll
test/Transforms/InstCombine/2009-01-31-InfIterate.ll
test/Transforms/InstCombine/2009-01-31-Pressure.ll
test/Transforms/InstCombine/2009-02-04-FPBitcast.ll
test/Transforms/InstCombine/2009-02-20-InstCombine-SROA.ll
test/Transforms/InstCombine/2009-02-21-LoadCST.ll
test/Transforms/InstCombine/2009-02-25-CrashZeroSizeArray.ll
test/Transforms/InstCombine/2009-03-18-vector-ashr-crash.ll
test/Transforms/InstCombine/2009-03-20-AShrOverShift.ll
test/Transforms/InstCombine/2009-03-24-InfLoop.ll
test/Transforms/InstCombine/2009-04-07-MulPromoteToI96.ll
test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll
test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll
test/Transforms/InstCombine/2009-06-16-SRemDemandedBits.ll
test/Transforms/InstCombine/2009-07-02-MaskedIntVector.ll
test/Transforms/InstCombine/CPP_min_max.ll
test/Transforms/InstCombine/IntPtrCast.ll
test/Transforms/InstCombine/JavaCompare.ll
test/Transforms/InstCombine/add-shrink.ll
test/Transforms/InstCombine/add-sitofp.ll
test/Transforms/InstCombine/add3.ll
test/Transforms/InstCombine/addnegneg.ll
test/Transforms/InstCombine/adjust-for-sminmax.ll
test/Transforms/InstCombine/align-2d-gep.ll
test/Transforms/InstCombine/align-addr.ll
test/Transforms/InstCombine/align-external.ll
test/Transforms/InstCombine/align-inc.ll
test/Transforms/InstCombine/and-or-and.ll
test/Transforms/InstCombine/and-or.ll
test/Transforms/InstCombine/apint-and-or-and.ll
test/Transforms/InstCombine/apint-and1.ll
test/Transforms/InstCombine/apint-and2.ll
test/Transforms/InstCombine/apint-call-cast-target.ll
test/Transforms/InstCombine/apint-cast-and-cast.ll
test/Transforms/InstCombine/apint-cast-cast-to-and.ll
test/Transforms/InstCombine/apint-elim-logicalops.ll
test/Transforms/InstCombine/apint-not.ll
test/Transforms/InstCombine/apint-shl-trunc.ll
test/Transforms/InstCombine/apint-xor1.ll
test/Transforms/InstCombine/apint-xor2.ll
test/Transforms/InstCombine/apint-zext1.ll
test/Transforms/InstCombine/apint-zext2.ll
test/Transforms/InstCombine/bit-tracking.ll
test/Transforms/InstCombine/bitcast-scalar-to-vector.ll
test/Transforms/InstCombine/bitcast-vec-canon.ll
test/Transforms/InstCombine/bitcount.ll
test/Transforms/InstCombine/bittest.ll
test/Transforms/InstCombine/bswap-fold.ll
test/Transforms/InstCombine/bswap.ll
test/Transforms/InstCombine/call-cast-target.ll
test/Transforms/InstCombine/call-intrinsics.ll
test/Transforms/InstCombine/call.ll
test/Transforms/InstCombine/call2.ll
test/Transforms/InstCombine/canonicalize_branch.ll
test/Transforms/InstCombine/cast-and-cast.ll
test/Transforms/InstCombine/cast-cast-to-and.ll
test/Transforms/InstCombine/cast-load-gep.ll
test/Transforms/InstCombine/cast-malloc.ll
test/Transforms/InstCombine/cast-propagate.ll
test/Transforms/InstCombine/cast-sext-zext.ll
test/Transforms/InstCombine/cast.ll
test/Transforms/InstCombine/cast3.ll
test/Transforms/InstCombine/cast_ld_addr_space.ll
test/Transforms/InstCombine/cast_ptr.ll
test/Transforms/InstCombine/constant-fold-gep.ll
test/Transforms/InstCombine/constant-fold-ptr-casts.ll
test/Transforms/InstCombine/dce-iterate.ll
test/Transforms/InstCombine/deadcode.ll
test/Transforms/InstCombine/div-cmp-overflow.ll
test/Transforms/InstCombine/enforce-known-alignment.ll
test/Transforms/InstCombine/exact-sdiv.ll
test/Transforms/InstCombine/fold-bin-operand.ll
test/Transforms/InstCombine/fold-vector-zero.ll
test/Transforms/InstCombine/fp-ret-bitcast.ll
test/Transforms/InstCombine/getelementptr.ll
test/Transforms/InstCombine/hoist_instr.ll
test/Transforms/InstCombine/known_align.ll
test/Transforms/InstCombine/loadstore-alignment.ll
test/Transforms/InstCombine/malloc.ll
test/Transforms/InstCombine/malloc3.ll
test/Transforms/InstCombine/memcpy-to-load.ll
test/Transforms/InstCombine/memmove.ll
test/Transforms/InstCombine/memset.ll
test/Transforms/InstCombine/mul-masked-bits.ll
test/Transforms/InstCombine/multi-use-or.ll
test/Transforms/InstCombine/narrow.ll
test/Transforms/InstCombine/not-fcmp.ll
test/Transforms/InstCombine/not.ll
test/Transforms/InstCombine/nothrow.ll
test/Transforms/InstCombine/nsw.ll
test/Transforms/InstCombine/odr-linkage.ll
test/Transforms/InstCombine/or.ll
test/Transforms/InstCombine/or2.ll
test/Transforms/InstCombine/phi-merge.ll
test/Transforms/InstCombine/pr2645-0.ll
test/Transforms/InstCombine/pr2645-1.ll
test/Transforms/InstCombine/pr2996.ll
test/Transforms/InstCombine/preserve-sminmax.ll
test/Transforms/InstCombine/ptr-int-cast.ll
test/Transforms/InstCombine/sdiv-1.ll
test/Transforms/InstCombine/sdiv-2.ll
test/Transforms/InstCombine/select-load-call.ll
test/Transforms/InstCombine/set.ll
test/Transforms/InstCombine/setcc-cast-cast.ll
test/Transforms/InstCombine/setcc-strength-reduce.ll
test/Transforms/InstCombine/shift-sra.ll
test/Transforms/InstCombine/shift-trunc-shift.ll
test/Transforms/InstCombine/shl-icmp.ll
test/Transforms/InstCombine/shl-trunc.ll
test/Transforms/InstCombine/shufflemask-undef.ll
test/Transforms/InstCombine/shufflevec-constant.ll
test/Transforms/InstCombine/signed-comparison.ll
test/Transforms/InstCombine/signext.ll
test/Transforms/InstCombine/simplify-demanded-bits-pointer.ll
test/Transforms/InstCombine/srem-simplify-bug.ll
test/Transforms/InstCombine/srem.ll
test/Transforms/InstCombine/srem1.ll
test/Transforms/InstCombine/stack-overalign.ll
test/Transforms/InstCombine/stacksaverestore.ll
test/Transforms/InstCombine/store-merge.ll
test/Transforms/InstCombine/trunc-mask-ext.ll
test/Transforms/InstCombine/udiv-simplify-bug-0.ll
test/Transforms/InstCombine/udivrem-change-width.ll
test/Transforms/InstCombine/urem-simplify-bug.ll
test/Transforms/InstCombine/urem.ll
test/Transforms/InstCombine/vec_demanded_elts-2.ll
test/Transforms/InstCombine/vec_demanded_elts-3.ll
test/Transforms/InstCombine/vec_demanded_elts.ll
test/Transforms/InstCombine/vec_extract_elt.ll
test/Transforms/InstCombine/vec_insert_to_shuffle.ll
test/Transforms/InstCombine/vec_insertelt.ll
test/Transforms/InstCombine/vec_narrow.ll
test/Transforms/InstCombine/vec_shuffle.ll
test/Transforms/InstCombine/vec_shuffle2.ll
test/Transforms/InstCombine/vector-casts.ll
test/Transforms/InstCombine/vector-srem.ll
test/Transforms/InstCombine/volatile_store.ll
test/Transforms/InstCombine/xor-demorgans.ll
test/Transforms/InstCombine/xor-undef.ll
test/Transforms/InstCombine/xor.ll
test/Transforms/InstCombine/xor2.ll
test/Transforms/InstCombine/zero-point-zero-add.ll
test/Transforms/InstCombine/zeroext-and-reduce.ll
test/Transforms/InstCombine/zext-fold.ll
test/Transforms/InstCombine/zext.ll
test/Transforms/Internalize/2008-05-09-AllButMain.ll
test/Transforms/Internalize/2009-01-05-InternalizeAliases.ll
test/Transforms/JumpThreading/2008-04-24-InfLoop.ll
test/Transforms/JumpThreading/2008-05-05-MRV-Crash.ll
test/Transforms/JumpThreading/2008-11-28-InfLoop.ll
test/Transforms/JumpThreading/2009-01-08-DeadLoopRepl.ll
test/Transforms/JumpThreading/2009-01-19-InfSwitchLoop.ll
test/Transforms/JumpThreading/and-and-cond.ll
test/Transforms/JumpThreading/and-cond.ll
test/Transforms/JumpThreading/basic.ll
test/Transforms/JumpThreading/branch-no-const.ll
test/Transforms/JumpThreading/compare.ll
test/Transforms/JumpThreading/dup-cond.ll
test/Transforms/JumpThreading/no-irreducible-loops.ll
test/Transforms/JumpThreading/thread-loads.ll
test/Transforms/JumpThreading/undef.ll
test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll
test/Transforms/LCSSA/2006-06-12-MultipleExitsSameBlock.ll
test/Transforms/LCSSA/2006-07-09-NoDominator.ll
test/Transforms/LCSSA/2006-10-31-UnreachableBlock-2.ll
test/Transforms/LCSSA/2006-10-31-UnreachableBlock.ll
test/Transforms/LCSSA/2007-07-12-LICM-2.ll
test/Transforms/LCSSA/2007-07-12-LICM-3.ll
test/Transforms/LCSSA/2007-07-12-LICM.ll
test/Transforms/LCSSA/basictest.ll
test/Transforms/LCSSA/invoke-dest.ll
test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll
test/Transforms/LICM/2003-02-27-NestedLoopExitBlocks.ll
test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll
test/Transforms/LICM/2003-02-27-PreheaderProblem.ll
test/Transforms/LICM/2003-02-27-StoreSinkPHIs.ll
test/Transforms/LICM/2003-02-28-PromoteDifferentType.ll
test/Transforms/LICM/2003-05-02-LoadHoist.ll
test/Transforms/LICM/2003-12-11-SinkingToPHI.ll
test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.ll
test/Transforms/LICM/2004-11-17-UndefIndexCrash.ll
test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll
test/Transforms/LICM/2006-09-12-DeadUserOfSunkInstr.ll
test/Transforms/LICM/2007-05-22-VolatileSink.ll
test/Transforms/LICM/2007-07-30-AliasSet.ll
test/Transforms/LICM/2007-09-17-PromoteValue.ll
test/Transforms/LICM/2007-09-24-PromoteNullValue.ll
test/Transforms/LICM/2007-10-01-PromoteSafeValue.ll
test/Transforms/LICM/2008-05-20-AliasSetVAArg.ll
test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll
test/Transforms/LICM/2009-03-25-AliasSetTracker.ll
test/Transforms/LICM/Preserve-LCSSA.ll
test/Transforms/LICM/basictest.ll
test/Transforms/LICM/hoisting.ll
test/Transforms/LICM/no-preheader-test.ll
test/Transforms/LICM/scalar_promote.ll
test/Transforms/LICM/sinking.ll
test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll
test/Transforms/LoopDeletion/2008-05-06-Phi.ll
test/Transforms/LoopIndexSplit/2007-09-21-LoopBound.ll
test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll
test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll
test/Transforms/LoopIndexSplit/2008-01-28-IndDecrement.ll
test/Transforms/LoopIndexSplit/2008-02-08-Crash.ll
test/Transforms/LoopIndexSplit/2008-02-13-ExitValueNum.ll
test/Transforms/LoopIndexSplit/2008-02-13-LoopLatch.ll
test/Transforms/LoopIndexSplit/2008-02-13-LoopLatchPHI.ll
test/Transforms/LoopIndexSplit/2008-02-14-Crash.ll
test/Transforms/LoopIndexSplit/2008-03-24-ExitPhi.ll
test/Transforms/LoopIndexSplit/2008-05-19-IndVar.ll
test/Transforms/LoopIndexSplit/2008-06-03-DomFrontier.ll
test/Transforms/LoopIndexSplit/2008-07-08-MisCompilation.ll
test/Transforms/LoopIndexSplit/2008-09-17-IVUse.ll
test/Transforms/LoopIndexSplit/2008-09-20-Crash.ll
test/Transforms/LoopIndexSplit/2008-10-06-Crash.ll
test/Transforms/LoopIndexSplit/2008-10-10-OneIteration.ll
test/Transforms/LoopIndexSplit/2008-11-10-Sign.ll
test/Transforms/LoopIndexSplit/2009-03-02-UpdateIterationSpace-crash.ll
test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll
test/Transforms/LoopIndexSplit/Crash-2007-12-03.ll
test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll
test/Transforms/LoopIndexSplit/ExitCondition-2007-09-10.ll
test/Transforms/LoopIndexSplit/OneIterLoop-2007-08-17.ll
test/Transforms/LoopIndexSplit/OneIterLoop2-2007-08-17.ll
test/Transforms/LoopIndexSplit/OneIterLoop3-2007-08-17.ll
test/Transforms/LoopIndexSplit/PR3913.ll
test/Transforms/LoopIndexSplit/SaveLastValue-2007-08-17.ll
test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
test/Transforms/LoopIndexSplit/SplitValue-2007-08-24.ll
test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll
test/Transforms/LoopIndexSplit/non-iv-cmp-operand.ll
test/Transforms/LoopRotate/2009-01-25-SingleEntryPhi.ll
test/Transforms/LoopRotate/LRCrash-1.ll
test/Transforms/LoopRotate/LRCrash-2.ll
test/Transforms/LoopRotate/LRCrash-3.ll
test/Transforms/LoopRotate/LRCrash-4.ll
test/Transforms/LoopRotate/LRCrash-5.ll
test/Transforms/LoopRotate/PhiRename-1.ll
test/Transforms/LoopRotate/PhiSelfRefernce-1.ll
test/Transforms/LoopRotate/pr2639.ll
test/Transforms/LoopSimplify/2003-04-25-AssertFail.ll
test/Transforms/LoopSimplify/2003-05-12-PreheaderExitOfChild.ll
test/Transforms/LoopSimplify/2003-08-15-PreheadersFail.ll
test/Transforms/LoopSimplify/2003-12-10-ExitBlocksProblem.ll
test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll
test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll
test/Transforms/LoopSimplify/2004-04-01-IncorrectDomUpdate.ll
test/Transforms/LoopSimplify/2004-04-12-LoopSimplify-SwitchBackedges.ll
test/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll
test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll
test/Transforms/LoopSimplify/basictest.ll
test/Transforms/LoopSimplify/hardertest.ll
test/Transforms/LoopSimplify/merge-exits.ll
test/Transforms/LoopSimplify/single-backedge.ll
test/Transforms/LoopStrengthReduce/2005-08-15-AddRecIV.ll
test/Transforms/LoopStrengthReduce/2005-08-17-OutOfLoopVariant.ll
test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll
test/Transforms/LoopStrengthReduce/2007-04-23-UseIterator.ll
test/Transforms/LoopStrengthReduce/2008-08-06-CmpStride.ll
test/Transforms/LoopStrengthReduce/2008-08-13-CmpStride.ll
test/Transforms/LoopStrengthReduce/2008-08-14-ShadowIV.ll
test/Transforms/LoopStrengthReduce/2008-09-09-Overflow.ll
test/Transforms/LoopStrengthReduce/2009-01-13-nonconstant-stride-outside-loop.ll
test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll
test/Transforms/LoopStrengthReduce/different-type-ivs.ll
test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll
test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll
test/Transforms/LoopStrengthReduce/dont_reduce_bytes.ll
test/Transforms/LoopStrengthReduce/dont_reverse.ll
test/Transforms/LoopStrengthReduce/invariant_value_first.ll
test/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll
test/Transforms/LoopStrengthReduce/nested-reduce.ll
test/Transforms/LoopStrengthReduce/ops_after_indvar.ll
test/Transforms/LoopStrengthReduce/phi_node_update_multiple_preds.ll
test/Transforms/LoopStrengthReduce/pr2537.ll
test/Transforms/LoopStrengthReduce/pr2570.ll
test/Transforms/LoopStrengthReduce/pr3086.ll
test/Transforms/LoopStrengthReduce/pr3399.ll
test/Transforms/LoopStrengthReduce/pr3571.ll
test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll
test/Transforms/LoopStrengthReduce/related_indvars.ll
test/Transforms/LoopStrengthReduce/remove_indvar.ll
test/Transforms/LoopStrengthReduce/share_code_in_preheader.ll
test/Transforms/LoopStrengthReduce/share_ivs.ll
test/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll
test/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll
test/Transforms/LoopStrengthReduce/variable_stride.ll
test/Transforms/LoopUnroll/2004-05-13-DontUnrollTooMuch.ll
test/Transforms/LoopUnroll/2005-03-06-BadLoopInfoUpdate.ll
test/Transforms/LoopUnroll/2006-08-24-MultiBlockLoop.ll
test/Transforms/LoopUnroll/2007-04-16-PhiUpdate.ll
test/Transforms/LoopUnroll/2007-05-05-UnrollMiscomp.ll
test/Transforms/LoopUnroll/2007-05-09-UnknownTripCount.ll
test/Transforms/LoopUnroll/2007-11-05-Crash.ll
test/Transforms/LoopUnswitch/2006-02-14-LoopSimplifyCrash.ll
test/Transforms/LoopUnswitch/2006-02-22-UnswitchCrash.ll
test/Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll
test/Transforms/LoopUnswitch/2006-06-27-DeadSwitchCase.ll
test/Transforms/LoopUnswitch/2007-05-09-Unreachable.ll
test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll
test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll
test/Transforms/LoopUnswitch/2007-07-18-DomInfo.ll
test/Transforms/LoopUnswitch/2007-08-01-Dom.ll
test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll
test/Transforms/LoopUnswitch/2007-10-04-DomFrontier.ll
test/Transforms/LoopUnswitch/2008-06-02-DomInfo.ll
test/Transforms/LoopUnswitch/2008-06-17-DomFrontier.ll
test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll
test/Transforms/LoopUnswitch/basictest.ll
test/Transforms/LowerInvoke/2003-12-10-Crash.ll
test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll
test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll
test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHIUse.ll
test/Transforms/LowerInvoke/2008-02-14-CritEdgePhiCrash.ll
test/Transforms/LowerInvoke/basictest.ll
test/Transforms/LowerSetJmp/2003-11-05-DominanceProperties.ll
test/Transforms/LowerSetJmp/simpletest.ll
test/Transforms/LowerSwitch/2003-05-01-PHIProblem.ll
test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll
test/Transforms/LowerSwitch/2004-03-13-SwitchIsDefaultCrash.ll
test/Transforms/Mem2Reg/2002-03-28-UninitializedVal.ll
test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll
test/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll
test/Transforms/Mem2Reg/2003-04-18-DeadBlockProblem.ll
test/Transforms/Mem2Reg/2003-04-24-MultipleIdenticalSuccessors.ll
test/Transforms/Mem2Reg/2003-06-26-IterativePromote.ll
test/Transforms/Mem2Reg/2003-10-05-DeadPHIInsertion.ll
test/Transforms/Mem2Reg/2005-06-30-ReadBeforeWrite.ll
test/Transforms/Mem2Reg/2005-11-28-Crash.ll
test/Transforms/Mem2Reg/2007-08-27-VolatileLoadsStores.ll
test/Transforms/Mem2Reg/PromoteMemToRegister.ll
test/Transforms/Mem2Reg/UndefValuesMerge.ll
test/Transforms/MemCpyOpt/2008-02-24-MultipleUseofSRet.ll
test/Transforms/MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll
test/Transforms/MemCpyOpt/2008-04-29-SRetRemoval.ll
test/Transforms/MemCpyOpt/crash.ll
test/Transforms/MemCpyOpt/form-memset.ll
test/Transforms/MemCpyOpt/form-memset2.ll
test/Transforms/MemCpyOpt/memcpy.ll
test/Transforms/MemCpyOpt/memmove.ll
test/Transforms/MemCpyOpt/sret.ll
test/Transforms/MergeFunc/fold-weak.ll
test/Transforms/MergeFunc/phi-speculation1.ll
test/Transforms/MergeFunc/phi-speculation2.ll
test/Transforms/PredicateSimplifier/2006-08-02-Switch.ll
test/Transforms/PredicateSimplifier/2006-08-07-LeaderOffByOne.ll
test/Transforms/PredicateSimplifier/2006-09-20-ResolveCycle.ll
test/Transforms/PredicateSimplifier/2006-09-20-SetCC.ll
test/Transforms/PredicateSimplifier/2006-11-04-ImpossibleGT.ll
test/Transforms/PredicateSimplifier/2006-11-04-ReplacingZeros.ll
test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
test/Transforms/PredicateSimplifier/2006-11-11-Squeeze.ll
test/Transforms/PredicateSimplifier/2006-11-12-MergeNodes.ll
test/Transforms/PredicateSimplifier/2007-01-04-SelectSwitch.ll
test/Transforms/PredicateSimplifier/2007-03-17-OpsToDefVRP.ll
test/Transforms/PredicateSimplifier/2007-09-19-Subtract.ll
test/Transforms/PredicateSimplifier/predsimplify.reg1.ll
test/Transforms/PredicateSimplifier/predsimplify.reg2.ll
test/Transforms/PredicateSimplifier/predsimplify.reg3.ll
test/Transforms/PredicateSimplifier/predsimplify.reg4.ll
test/Transforms/PruneEH/2003-09-14-ExternalCall.ll
test/Transforms/PruneEH/2003-11-21-PHIUpdate.ll
test/Transforms/PruneEH/2008-06-02-Weak.ll
test/Transforms/PruneEH/2008-09-05-CGUpdate.ll
test/Transforms/PruneEH/recursivetest.ll
test/Transforms/PruneEH/simplenoreturntest.ll
test/Transforms/PruneEH/simpletest.ll
test/Transforms/RaiseAllocations/2004-11-08-FreeUseCrash.ll
test/Transforms/RaiseAllocations/FreeCastConstantExpr.ll
test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll
test/Transforms/Reassociate/2002-05-15-SubReassociate.ll
test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll
test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll
test/Transforms/Reassociate/2005-08-24-Crash.ll
test/Transforms/Reassociate/2005-09-01-ArrayOutOfBounds.ll
test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll
test/Transforms/Reassociate/basictest.ll
test/Transforms/Reassociate/basictest2.ll
test/Transforms/Reassociate/basictest3.ll
test/Transforms/Reassociate/basictest4.ll
test/Transforms/Reassociate/looptest.ll
test/Transforms/Reassociate/mul-neg-add.ll
test/Transforms/Reassociate/negation.ll
test/Transforms/Reassociate/otherops.ll
test/Transforms/Reassociate/shifttest.ll
test/Transforms/Reassociate/subtest.ll
test/Transforms/Reassociate/subtest2.ll
test/Transforms/SCCP/2002-05-02-EdgeFailure.ll
test/Transforms/SCCP/2002-05-02-MissSecondInst.ll
test/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll
test/Transforms/SCCP/2002-05-21-InvalidSimplify.ll
test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
test/Transforms/SCCP/2003-06-24-OverdefinedPHIValue.ll
test/Transforms/SCCP/2003-08-26-InvokeHandling.ll
test/Transforms/SCCP/2004-11-16-DeadInvoke.ll
test/Transforms/SCCP/2004-12-10-UndefBranchBug.ll
test/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll
test/Transforms/SCCP/2006-12-04-PackedType.ll
test/Transforms/SCCP/2006-12-19-UndefBug.ll
test/Transforms/SCCP/2008-01-27-UndefCorrelate.ll
test/Transforms/SCCP/2008-05-23-UndefCallFold.ll
test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll
test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll
test/Transforms/SCCP/apint-array.ll
test/Transforms/SCCP/apint-basictest.ll
test/Transforms/SCCP/apint-basictest2.ll
test/Transforms/SCCP/apint-basictest3.ll
test/Transforms/SCCP/apint-bigarray.ll
test/Transforms/SCCP/apint-ipsccp1.ll
test/Transforms/SCCP/apint-ipsccp2.ll
test/Transforms/SCCP/apint-ipsccp4.ll
test/Transforms/SCCP/basictest.ll
test/Transforms/SCCP/ipsccp-basic.ll
test/Transforms/SCCP/ipsccp-conditional.ll
test/Transforms/SCCP/ipsccp-gvar.ll
test/Transforms/SCCP/logical-nuke.ll
test/Transforms/SCCP/sccptest.ll
test/Transforms/SRETPromotion/2008-03-11-attributes.ll
test/Transforms/SRETPromotion/2008-06-04-function-pointer-passing.ll
test/Transforms/SRETPromotion/2008-06-05-non-call-use.ll
test/Transforms/SRETPromotion/basictest.ll
test/Transforms/SSI/2009-07-09-Invoke.ll
test/Transforms/SSI/2009-08-15-UnreachableBB.ll
test/Transforms/SSI/2009-08-17-CritEdge.ll
test/Transforms/SSI/2009-08-19-UnreachableBB2.ll
test/Transforms/SSI/ssiphi.ll
test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll
test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll
test/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll
test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll
test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll
test/Transforms/ScalarRepl/2005-12-14-UnionPromoteCrash.ll
test/Transforms/ScalarRepl/2006-01-24-IllegalUnionPromoteCrash.ll
test/Transforms/ScalarRepl/2006-04-20-PromoteCrash.ll
test/Transforms/ScalarRepl/2006-10-23-PointerUnionCrash.ll
test/Transforms/ScalarRepl/2006-11-07-InvalidArrayPromote.ll
test/Transforms/ScalarRepl/2006-12-11-SROA-Crash.ll
test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll
test/Transforms/ScalarRepl/2007-05-24-LargeAggregate.ll
test/Transforms/ScalarRepl/2007-05-29-MemcpyPreserve.ll
test/Transforms/ScalarRepl/2007-11-03-bigendian_apint.ll
test/Transforms/ScalarRepl/2008-01-29-PromoteBug.ll
test/Transforms/ScalarRepl/2008-02-28-SubElementExtractCrash.ll
test/Transforms/ScalarRepl/2008-06-05-loadstore-agg.ll
test/Transforms/ScalarRepl/2008-06-22-LargeArray.ll
test/Transforms/ScalarRepl/2008-08-22-out-of-range-array-promote.ll
test/Transforms/ScalarRepl/2008-09-22-vector-gep.ll
test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll
test/Transforms/ScalarRepl/2009-02-02-ScalarPromoteOutOfRange.ll
test/Transforms/ScalarRepl/2009-02-05-LoadFCA.ll
test/Transforms/ScalarRepl/2009-03-04-MemCpyAlign.ll
test/Transforms/ScalarRepl/2009-03-05-Aggre2Scalar-dbg.ll
test/Transforms/ScalarRepl/2009-03-17-CleanUp.ll
test/Transforms/ScalarRepl/2009-04-21-ZeroLengthMemSet.ll
test/Transforms/ScalarRepl/2009-05-08-I1Crash.ll
test/Transforms/ScalarRepl/2009-06-01-BitcastIntPadding.ll
test/Transforms/ScalarRepl/2009-08-16-VLA.ll
test/Transforms/ScalarRepl/AggregatePromote.ll
test/Transforms/ScalarRepl/DifferingTypes.ll
test/Transforms/ScalarRepl/arraytest.ll
test/Transforms/ScalarRepl/badarray.ll
test/Transforms/ScalarRepl/basictest.ll
test/Transforms/ScalarRepl/bitfield-sroa.ll
test/Transforms/ScalarRepl/copy-aggregate.ll
test/Transforms/ScalarRepl/debuginfo.ll
test/Transforms/ScalarRepl/load-store-aggregate.ll
test/Transforms/ScalarRepl/memcpy-from-global.ll
test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll
test/Transforms/ScalarRepl/memset-aggregate.ll
test/Transforms/ScalarRepl/not-a-vector.ll
test/Transforms/ScalarRepl/phinodepromote.ll
test/Transforms/ScalarRepl/select_promote.ll
test/Transforms/ScalarRepl/sroa-fca.ll
test/Transforms/ScalarRepl/sroa_two.ll
test/Transforms/ScalarRepl/union-fp-int.ll
test/Transforms/ScalarRepl/union-packed.ll
test/Transforms/ScalarRepl/union-pointer.ll
test/Transforms/ScalarRepl/vector_memcpy.ll
test/Transforms/ScalarRepl/vector_promote.ll
test/Transforms/ScalarRepl/volatile.ll
test/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll
test/Transforms/SimplifyCFG/2002-05-21-PHIElimination.ll
test/Transforms/SimplifyCFG/2002-09-24-PHIAssertion.ll
test/Transforms/SimplifyCFG/2003-03-07-DominateProblem.ll
test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll
test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll
test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll
test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
test/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll
test/Transforms/SimplifyCFG/2005-06-16-PHICrash.ll
test/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll
test/Transforms/SimplifyCFG/2005-08-03-PHIFactorCrash.ll
test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
test/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll
test/Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll
test/Transforms/SimplifyCFG/2006-06-12-InfLoop.ll
test/Transforms/SimplifyCFG/2006-08-03-Crash.ll
test/Transforms/SimplifyCFG/2006-10-19-UncondDiv.ll
test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll
test/Transforms/SimplifyCFG/2006-12-08-Ptr-ICmp-Branch.ll
test/Transforms/SimplifyCFG/2007-11-22-InvokeNoUnwind.ll
test/Transforms/SimplifyCFG/2007-12-21-Crash.ll
test/Transforms/SimplifyCFG/2008-01-02-hoist-fp-add.ll
test/Transforms/SimplifyCFG/2008-04-23-MergeMultipleResultRet.ll
test/Transforms/SimplifyCFG/2008-04-27-MultipleReturnCrash.ll
test/Transforms/SimplifyCFG/2008-05-16-PHIBlockMerge.ll
test/Transforms/SimplifyCFG/2008-07-13-InfLoopMiscompile.ll
test/Transforms/SimplifyCFG/2008-09-08-MultiplePred.ll
test/Transforms/SimplifyCFG/2008-09-17-SpeculativeHoist.ll
test/Transforms/SimplifyCFG/2008-10-03-SpeculativelyExecuteBeforePHI.ll
test/Transforms/SimplifyCFG/2008-12-06-SingleEntryPhi.ll
test/Transforms/SimplifyCFG/2008-12-16-DCECond.ll
test/Transforms/SimplifyCFG/2009-01-18-PHIPropCrash.ll
test/Transforms/SimplifyCFG/2009-01-19-UnconditionalTrappingConstantExpr.ll
test/Transforms/SimplifyCFG/2009-03-05-Speculative-Hoist-Dbg.ll
test/Transforms/SimplifyCFG/2009-05-12-externweak.ll
test/Transforms/SimplifyCFG/2009-06-15-InvokeCrash.ll
test/Transforms/SimplifyCFG/BrUnwind.ll
test/Transforms/SimplifyCFG/DeadSetCC.ll
test/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll
test/Transforms/SimplifyCFG/InvokeEliminate.ll
test/Transforms/SimplifyCFG/PhiBlockMerge.ll
test/Transforms/SimplifyCFG/PhiBlockMerge2.ll
test/Transforms/SimplifyCFG/PhiEliminate.ll
test/Transforms/SimplifyCFG/PhiNoEliminate.ll
test/Transforms/SimplifyCFG/UncondBranchToReturn.ll
test/Transforms/SimplifyCFG/UnreachableEliminate.ll
test/Transforms/SimplifyCFG/branch-branch-dbginfo.ll
test/Transforms/SimplifyCFG/branch-cond-merge.ll
test/Transforms/SimplifyCFG/branch-cond-prop.ll
test/Transforms/SimplifyCFG/branch-fold.ll
test/Transforms/SimplifyCFG/branch-phi-thread.ll
test/Transforms/SimplifyCFG/dbginfo.ll
test/Transforms/SimplifyCFG/iterative-simplify.ll
test/Transforms/SimplifyCFG/noreturn-call.ll
test/Transforms/SimplifyCFG/switch-simplify-crash.ll
test/Transforms/SimplifyCFG/switch_thread.ll
test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
test/Transforms/SimplifyLibCalls/2005-05-20-sprintf-crash.ll
test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
test/Transforms/SimplifyLibCalls/2008-05-19-memcmp.ll
test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll
test/Transforms/SimplifyLibCalls/2009-02-11-NotInitialized.ll
test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll
test/Transforms/SimplifyLibCalls/2009-05-30-memcmp-byte.ll
test/Transforms/SimplifyLibCalls/2009-07-28-Exit.ll
test/Transforms/SimplifyLibCalls/2009-07-29-Exit2.ll
test/Transforms/SimplifyLibCalls/FFS.ll
test/Transforms/SimplifyLibCalls/FPrintF.ll
test/Transforms/SimplifyLibCalls/IsDigit.ll
test/Transforms/SimplifyLibCalls/MemCpy.ll
test/Transforms/SimplifyLibCalls/Printf.ll
test/Transforms/SimplifyLibCalls/Puts.ll
test/Transforms/SimplifyLibCalls/SPrintF.ll
test/Transforms/SimplifyLibCalls/StrCat.ll
test/Transforms/SimplifyLibCalls/StrChr.ll
test/Transforms/SimplifyLibCalls/StrCmp.ll
test/Transforms/SimplifyLibCalls/StrCpy.ll
test/Transforms/SimplifyLibCalls/StrLen.ll
test/Transforms/SimplifyLibCalls/StrNCat.ll
test/Transforms/SimplifyLibCalls/StrNCmp.ll
test/Transforms/SimplifyLibCalls/StrNCpy.ll
test/Transforms/SimplifyLibCalls/ToAscii.ll
test/Transforms/SimplifyLibCalls/abs.ll
test/Transforms/SimplifyLibCalls/exp2.ll
test/Transforms/SimplifyLibCalls/floor.ll
test/Transforms/SimplifyLibCalls/memcmp.ll
test/Transforms/SimplifyLibCalls/memmove.ll
test/Transforms/SimplifyLibCalls/memset-64.ll
test/Transforms/SimplifyLibCalls/memset.ll
test/Transforms/SimplifyLibCalls/pow2.ll
test/Transforms/SimplifyLibCalls/weak-symbols.ll
test/Transforms/TailCallElim/accum_recursion.ll
test/Transforms/TailCallElim/accum_recursion_constant_arg.ll
test/Transforms/TailCallElim/dont-tce-tail-marked-call.ll
test/Transforms/TailCallElim/inf-recursion.ll
test/Transforms/TailCallElim/intervening-inst.ll
test/Transforms/TailCallElim/return_constant.ll
test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
test/Transforms/TailDup/2003-06-24-Simpleloop.ll
test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll
test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll
test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll
test/Transforms/TailDup/2004-04-01-DemoteRegToStack.ll
test/Transforms/TailDup/2008-05-13-InfiniteLoop.ll
test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll
test/Transforms/TailDup/2009-07-31-phicrash.ll
test/Transforms/TailDup/MergeTest.ll
test/Transforms/TailDup/PHIUpdateTest.ll
test/Transforms/TailDup/basictest.ll
test/Transforms/TailDup/basictest2.ll
test/Transforms/TailDup/if-tail-dup.ll

index 7bd5fddac3366cfa019c14a4e84ed15b61e7a48a..5ba34997e93d6e1d8436a112ec9dfa25307935e3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -disable-output
+; RUN: opt %s -anders-aa -disable-output
 
 define void @x(i16 %Y) {
 entry:
index f99d3053c674ea6a142eb610dffbf959338be82c..a9731037669bc99e8fc49d5a41ea42e2cf2f2fca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -gvn -S | not grep undef
+; RUN: opt %s -anders-aa -gvn -S | not grep undef
 ; PR2160
 
 declare void @f(i32*)
index 87d21cf27540bf0f3ad638756daf8583612c6fe6..5a50dd56214c63b43672a184e48da9ede569aa53 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -gvn -S | not grep undef
+; RUN: opt %s -anders-aa -gvn -S | not grep undef
 ; PR2169
 
 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) nounwind
index 36c5c80b5a3ba6bffd8de70d341deaa35a039259..da6751139f2eaad4f91f1c7426ed9cd926cfcd20 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa
+; RUN: opt %s -anders-aa
 ; PR3262
 
 @.str15 = external global [3 x i8]              ; <[3 x i8]*> [#uses=1]
index 87d5d1ec9800ed6602f4970afee565462b6add1c..47226dd8da7a15f50cb0602d2393d84081809cb7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -aa-eval 2>/dev/null
+; RUN: opt %s -anders-aa -aa-eval 2>/dev/null
 
 define void @test1() {
        %X = malloc i32*
index 1b5077825523504c2c7d08c8e334411c4ee81b71..13c12dc558a773103eb253413adb19a3d3e8fc62 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -gvn -deadargelim -S | grep store | not grep null
+; RUN: opt %s -anders-aa -gvn -deadargelim -S | grep store | not grep null
 
 ; Because the 'internal' function is passed to an external function, we don't
 ; know what the incoming values will alias.  As such, we cannot do the 
index ffb7339419c12edd2812070238d95efc8209bfed..e0c2edc4c2378e0c4c8f9767bab63001723ccf2b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -gvn -instcombine -S \
+; RUN: opt %s -anders-aa -gvn -instcombine -S \
 ; RUN: | grep {ret i1 true}
 
 @G = internal global i32* null
index 67adcbd0d1ef22be31d2ede051257dfa24d50550..562c961e7d469cb90533c9c4f9372dd33f1fde44 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -gvn -S \
+; RUN: opt %s -anders-aa -gvn -S \
 ; RUN: | not grep {ret i32 undef}
 
 ;; From PR 2160
index 453d02305ff2259bea22596e28b2155516431905..f9f938f8f1f929aa31813dbe7e8ecbf28ce52cac 100644 (file)
@@ -1,3 +1,3 @@
-; RUN: opt %s -anders-aa -disable-output
+; RUN: opt %s -anders-aa -disable-output
 
 define void @foo() { ret void }
index 17f3c0480f29e4ec748f933d3f89ebe91f77015b..6b50a168cd0a4d8e5b477ae3913df37a6c3bf892 100644 (file)
@@ -2,7 +2,7 @@
 ; is performed.  It is not legal to delete the second load instruction because
 ; the value computed by the first load instruction is changed by the store.
 
-; RUN: opt %s -gvn -instcombine -S | grep DONOTREMOVE
+; RUN: opt %s -gvn -instcombine -S | grep DONOTREMOVE
 
 define i32 @test() {
        %A = alloca i32
index a6624462bec06af565add0bc78f57010c9d4138c..4f8eabb79308099081cfa5964dd5af07028b7e3d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null
+; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null
 ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2
 define void @test({[2 x i32],[2 x i32]}* %A, i64 %X, i64 %Y) {
        %P1 = getelementptr {[2 x i32],[2 x i32]}* %A, i64 0, i32 0, i64 %X
index 6e9276f7dce06802c8185727f1600db0110c1612..f7e82951da7601b553480046f23cd59ff9c800a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -instcombine -S | grep sub
+; RUN: opt %s -gvn -instcombine -S | grep sub
 
 ; BasicAA was incorrectly concluding that P1 and P2 didn't conflict!
 
index ecfa706f14d4ef4c4c8b498b78a2f57f10b87883..97bc38eb69bf38be2cf7713ad713b9ac465b0d0b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null
+; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null
 ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2
 define void @test([17 x i16]* %mask_bits) {
        %P1 = getelementptr [17 x i16]* %mask_bits, i64 0, i64 0
index ee7c659658dd5342a7c1d70f103882f2e034cb85..d439dfc530ba5dcb44a1315723bdf5a4a50e0baa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -disable-output
+; RUN: opt %s -licm -disable-output
        %struct..apr_array_header_t = type { i32*, i32, i32, i32, i8* }
        %struct..apr_table_t = type { %struct..apr_array_header_t, i32, [32 x i32], [32 x i32] }
 
index d832b10f6d22c65bf52831af13d6c56b4fd422ac..0abd3847836c5e307d6a5232d868ff5dae672d32 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null
+; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null
 
 define i32 @MTConcat([3 x i32]* %a.1) {
        %tmp.961 = getelementptr [3 x i32]* %a.1, i64 0, i64 4
index 1db578cc0d2b19d2ec4c5dff2622fbcbfb94310e..3e813fa2ca1845cafd6dc61684c68cb876b88eb3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null
+; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null
 
 %struct..RefPoint = type { i32, { i32, i8, i8 } }
 %struct..RefRect = type { %struct..RefPoint, %struct..RefPoint }
index 231521d4b74d0e1c47ca574f98671d976f1f0015..637d8f0db48625fef3a6ec85b9958a8500cc39d6 100644 (file)
@@ -1,6 +1,6 @@
 ; In this test, a local alloca cannot alias an incoming argument.
 
-; RUN: opt %s -gvn -instcombine -S | not grep sub
+; RUN: opt %s -gvn -instcombine -S | not grep sub
 
 define i32 @test(i32* %P) {
        %X = alloca i32
index 76a644e008ef4d6e856847f911507d1777844219..911f78cc827ea6f27d4dba627e892923649ac1dc 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase consists of alias relations which should be completely
 ; resolvable by basicaa.
 
-; RUN: opt %s -aa-eval -print-may-aliases -disable-output \
+; RUN: opt %s -aa-eval -print-may-aliases -disable-output \
 ; RUN: |& not grep May:
 
 %T = type { i32, [10 x i8] }
index 46025d08ae30829ac62b6040efe9bf27122f470d..8166b979ddab3ab700d92ab0dd310c02be887a00 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase consists of alias relations which should be completely
 ; resolvable by basicaa, but require analysis of getelementptr constant exprs.
 
-; RUN: opt %s -aa-eval -print-may-aliases -disable-output \
+; RUN: opt %s -aa-eval -print-may-aliases -disable-output \
 ; RUN: |& not grep May:
 
 %T = type { i32, [10 x i8] }
index ddecfb76429e6a315c863be671dae3d20c4a49af..e1cfd0348f35c8acdd6aee3b26a6f7e75560fd67 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | grep {store i32 0}
+; RUN: opt %s -dse -S | grep {store i32 0}
 
 define void @test({i32,i32 }* %P) {
        %Q = getelementptr {i32,i32}* %P, i32 1
index b43bb3fbce8e2d8be13472988c5acee6b5ad3e5d..81248db328811aaef8c06f2459b2b76b4ab72ed0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm
+; RUN: opt %s -licm
 
 %"java/lang/Object" = type { %struct.llvm_java_object_base }
 %"java/lang/StringBuffer" = type { "java/lang/Object", i32, { "java/lang/Object", i32, [0 x i8] }*, i1 }
index bbf8c5aad02cfb301319a186db8547bc3d944d8f..0e03db330c0461e5a464d377a971cddf61a7036a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse
+; RUN: opt %s -dse
 
 %"java/lang/Object" = type { %struct.llvm_java_object_base }
 %"java/lang/StringBuffer" = type { "java/lang/Object", i32, { "java/lang/Object", i32, [0 x i8] }*, i1 }
index ed89cb56cfffe525b2b2211d44af847ea3c3ca22..4564263de015208593ace56ff60ee61f315080a9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -gvn -instcombine |\
+; RUN: opt %s -basicaa -gvn -instcombine |\
 ; RUN: llvm-dis | grep {load i32\\* %A}
 
 declare double* @useit(i32*)
index 00fbc15b461657b91c7174cdde22e0d0bf303626..5d08312791f20952582f8240ff7f4560bffaef8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -aa-eval -disable-output |& grep {2 no alias respon}
+; RUN: opt %s -aa-eval -disable-output |& grep {2 no alias respon}
 ; TEST that A[1][0] may alias A[0][i].
 
 define void @test(i32 %N) {
index 0ebe4e8047318b9be84814d47dd44d597581b73f..917bf2554dca5f9c47cc40555f9d6bdb30112570 100644 (file)
@@ -1,7 +1,7 @@
 ; PR1109
-; RUN: opt %s -basicaa -gvn -instcombine -S | \
+; RUN: opt %s -basicaa -gvn -instcombine -S | \
 ; RUN:   grep {sub i32}
-; RUN: opt %s -basicaa -gvn -instcombine -S | \
+; RUN: opt %s -basicaa -gvn -instcombine -S | \
 ; RUN:   not grep {ret i32 0}
 ; END.
 
index 6a92fd8cc33adc33977e7e3209e47a523161ebda..035299e0ac824b560d52f2dfa45fa589f0941906 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1600
-; RUN: opt %s -basicaa -gvn -instcombine -S | \
+; RUN: opt %s -basicaa -gvn -instcombine -S | \
 ; RUN:   grep {ret i32 0}
 ; END.
 
index 34b0f6f3342fb1c1ae92459eb68079740f187202..78f24b5e305df9add0cc62e35a89d4d7bbca4ae2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -gvn -dce -S | grep tmp7
+; RUN: opt %s -basicaa -gvn -dce -S | grep tmp7
 
         %struct.A = type { i32 }
         %struct.B = type { %struct.A }
index a01aec8266ff0f3d97c4d397bacf4444cf086adb..f0f1535da746b4fa20c4e7d8c7c04b51a5d1108d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -disable-output
+; RUN: opt %s -gvn -disable-output
 ; PR1774
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index c509dc32640ebd654953ba03e35840bf67c78e0d..8028afb0d003e4008f5b474a1364b084a90fc75d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -disable-output
+; RUN: opt %s -gvn -disable-output
 ; PR1782
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index 26e14dfcbff2a9d0647403dda1ec6b1e544c4c07..2069401628d2614458ea162830b3c54ddab20ee1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts -S | grep store
+; RUN: opt %s -std-compile-opts -S | grep store
 ; ModuleID = 'small2.c'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index 8e8d92c99e915cce15a3b99eb0599f5535422365..ba29f3abcffe820fd1e91a4f721adfc7b084064e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -disable-output
+; RUN: opt %s -gvn -disable-output
 ; PR2395
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index a0cb26a1c1fd14ef426ca84abd90db6da75796ed..06018ccd5b578e92c009702c863fb6879e2702b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -aa-eval |& grep {1 no alias response}
+; RUN: opt %s -aa-eval |& grep {1 no alias response}
 
 declare noalias i32* @_Znwj(i32 %x) nounwind
 
index 40ca09e44b7fc0a3d6b85d07a129c148c01e5b6b..aaf9061953e75f1411f171d325f6bd66ad73bb9e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -aa-eval -print-all-alias-modref-info -disable-output |& grep {MustAlias:.*%R,.*%r}
+; RUN: opt %s -aa-eval -print-all-alias-modref-info -disable-output |& grep {MustAlias:.*%R,.*%r}
 ; Make sure that basicaa thinks R and r are must aliases.
 
 define i32 @test(i8 * %P) {
index 8864571b418979975170b790626004730135473f..3ab5d03ca8c4fb85aca2886a878c33f246d8358f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -gvn -S | grep load
+; RUN: opt %s -basicaa -gvn -S | grep load
 
 declare noalias i32* @noalias()
 
index f5ffcccd78570d12036cd68ce2ac95838292e7f4..cdcafdf474f3006f66091f0b4cc25a6152fbd5c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep {ret i32 1}
+; RUN: opt %s -gvn -S | grep {ret i32 1}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin8"
        %struct.x = type { i32, i32, i32, i32 }
index 866bdb23715e61be20df731e3cdf9887fc69a4b9..87772bfb44d50d0edbb7d244ded133bf6520c5e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -gvn -S | grep load | count 1
+; RUN: opt %s -basicaa -gvn -S | grep load | count 1
 
 @flag0 = internal global i32 zeroinitializer
 @turn = internal global i32 zeroinitializer
index 191708a009445ae9378a83547c333a4a9d4bdba7..95f94d096f35fa0e1f34ba590ad98258a2451263 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -aa-eval -print-all-alias-modref-info \
+; RUN: opt %s -aa-eval -print-all-alias-modref-info \
 ; RUN:   |& grep {MayAlias:    double\\* \[%\]p.0.i.0, double\\* \[%\]p3\$}
 ; PR4267
 
index 767b36a405e50684bf373d986a95411200ce5c99..737ee45350347c4ef89c79ed04873744a7ded690 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase tests for various features the basicaa test should be able to 
 ; determine, as noted in the comments.
 
-; RUN: opt %s -basicaa -gvn -instcombine -dce -S | not grep REMOVE
+; RUN: opt %s -basicaa -gvn -instcombine -dce -S | not grep REMOVE
 
 @Global = external global { i32 }
 
index 716a5dce4fb3da777a7e587f08da349461e46397..a903362beb995f3709c76ee2bb83e3d1f4d53e2b 100644 (file)
@@ -2,7 +2,7 @@
 ; disambiguating some obvious cases.  All loads should be removable in 
 ; this testcase.
 
-; RUN: opt %s -basicaa -gvn -instcombine -dce -S \
+; RUN: opt %s -basicaa -gvn -instcombine -dce -S \
 ; RUN: | not grep load
 
 @A = global i32 7
index a3f38a089542e383ea168145d943df81bb6236cc..0a643d4d080d003d0bc8e2201f581b92b73ad9ae 100644 (file)
@@ -1,7 +1,7 @@
 ; A store or load cannot alias a global if the accessed amount is larger then
 ; the global.
 
-; RUN: opt %s -basicaa -gvn -instcombine -S | not grep load
+; RUN: opt %s -basicaa -gvn -instcombine -S | not grep load
 
 @B = global i16 8               ; <i16*> [#uses=2]
 
index 5a8a2eed1536c187de6059f82928d918cec9ade0..8f7c0a75d52e0ab3ec865cc9a2f836ef178ff254 100644 (file)
@@ -1,5 +1,5 @@
 ; A very rudimentary test on AliasAnalysis::getModRefInfo.
-; RUN: opt %s -print-all-alias-modref-info -aa-eval -disable-output |& \
+; RUN: opt %s -print-all-alias-modref-info -aa-eval -disable-output |& \
 ; RUN: not grep NoModRef
 
 define i32 @callee() {
index a0b6a449b26ef4475780e664d19699950d9db194..ccabce9b7b44b4e555f2a9629463cefcc96e67df 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -gvn -instcombine -S | grep {ret i1 true}
+; RUN: opt %s -basicaa -gvn -instcombine -S | grep {ret i1 true}
 ; PR2436
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index 39a70ab5da7ed4d649c64a2f6d0712094a892965..7970fbb9a03debdb407f923763782d74f5392a1b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -gvn -instcombine -S | grep {ret i32 0}
+; RUN: opt %s -basicaa -gvn -instcombine -S | grep {ret i32 0}
 
 declare i32* @test(i32* nocapture)
 
index cffb87255bb09e967f03e5242d37e9d76df9dee6..54e6e79a5e508799cd0dbc934ddf3787d0fd3b1d 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -basicaa -gvn -S | grep TestConst | count 2
-; RUN: opt %s -basicaa -gvn -S | grep TestPure  | count 3
-; RUN: opt %s -basicaa -gvn -S | grep TestNone  | count 4
+; RUN: opt %s -basicaa -gvn -S | grep TestConst | count 2
+; RUN: opt %s -basicaa -gvn -S | grep TestPure  | count 3
+; RUN: opt %s -basicaa -gvn -S | grep TestNone  | count 4
 @g = global i32 0              ; <i32*> [#uses=1]
 
 define i32 @test() {
index 09c432285865a5accebb5ae863fb7f4adcc40d4f..d8e7c75142a2aafc9c8ae58189f5f1547229fccf 100644 (file)
@@ -2,7 +2,7 @@
 ; disambiguating some obvious cases.  If LICM is able to disambiguate the
 ; two pointers, then the load should be hoisted, and the store sunk.
 
-; RUN: opt %s -basicaa -licm -S | FileCheck %s
+; RUN: opt %s -basicaa -licm -S | FileCheck %s
 
 @A = global i32 7               ; <i32*> [#uses=3]
 @B = global i32 8               ; <i32*> [#uses=2]
index dc07a1b871906a9e8af16550ee380926ebe7a1d0..f7d6c57c1bcd8792a95cacf627c8d9d6fa7c861c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -gvn -instcombine |\
+; RUN: opt %s -basicaa -gvn -instcombine |\
 ; RUN:   llvm-dis | grep {ret i32 0}
 
 declare void @foo(i32*)
index 3977a5c5b46b4b18c5eeedabd57a8fffa7cc47b4..6e34209a0e362fa8ad675a1669ab686406be3384 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -print-callgraph -disable-output |& \
+; RUN: opt %s -print-callgraph -disable-output |& \
 ; RUN:   grep {Calls function 'callee'} | count 2
 
 define internal void @callee(...) {
index 2b7bae20d68f8b4e946606e3e5dd780fee70a523..12849b7aa96c473f56fd33661b33c78819060f47 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -print-callgraph -disable-output |& \
+; RUN: opt %s -print-callgraph -disable-output |& \
 ; RUN:   grep {Calls function}
 
 @a = global void ()* @f                ; <void ()**> [#uses=0]
index deb949baaa1c04d09e822acd064257857d96a9c0..e31f4165b626fc23d4611271c6c95b292c247be7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -domtree -break-crit-edges -analyze \
+; RUN: opt %s -domtree -break-crit-edges -analyze \
 ; RUN:  -domtree | grep {3.*%brtrue }
 ; PR932
 
index 191e0aa85719761ec434ceac49c895c9b98ba5f3..96dc73929d1c191229f9fad69585aa391f118b07 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -domtree -break-crit-edges -domtree -disable-output
+; RUN: opt %s -domtree -break-crit-edges -domtree -disable-output
 ; PR1110
 
        %struct.OggVorbis_File = type { i8*, i32, i64, i64, %struct.ogg_sync_state, i32, i64*, i64*, i32*, i64*, %struct.vorbis_info*, %struct.vorbis_comment*, i64, i32, i32, i32, double, double, %struct.ogg_stream_state, %struct.vorbis_dsp_state, %struct.vorbis_block, %struct.ov_callbacks }
index 61297b615963e97337a8e33734615f1222e77fe7..17ace8a950bbbf25e987ca3905a1b1115160dba4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalsmodref-aa -gvn -S | grep call | count 2
+; RUN: opt %s -globalsmodref-aa -gvn -S | grep call | count 2
 
 @g = internal global i32 0             ; <i32*> [#uses=2]
 
index 0de1d8a4355c015f3c5715d731f516f98e354be0..3e5d11907aa642d1bebae66b2e006e6804e32cc6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load
+; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load
 @X = internal global i32 4             ; <i32*> [#uses=1]
 
 define i32 @test(i32* %P) {
index 479c6b434bc593efa4ce9cde9dbb33d757ad00ff..b1d4593ac99207ead11cc85a39e90b734f222365 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load
+; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load
 
 ; This test requires the use of previous analyses to determine that
 ; doesnotmodX does not modify X (because 'sin' doesn't).
index a0a4ddec92fee2541fb6b50c65b1d49d2255d272..4074909ce7854c9ece0b98a469c18e4fe35c5b7c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalsmodref-aa -gvn -instcombine -S | \
+; RUN: opt %s -globalsmodref-aa -gvn -instcombine -S | \
 ; RUN:   grep {ret i32 0}
 
 @G = internal global i32* null         ; <i32**> [#uses=3]
index 7bcb08df37c9bf8d4585a036b667af82fbe71778..257c0ee7deb29f91519dc63cc15240b32e164f68 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load
+; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load
 @X = internal global i32 4             ; <i32*> [#uses=2]
 
 define i32 @test(i32* %P) {
index dc75fcb10121b208cd48bac5c45576793186d0be..994aff8d4c684e4f80d4094eb5481f74cc1addb5 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that pure functions are cse'd away
-; RUN: opt %s -globalsmodref-aa -gvn -instcombine | \
+; RUN: opt %s -globalsmodref-aa -gvn -instcombine | \
 ; RUN: llvm-dis | not grep sub
 
 define i32 @pure(i32 %X) {
index 2bc02d217a40674b3fd8688e1fe28c2f869164de..a5f504bafbf86ad0ff2da8af718c8ec8353b66c6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
+; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
 
 ;; x[5] = x[6] // with x being a pointer passed as argument
 
index 6514e0c766b7f9baa5d6f66ed3b3c575c5e68936..327089501ff806c9071d2dc0a63156c7a1a4035a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
+; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
 
 @x = common global [256 x i32] zeroinitializer, align 4
 @y = common global [256 x i32] zeroinitializer, align 4
index 57484ed3eb2c2ce03c35f99b2c0eabe401c19e5a..3d9f2583b3abf4d12fdb33da57e07ee0b0621a25 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
+; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
 
 @x = common global [256 x i32] zeroinitializer, align 4
 @y = common global [256 x i32] zeroinitializer, align 4
index 4aa96e6ca3da4c1422bdeb4fd294ecd83ef9c6cb..4433138b6eb27747be77a3d7aea541847333561d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
+; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
 
 @x = common global [256 x i32] zeroinitializer, align 4
 @y = common global [256 x i32] zeroinitializer, align 4
index 0ee8156537326e0b46148b5ecfe58c33b4f9a03c..0a93762d4c7ac6766e038645d7b16892e9be9e11 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
+; RUN: opt %s -disable-output -analyze -lda | FileCheck %s
 
 @x = common global [256 x i32] zeroinitializer, align 4
 
index b437266f0867b38a2efbe7f876ab9d7b1d65a0ae..617c23f8e86f03d547083b72a4ffa3088afeb628 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase was incorrectly computing that the loopentry.7 loop was
 ; not a child of the loopentry.6 loop.
 ;
-; RUN: opt %s -analyze -loops | \
+; RUN: opt %s -analyze -loops | \
 ; RUN:   grep {^            Loop at depth 4 containing: %loopentry.7<header><latch><exit>}
 
 define void @getAndMoveToFrontDecode() {
index ccaeeec7393fed8fb1af3ddc4bd55f92bb7d6f39..c0b0606af0b5258ed0ffd04f5f631598e6de368d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -pointertracking -analyze | FileCheck %s
+; RUN: opt %s -pointertracking -analyze | FileCheck %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
 @.str = internal constant [5 x i8] c"1234\00"          ; <[5 x i8]*> [#uses=1]
index 8b016f6612349841f6555904e03d95dbf5d8de21..b73b7f03f7e7a1c066eb4189e05ee82048d69510 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -postdomfrontier \
+; RUN: opt %s -analyze -postdomfrontier \
 ; RUN:   -disable-verify
 ; ModuleID = '2006-09-26-PostDominanceFrontier.bc'
 target datalayout = "e-p:64:64"
index 59303c67f9ced3a447cc0fcd6ab053c1c50c829a..1ec056bc34e0e57d5ffbcc6222638d155c79ada4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -postdomfrontier -disable-output
+; RUN: opt %s -postdomfrontier -disable-output
 
 define void @SManager() {
 entry:
index 9f032610ecaa25d26047661e072d78c8cc99d16d..767e5db94ce8608817ffb4d1b4f058d2a466d460 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -postdomfrontier -disable-output
+; RUN: opt %s -postdomfrontier -disable-output
 
 define void @args_out_of_range() {
 entry:
index 637142278abbd196c729f4265704377158b2b242..afb47769ee498a6bab30a77018adfdd04ebcce6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -postdomtree -analyze | grep entry
+; RUN: opt %s -postdomtree -analyze | grep entry
 ; PR932
 
 define void @foo(i1 %x) {
index ffdfc2ee643e8060a4c26012782d69357371fac8..cbaf47617fb6ced98b8db1701508b0e015d24191 100644 (file)
@@ -1,5 +1,5 @@
 ; Test the edge profiling instrumentation.
-; RUN: opt %s -insert-edge-profiling -S | FileCheck %s
+; RUN: opt %s -insert-edge-profiling -S | FileCheck %s
 
 ; ModuleID = '<stdin>'
 
index ee7cce132acc773fcf85f29c0c5315ccbba3c6b8..7f82ea43579111702c038f744f4ec30c8f6e5949 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {Loop bb: backedge-taken count is 100}
 ; PR1533
 
index d8ba3f5fb0b732a7c1238414d4ef568c30f8a6eb..e67e4d00d6258c403a749b44976b23a159f8a73c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -adce -simplifycfg -S | grep "icmp s"
+; RUN: opt %s -indvars -adce -simplifycfg -S | grep "icmp s"
 ; PR1598
 
 define i32 @f(i32 %a, i32 %b, i32 %x, i32 %y) {
index 6813b9014d7b8180952b1a042d19495f921f1844..f623da1b2757563f4b455f0cb294e22251198584 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)}
+; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)}
 ; PR1597
 
 define i32 @f(i32 %x, i32 %y) {
index 9b490bf2dc174e8badcc60cdea2766650ed23786..817090ffef65023c378385a2e491ede88f28b812 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 13}
 ; PR1706
 
index 1d01bb4cd42bd1d7e414d1a756cf3e4c361e127e..514920f0f6fade0dc48b141e151f337267d22621 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep printd | grep 1206807378
+; RUN: opt %s -indvars -S | grep printd | grep 1206807378
 ; PR1798
 
 declare void @printd(i32)
index 567e61338841d52ba714fb087aaeec5ed347cc93..2b3c982d6b1278f5455703a7e0971927e8bd0127 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep -e {-->  %b}
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep -e {-->  %b}
 ; PR1810
 
 define void @fun() {
index fb6092cd4bb62799e857624cf246680971f7cba2..c8e483e7d50f9569261e71b2642e1a8852784e38 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop header: backedge-taken count is (0 smax %n)}
+; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop header: backedge-taken count is (0 smax %n)}
 
 define void @foo(i32 %n) {
 entry:
index 5266df8825333c84668085f1c22208fa36c0519c..cb9a1829eb7c05bee08d9c52424062482350856a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))}
+; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))}
 ; PR2002
 
 define void @foo(i8 %n) {
index 3ccd79b01322280f2b145457b3cfe3ad04167471..bf9f4a9e8607e54c9aae7f0c35a87d029f53b882 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep umax
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep umax
 ; PR2003
 
 define i32 @foo(i32 %n) {
index 42472fd22a7a83715d60d0be5e0065dce1807f06..8d15b772f1fe09875e8dc4be586e0b1596279b65 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 61}
 ; PR2364
 
index 2aa55576fe8fc92a5eb918a07525ff5b97713e22..d503329292c7dae6a016ba0c7e07ce76923cee5f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution 2>/dev/null
+; RUN: opt %s -analyze -scalar-evolution 2>/dev/null
 ; PR2433
 
 define i32 @main1(i32 %argc, i8** %argv) nounwind  {
index 0768eaf702e572daaf78d5cb33a4c4ed33cf3663..850b6708f4fe866747458252a542132087ca30cd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output |& not grep smax
+; RUN: opt %s -analyze -scalar-evolution -disable-output |& not grep smax
 ; PR2261
 
 @lut = common global [256 x i8] zeroinitializer, align 32              ; <[256 x i8]*> [#uses=1]
index 66f4a8c005cb7088de4cdeb184d1ae7c813b692d..59e9fda41e646612fde50a710516b7092b6facf4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output |& not grep smax
+; RUN: opt %s -analyze -scalar-evolution -disable-output |& not grep smax
 ; PR2070
 
 define i32 @a(i32 %x) nounwind  {
index 64b92971ae4c16819d7b841e9c8fd0a6a4d7bbb3..989ac51226dce5f89c6ee30e580fd11402e0b7c6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep Unpredictable
 ; PR2088
 
index 116e6da85abc37c56f53a256498e42726b3e11f6..803c7d110e72beb0995952cf86cd8fb0bf7f349b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 113}
 ; PR2088
 
index 4ab5735a591ab29e681936056e1e1e70499f0ac2..97d0640c6c585d9c4527c53979b7bd2496e60da1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | \
 ; RUN: grep -F "backedge-taken count is (-1 + (-1 * %j))"
 ; PR2607
index 5917a5a9591b814e2d6382d88dfe719bc643565e..7f4de917333652858acc018d8ccc36809587efee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | \
 ; RUN: grep -F "backedge-taken count is (-2147483632 + ((-1 + (-1 * %x)) smax (-1 + (-1 * %y))))"
 ; PR2607
index afea1bca122256941335d9a4eb68e6118ac7a265..fa09895eac32645df514acc3bf69ca03da89ec4a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep -F "Exits: 20028"
 ; PR2621
 
index 775ecc7ca34c90ac44d7fbbf8d6e3e48f66fecff..5a28117eb60b1215235a8f0551c7e65c48ae0ab4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep -F "Exits: -19168"
 ; PR2621
 
index d8ae095f2818e1067e1bbe42bf51b49a8a7a5e02..9daff991aee92c89cf5d1159f8ad0461d6bfbf33 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output
+; RUN: opt %s -analyze -scalar-evolution -disable-output
 ; PR1827
 
 declare void @use(i32)
index cd02ec96663a1d4bcb310e18719b66c5fee7f4dc..5a2c36659c72e1dee6ed42ba54bb1158a1f282f4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output
+; RUN: opt %s -analyze -scalar-evolution -disable-output
 ; PR2602
 
 define i32 @a() nounwind  {
index 8be6f2cae25073abd5e5154c93d53194eb0b3ad8..daeb26a202e3c04d18ec6d980d6e0fb7e3ca7830 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output |& \
+; RUN: opt %s -analyze -scalar-evolution -disable-output |& \
 ; RUN: grep {Loop bb: backedge-taken count is (7 + (-1 \\* %argc))}
 ; XFAIL: *
 
index 4c89a3bfd778bd9b750862e957b037088179c93c..9dda78b21f7d123ae7d459bb6110b96eb52ae9f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:  | grep {Loop bb: Unpredictable backedge-taken count\\.}
 
 ; ScalarEvolution can't compute a trip count because it doesn't know if
index 23e9630fefaca73a2100cfe4d3281ec1dc72d6f2..bcbe92f509ae1cedf3681156d8adb547b6c02bc3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output |& grep {/u 3}
+; RUN: opt %s -analyze -scalar-evolution -disable-output |& grep {/u 3}
 ; XFAIL: *
 
 define i32 @f(i32 %x) nounwind readnone {
index cbab6a61d6798666d5c6d62018d1bae1c301da4d..2ee107a4a43a93e570dabfb6058bc3e15875dd95 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {backedge-taken count is 255}
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {backedge-taken count is 255}
 ; XFAIL: *
 
 define i32 @foo(i32 %x, i32 %y, i32* %lam, i32* %alp) nounwind {
index 03b67c3712317948e3926a3ce2c7d24d6f6fd08f..0cfd84c997b407edd600e1e8f23b7da3e3f884a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {0 smax}
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {0 smax}
 ; XFAIL: *
 
 define i32 @f(i32 %c.idx.val) {
index 7e0f452e4ba94e347ab512a253649c990529e6d8..4ec358c8a4dc690adfbf8159a3decd0da6d981c9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output |& \
+; RUN: opt %s -analyze -scalar-evolution -disable-output |& \
 ; RUN: grep {(((-1 \\* %i0) + (100005 smax %i0)) /u 5)}
 ; XFAIL: *
 
index e25183c0816126568f1b2c823b45dab6ba68e621..1fe10689f3fe72c6942fd46c4b71fcfaee4597c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output |& grep {/u 5}
+; RUN: opt %s -analyze -scalar-evolution -disable-output |& grep {/u 5}
 ; XFAIL: *
 
 define i8 @foo0(i8 %i0) nounwind {
index 01a3605c0dc10d9e8e0e3bfe917bb71db312399c..9d13695c3e47c6e783e9b9c7305b5e3c7388ade2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | not grep {/u -1}
+; RUN: opt %s -analyze -scalar-evolution -disable-output | not grep {/u -1}
 ; PR3275
 
 @g_16 = external global i16            ; <i16*> [#uses=3]
index f8409d3e2cde0d1a43cdc472703bb782fd1d19f6..78a7fd016716cb1937a4e2facf11b0ffcf5b0763 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {(trunc i} | not grep ext
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {(trunc i} | not grep ext
 
 define i16 @test1(i8 %x) {
   %A = sext i8 %x to i32
index 4261984025ef80ca52de36622ce01f1c92638240..6ed261481e2d28c5363a71e0abbc0de2b2dc067d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {count is 2}
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {count is 2}
 ; PR3171
 
        %struct.Foo = type { i32 }
index c20940584840e597ba15bed52ea08c858c3fd9a1..a4358aa63215264bb857cb13c7395cc4937e7aba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution
+; RUN: opt %s -analyze -scalar-evolution
 ; PR4501
 
 define void @test() {
index 6b94c8a736ea89349599ccabac2a74b52188eff6..fcc6fc3297c0d37ec0b6353edef16e10f4e12157 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 100}
 ; PR1101
 
index 767194c8bd9a5ddbf4e6dc25989fb02e7222a5f8..90d947f15bba3fc971b6cd12eb7546ab649a5b06 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -analyze -disable-output \
+; RUN: opt %s -scalar-evolution -analyze -disable-output \
 ; RUN:   | grep {\\-->  (zext} | count 2
 
 define i32 @foo(i32 %x) {
index 0db3f9722231d6a3eb51ec628765085352b3fa50..f638eb340140c9b598eb4f41b6041032b8632acc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output
+; RUN: opt %s -analyze -scalar-evolution -disable-output
 ; PR4537
 
 ; ModuleID = 'b.bc'
index 5c6133ecf09c93fbdd3302ee8faac40980d39463..31b95e1470b231c5901a0934138bd8f427f66529 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -iv-users
+; RUN: opt %s -iv-users
 ; PR4538
 
 ; ModuleID = 'bugpoint-reduced-simplified.bc'
index e3056846c837107a910c41cf5ad8158c40cb0716..b733d6acb504075608762b2a5f83a4f2475475f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop bb3: backedge-taken count is (-1 + %n)}
+; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop bb3: backedge-taken count is (-1 + %n)}
 
 ; We don't want to use a max in the trip count expression in
 ; this testcase.
index 5c77005848af915e7fa6eea42c6d2525d7705610..0bc9ce8241a8873a06dbbb8b67d83bed1aac5e8b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep select %t | count 2
 ; RUN: grep {icmp ne i32.\* %w } %t
 
index 5d8dbd3a42d7272323e62803d4b516483dc730f8..0c01044b977f89773f20dd848af92f92836b630a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -analyze -disable-output \
+; RUN: opt %s -scalar-evolution -analyze -disable-output \
 ; RUN:  | grep {\\-->  ((-128 \\* %a) /u -128)}
 
 ; Don't let ScalarEvolution fold this div away.
index d820664e7c4634a3b6cebe43cf87f6db2c05c464..f8d7da7c9a0a95b58e84d0e948f25a4f5c2aed55 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep smax
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep smax
 ; PR1614
 
 define i32 @f(i32 %x, i32 %y) {
index 47d7da19d672b769a446b1876457da1090ce1dbb..506401dafea5502d8b56450d8e8cf938689d1cbd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   | grep {\{%d,+,\[^\{\}\]\*\}<bb>}
 
 ; ScalarEvolution should be able to understand the loop and eliminate the casts.
index ce34662fedbac0e6f90399272a0cec86ec56cfd6..c31edabf38eeeafa3a777912d585c43b95748086 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep { -->  {.*,+,.*}<bb>} | count 8
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep { -->  {.*,+,.*}<bb>} | count 8
 
 ; The addrecs in this loop are analyzable only by using nsw information.
 
index a440ac92848d9ead1fb4b78a93c64839add9660a..4de006c4ed182f46a77f580ff64cc5cf7ad96d15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output
+; RUN: opt %s -analyze -scalar-evolution -disable-output
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
   %JavaObject = type { [0 x i32 (...)*]*, i8* }
index 79172243fbb4f9a852ec8bb0462e0cbca9932f7d..10e328ddf7e745a3831adf2fd3a640e0436c2311 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR 3909
 
 
index 60ffaf2685cb7e779a92123f211838fa610637be..0dcf52977a0a1b99fb7b6f129bce323df82227f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scev-aa -aa-eval -print-all-alias-modref-info \
+; RUN: opt %s -scev-aa -aa-eval -print-all-alias-modref-info \
 ; RUN:   |& FileCheck %s
 
 ; At the time of this writing, all of these CHECK lines are cases that
index 6929f3dcfb989befc90cffde1588370a725d85f0..16128354aeb41906f64a2637c6c8509fdba5d8ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output > %t
+; RUN: opt %s -analyze -scalar-evolution -disable-output > %t
 ; RUN: grep {sext i57 \{0,+,199\}<bb> to i64} %t | count 1
 ; RUN: grep {sext i59 \{0,+,199\}<bb> to i64} %t | count 1
 
index dde291f3737504501ab897b3e26dea3833624bdd..8f887c4a57eba119f21f3b209253a53c378fbc8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -scalar-evolution -analyze \
+; RUN: opt %s -disable-output -scalar-evolution -analyze \
 ; RUN:  | grep { -->  \{-128,+,1\}<bb1>                Exits: 127} | count 5
 
 ; Convert (sext {-128,+,1}) to {sext(-128),+,sext(1)}, since the
index fdbdfb7f690b2bd667913336369689d3893c2779..02c3206c6fe76ad052ba3b96639270ef22be8787 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -scalar-evolution -analyze \
+; RUN: opt %s -disable-output -scalar-evolution -analyze \
 ; RUN:  | grep { -->  (sext i. \{.\*,+,.\*\}<bb1> to i64)} | count 5
 
 ; Don't convert (sext {...,+,...}) to {sext(...),+,sext(...)} in cases
index db0d6823531384a3755cd61da1cf7d71e227e137..b25c237958c0315c3a1b3d48056ef593865b239c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | FileCheck %s
+; RUN: opt %s -analyze -scalar-evolution -disable-output | FileCheck %s
 
 ; CHECK: %tmp3 = sext i8 %tmp2 to i32
 ; CHECK: -->  (sext i8 {0,+,1}<bb1> to i32)   Exits: -1
index e87bd88842145e10f70b0848d5be0e5904edc4bc..39de8d6c5a791966a233425a447017793e4d999d 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep smax | count 2
-; RUN: opt %s -analyze -scalar-evolution -disable-output | grep \
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep smax | count 2
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep \
 ; RUN:     {%. smax %. smax %.}
 ; PR1614
 
index f43d19242a6b4f5e8e8bd19c1b3dc5c236429529..66cc304918ae51f96c7d88738f24016a2624d2c3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 10000}
 ; PR1101
 
index 38700e1b1ac409cf7c9a4ab7d9bf99da8bba66fe..bbe64358d4e547ca315c6f70df4ee3e9b313b66a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output | \
+; RUN: opt %s -analyze -scalar-evolution -disable-output | \
 ; RUN:   grep {backedge-taken count is 4}
 ; PR1101
 
index e4ef955b6d7ad90dc79a30218378b82da781b7ca..240983178b4035c9a70f65643265ea5daf547e64 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -analyze -disable-output \
+; RUN: opt %s -scalar-evolution -analyze -disable-output \
 ; RUN:  | grep {Loop bb3\\.i: Unpredictable backedge-taken count\\.}
 
 ; ScalarEvolution can't compute a trip count because it doesn't know if
index 31e8110d9904b3befffb42c4bc821b20435ab52d..e8d59cf550a835b694acbfec3c5cded36edd7377 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   | grep {sext.*trunc.*Exits: 11}
 
 ; ScalarEvolution should be able to compute a loop exit value for %indvar.i8.
index 5e286e3c24fc04dc3d076f3637b997106c88adb2..2512a966ed206ec13c7403b1b9d129b38d965dd3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output > %t
+; RUN: opt %s -analyze -scalar-evolution -disable-output > %t
 ; RUN: grep sext %t | count 2
 ; RUN: not grep {(sext} %t
 
index 89fdc3ade6d05625894271e5d9adb07f04db76a1..5833286317cea87e0f09e3325747d106effc3b16 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -disable-output -scalar-evolution \
+; RUN: opt %s -analyze -disable-output -scalar-evolution \
 ; RUN:  | grep {max backedge-taken count is 1\$}
 
 @mode_table = global [4 x i32] zeroinitializer          ; <[4 x i32]*> [#uses=1]
index 6534e6eae718f438a7baf8c0bc209bf2a1ec6d25..0cd8d7c4a9a3a8f2b2db681e70081ddffa2a84b0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   | grep {Loop bb7.i: Unpredictable backedge-taken count\\.}
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index 312a3b5de5c0aa9fe9744de6be5dec34a332bfb3..c49f5ceea70427cff078229d6ad316cd373193ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:  | grep {Loop for\\.body: backedge-taken count is (-1 + \[%\]ecx)}
 ; PR4599
 
index 8541af4176e61e70073518ba7bb1a5c55d01e1fd..c8339d7138d9d79010ee53cdd252beb13be88e91 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -disable-output -analyze \
+; RUN: opt %s -scalar-evolution -disable-output -analyze \
 ; RUN:   | grep {\\-->  (zext i4 (-8 + (trunc i64 (8 \\* %x) to i4)) to i64)}
 
 ; ScalarEvolution shouldn't try to analyze %z into something like
index 6b4020134e2cbf27f278040265986611bc0e1104..9ff99be736a04e18c65f9f7dcdd73fe99bbae41c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:  | FileCheck %s
 ; PR4569
 
index 1ba9270fcf6b346bc9b251bd2e949f832886ac94..7960c20ddcea9d4b59a685496ebc07f379f971b4 100644 (file)
@@ -4,7 +4,7 @@
 ; Check by running globaldce, which will remove the constant if there are
 ; no references to it!
 ; 
-; RUN: opt %s -globaldce -S | \
+; RUN: opt %s -globaldce -S | \
 ; RUN:   not grep constant
 ;
 
index 85d892dccbe336912b84d0585f6cdb3c93937b4b..567e9ded09dfe41b5d097330ef2f4991784599aa 100644 (file)
@@ -1,7 +1,7 @@
 ; Testcase that seems to break the bytecode reader.  This comes from the
 ; "crafty" spec benchmark.
 ;
-; RUN: opt %s -instcombine -S | llvm-as
+; RUN: opt %s -instcombine -S | llvm-as
        
 %CHESS_POSITION = type { i32, i32 }
 @pawn_probes = external global i32             ; <i32*> [#uses=0]
index 3f0ff8a0621ba1cb4d37ba62e59c8d3f56ec227c..32c893a9f5f19f8ce5b743b929d155f48140c028 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -verify -S | llvm-as -disable-output
+; RUN: opt %s -verify -S | llvm-as -disable-output
 
 define {i32, i8} @foo(i32 %p) {
   ret i32 1, i8 2
index 94529b9e24d721ae3d3e97684c35ea5d843aa6e4..f61a44cbd15d933745a4c5aae6164f141593f2a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -strip -S | llvm-as | llvm-dis
+; RUN: opt %s -strip -S | llvm-as | llvm-dis
 
 ; Stripping the name from A should not break references to it.
 %A = type opaque
index 88229678783f37f401bfaf8b15f6e44cd379e52f..d88f811e8e9cc0fbf9114c74db4e6ab27d1a6a42 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop | llvm-dis
+; RUN: opt %s -constprop | llvm-dis
 ; PR3465
 
 define double @test() {
index d4344a0e0d01e156e5097d37cb23f9232647bb9e..dda376d6168e048dc17ec45e67c664f5cb09f1eb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -argpromotion
+; RUN: opt %s -anders-aa -argpromotion
 
 declare void @llvm.gcroot(i8**, i8*)
 
index 4ee0b87a6e14d4dc366fc45b45252ca771b118c4..176019020ad4fe77c54f961bb987c89c70846a8c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim
+; RUN: opt %s -deadargelim
 
 declare void @llvm.gcroot(i8**, i8*)
 
index 5dd171abd2efa2f1fd1a4593fc295ffa9df0a3be..9da33aef8dd381651a973f67cbdb4337453912bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | grep example
+; RUN: opt %s -inline -S | grep example
 
        %IntArray = type { i32, [0 x i32*] }
 
index ad98e3e3453c895c9220b4f9355681d5d3d2f61a..15947056ee39eabeb27226e08ae277ade5ac63bd 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -inline -S | grep sample
-; RUN: opt %s -inline -S | grep example
+; RUN: opt %s -inline -S | grep sample
+; RUN: opt %s -inline -S | grep example
 
        %IntArray = type { i32, [0 x i32*] }
 
index a4dbdf4d43fd0342bf2dee201006bbd851d93597..1047fe5d3ba9e47210940df1dc64f6c738b86add 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts | llc > %t
+; RUN: opt %s -std-compile-opts | llc > %t
 ; ModuleID = 'ld3.c'
 target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
 target triple = "powerpc-apple-darwin8"
index e234f06289826a1b473e2e658abd504d7fdbb848..82706321c1c194c52ed8a77b50292659d246581f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | \
+; RUN: opt %s -instcombine | \
 ; RUN:   llc -march=ppc32 -mcpu=g5 | not grep vperm
 ; RUN: llc < %s -march=ppc32 -mcpu=g5 > %t
 ; RUN: grep vsldoi  %t | count 2
index 7eadda86e60624798bb360b8954075abcdbeae79..e542325b63697c7dee6ba27c95a339cc070e00df 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep 302245289961712575840256
-; RUN: opt %s -instcombine -S | grep K40018000000000000000
+; RUN: opt %s -instcombine -S | grep 302245289961712575840256
+; RUN: opt %s -instcombine -S | grep K40018000000000000000
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin9"
 
index a67a2128f696fe3cca90f8e8fb9d5f56e548e477..a43d43023196d981298f4034c8bd8a079d0c02bc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts | llc
+; RUN: opt %s -std-compile-opts | llc
 ; ModuleID = 'block12.c'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin8"
index 28ee39380f61ef2b9eb28180c5d6c0af588e4932..0b56644f125a453c1bb4d88205feb6cf16ad16e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts | llc > %t
+; RUN: opt %s -std-compile-opts | llc > %t
 ; RUN: grep 2147027116 %t | count 3
 ; RUN: grep 2147228864 %t | count 3
 ; RUN: grep 2146502828 %t | count 3
index b3a61cafbe92ab78efb933471277065b5989464d..bf43deb1d19a6749e14641fc2ae92fb291362a3a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -instcombine | \
+; RUN: opt %s -scalarrepl -instcombine | \
 ; RUN:   llc -march=x86 -mcpu=yonah | not grep sub.*esp
 
 ; This checks that various insert/extract idiom work without going to the
index 4f955e9c3460f763381fb2743d10dd3ecde55fa5..9f47f16153de766fe5419162b8c4088b36b0dc53 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep store | count 5
+; RUN: opt %s -instcombine -S | grep store | count 5
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.6"
index 8d4961453863bca3c400e026e53a745ea7319f8f..0705c155f9f7cad7ab4579b85e88d2c438f014be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep alloca
+; RUN: opt %s -instcombine -S | not grep alloca
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.6"
index 8fad616d0f62e1341453175f0626cd163fe0f1ae..75d3a6943393beed8e1600759f6befbb21891533 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep alloca
+; RUN: opt %s -instcombine -S | not grep alloca
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.6"
index 68b12279f3cde6a6acf3dec37b4dbfa28096093a..c5fe7ad6c80326812ea88955db645520ebeac741 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -print-dbginfo -disable-output | FileCheck %s
+; RUN: opt %s -print-dbginfo -disable-output | FileCheck %s
 ;  grep {%b is variable b of type x declared at x.c:7} %t1
 ;  grep {%2 is variable b of type x declared at x.c:7} %t1
 ;  grep {@c.1442 is variable c of type int declared at x.c:4} %t1
index cdc57085b5d4094131ecf948f9dd59a56de690d7..e2e222f4edcf46e4c49d331198dc6a3f054cdccd 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1318
-; RUN: opt %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \
+; RUN: opt %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \
 ; RUN:   -disable-output |& grep Hello
 
 @junk = global i32 0
index 1fd0368480ed701ff8953fa51bf08ff6384c9993..0e4c877512631a73efa9d16cfc4579ef58430ed9 100644 (file)
@@ -1,6 +1,6 @@
 ;  Call graph construction crash: Not handling indirect calls right
 ;
-; RUN: opt %s -analyze -print-callgraph >& /dev/null
+; RUN: opt %s -analyze -print-callgraph >& /dev/null
 ;
 
         %FunTy = type i32 (i32)
index c5c2f38021aa2f0349bb5a9fbe9ed9e3220f8098..db26942096d4554f4edf6cc1c1fe895db6df6acc 100644 (file)
@@ -1,7 +1,7 @@
 ; Inlining used to break PHI nodes.  This tests that they are correctly updated
 ; when a node is split around the call instruction.  The verifier caught the error.
 ;
-; RUN: opt %s -inline
+; RUN: opt %s -inline
 ;
 
 define i64 @test(i64 %X) {
index b1e727565a37b844a8887ab3dfc75124cff80301..a6d4f5b3dbcc3d895e59705ba7134b0ac00e4b3e 100644 (file)
@@ -5,7 +5,7 @@
 ;
 ; Fixed by adding new arguments to ConstantFoldTerminator
 ;
-; RUN: opt %s -constprop
+; RUN: opt %s -constprop
 
 define void @build_tree(i32 %ml) {
 ; <label>:0
index 2672c9f07b33319f4387b1990dc614fe34a90e1c..267b0e8986d27a0335740d2ab60531288c21e23f 100644 (file)
@@ -2,7 +2,7 @@
 ; figure out that loop "Inner" should be nested inside of leep "LoopHeader", 
 ; and instead nests it just inside loop "Top"
 ;
-; RUN: opt %s -analyze -loops | \
+; RUN: opt %s -analyze -loops | \
 ; RUN:   grep {     Loop at depth 3 containing: %Inner<header><latch><exit>}
 ;
 define void @test() {
index 3d1c3749a09037ee209fa6035338d4c67a7e6436..c436e07a9ca946c40391f59ba8df3fb9ee2e1db6 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: opt %s -codegenprepare -disable-output
+;RUN: opt %s -codegenprepare -disable-output
 
 define void @foo() {
 entry:
index ce540484128d49927d9b5589dea20b9320b3c900..7a03544f691b3dbabafc468a19e77ee7e22ddfd5 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: opt %s -analyze -dot-cfg-only -disable-output 2>/dev/null
+;RUN: opt %s -analyze -dot-cfg-only -disable-output 2>/dev/null
 ;PR 1497
 
 define void @foo() {
index 20e323f68b44ad5a3e4531ae8293b3d1e140ade8..ded15e569511873c680ae20608a7d38393d0a820 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -indvars -disable-output
+; RUN: opt %s -loop-unswitch -indvars -disable-output
 ; Require SCEV before LCSSA.
 define void @foo() {
 entry:
index 8411d60f157f3e57086bfe70751c4124f442d35b..e2082228e3dc747b93fe8d36f9a23ab60911610b 100644 (file)
@@ -1,5 +1,5 @@
 ; PR 2034
-; RUN: opt %s -anders-aa -instcombine  -gvn -disable-output
+; RUN: opt %s -anders-aa -instcombine  -gvn -disable-output
        %struct.FULL = type { i32, i32, [1000 x float*] }
 
 define i32 @sgesl(%struct.FULL* %a, i32* %ipvt, float* %b, i32 %job) {
index 50aec822e72d023f8a8576aff2ef407fbddac30b..d90209f6af36da08ecd5aa8fb541ed580a185f0b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep true
+; RUN: opt %s -instcombine -S | grep true
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index f62885278e1b69df2cdc6811a9be65b809341e2a..7cec2c57c2f62affc5720b74f0568ffcd97fdfd9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -internalize -disable-output
+; RUN: opt %s -inline -internalize -disable-output
 define void @foo() nounwind {
   ret void
 }
index dc6fc6bda51e75c5c9ee769a4a9a4c1d7e0866d1..d6653ecbe8ef2cbf55e2f01f6d8a77669b02fad1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -prune-eh -disable-output
+; RUN: opt %s -inline -prune-eh -disable-output
 define void @f2() {
     invoke void @f6()
         to label %ok1 unwind label %lpad1
index 51e1466f5082eb51f8f55c55bcc1e097898403d0..0d02e3c9e2f5a4ba3f6f637dbe2937044413988a 100644 (file)
@@ -1,4 +1,4 @@
 
-; RUN: opt %s -verify -S | grep noimplicitfloat
+; RUN: opt %s -verify -S | grep noimplicitfloat
 define void @f() noimplicitfloat {
 }
index d150ce0eb694a4110a6d117d49c5bf194fec6152..0095be1f5a164759e91f91c8f7d3565785c36464 100644 (file)
@@ -1,6 +1,6 @@
 ; It is illegal to remove BB1 because it will mess up the PHI node!
 ;
-; RUN: opt %s -adce -S | grep BB1
+; RUN: opt %s -adce -S | grep BB1
 
 define i32 @test(i1 %C, i32 %A, i32 %B) {
 ; <label>:0
index 590bdeff8182d9bc24f1985aeb293e4ffafdc986..9407b5a68d6924c636e12cf99bc6da207826c0a5 100644 (file)
@@ -4,7 +4,7 @@
 ; removed even though there were uses still around.  Now the uses are filled
 ; in with a dummy value before the PHI is deleted.
 ;
-; RUN: opt %s -adce
+; RUN: opt %s -adce
        
         %node_t = type { double*, %node_t*, %node_t**, double**, double*, i32, i32 }
 
index 17e9eeb0701e2e35ae41cd0ef89025fbb61246d3..337be9f4fa43fbca994049cd72302ceb84ad606b 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase is a distilled form of: 2002-05-28-Crash.ll
 
-; RUN: opt %s -adce 
+; RUN: opt %s -adce 
 
 define float @test(i32 %i) {
         %F = sitofp i32 %i to float             ; <float> [#uses=1]
index 346ad74a0fe01eca7f7701fe48341a382444d1af..9bbbd055ff96be3a906b84ff31cb4b20668de5a7 100644 (file)
@@ -11,7 +11,7 @@
 ;  return !s;
 ;}
 ;
-; RUN: opt %s -adce
+; RUN: opt %s -adce
 
 define i32 @rx_bitset_empty(i32 %size, i32* %set) {
 bb1:
index ee406b67e3b1dda3a9861e0b051e3f6e3845a483..8f8dadf7332fa455511aaa33c292cd3a0af1550c 100644 (file)
@@ -3,7 +3,7 @@
 ; block in this function, it would work fine, but that would be the part we 
 ; have to fix now, wouldn't it....
 ;
-; RUN: opt %s -adce
+; RUN: opt %s -adce
 
 define void @foo(i8* %reg5481) {
         %cast611 = bitcast i8* %reg5481 to i8**         ; <i8**> [#uses=1]
index 64219a2062bc0e6029566ea9ea62e470536570d6..2f0df670d6ac0052596244b2a8d1947ed638a4b5 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase was extracted from the gzip SPEC benchmark
 ;
-; RUN: opt %s -adce
+; RUN: opt %s -adce
 
 @bk = external global i32               ; <i32*> [#uses=2]
 @hufts = external global i32            ; <i32*> [#uses=1]
index 33107f136fa0c97878b6a4b0ab72a26f2fa8ee63..1c8e6e8adf0507cc3983399cdd89a3f34f9e8cc6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
         br label %BB3
index 9a3bc2a35cb53a7720e12581613cb91fe1637ca3..17003be9fb149a2570af51aa6ca771810278ebd3 100644 (file)
@@ -1,5 +1,5 @@
 ; Testcase reduced from 197.parser by bugpoint
-; RUN: opt %s -adce 
+; RUN: opt %s -adce 
 
 define void @conjunction_prune() {
 ; <label>:0
index 8474e26a4761b2e9be03fe9baa3f8eab6345e9bd..d30df19fc7c4e6e204e02bc5b7fc17caff8b0821 100644 (file)
@@ -2,7 +2,7 @@
 ; entries for it's postdominator.  But I think this can only happen when the 
 ; PHI node is dead, so we just avoid patching up dead PHI nodes.
 
-; RUN: opt %s -adce
+; RUN: opt %s -adce
 
 target datalayout = "e-p:32:32"
 
index fe8799481a7ec561ed014c43758385400daf4c63..5206b243e3727103c1da72e9ccc99c7e86dcb0e4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 @G = external global i32*               ; <i32**> [#uses=1]
 
index 40749f0d6aa549c51e8b6026cebd2f9edb68b9bc..eb3ef1e7913faa574c7635514a521f4020cd7cbd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 target datalayout = "e-p:32:32"
        %struct..CppObjTypeDesc = type { i32, i16, i16 }
        %struct..TypeToken = type { i32, i16, i16 }
index 4269c4fe6242b2148025ace5cde747c756c6e427..82fa5b2a40e1cee687251dabf1129d9db8544e7a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -simplifycfg -S | not grep then:
+; RUN: opt %s -adce -simplifycfg -S | not grep then:
 
 define void @dead_test8(i32* %data.1, i32 %idx.1) {
 entry:
index 69760b56e7be146e68f657941c9e034c9b15ffce..444ca8ec904b9480d566eaaedf21f169f49ee6c8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
         br i1 false, label %then, label %endif
index 2319c499ea8c90a3b57b54183d6483ef25d360e9..499ac515e449f93bbbb3b92ccf10749bcd02b6d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define i32 @main() {
         br label %loop
index 7d3027f098bff29c6591d288abb47c687c7305a6..5ba1a2eadfc5f54adf99aabb6132fe8ea9be8abc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -simplifycfg -S | grep call
+; RUN: opt %s -adce -simplifycfg -S | grep call
 declare void @exit(i32)
 
 define i32 @main(i32 %argc) {
index 675670e18709a64168fb19d9d4790ed5e61747a6..a6a41fd69effe9199ab7ca7eae70994be6721426 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
 entry:
index 08708b380f600d51d91e6fd43ef29220670d13b1..991e876a25b77faa16ef9883ca30909bf67cf50d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 declare void @strlen()
 
index 814c2a85d10b36448e1eb5349cdf4bc1394bc54e..378d70288f3f5992e50e3cf1c132686a93cdeb45 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -simplifycfg | llvm-dis
+; RUN: opt %s -adce -simplifycfg | llvm-dis
 
 define i32 @Test(i32 %A, i32 %B) {
 BB1:
index 922586acfc44b2a0b1700a4d6d1bff3445024cda..bbb88783deb288e18e02aaa690141e75100d3650 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -simplifycfg | llvm-dis    
+; RUN: opt < %s -adce -simplifycfg | llvm-dis  
 %FILE = type { i32, i8*, i8*, i8, i8, i32, i32, i32 }
        %spec_fd_t = type { i32, i32, i32, i8* }
 @__iob = external global [20 x %FILE]          ; <[20 x %FILE]*> [#uses=1]
index 0193838d3fe863a1727849b2c2562b0374d7ec1d..a17795f142468c6af9f06313d6c2a6c6876079a9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -simplifycfg | llvm-dis
+; RUN: opt %s -adce -simplifycfg | llvm-dis
        %FILE = type { i32, i8*, i8*, i8, i8, i32, i32, i32 }
        %spec_fd_t = type { i32, i32, i32, i8* }
 @__iob = external global [20 x %FILE]          ; <[20 x %FILE]*> [#uses=1]
index c238d62cfb4cd925fd46b0ad922da92384788616..c16d45cc239394fb6ac60fad737a719fe880972d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -S | grep null
+; RUN: opt %s -adce -S | grep null
 
 declare i32 @strlen(i8*) readnone
 
index d806b7f37694e510d68feacd2c4038aa9487a965..7c6a30ec6b6fc4126b90fefc05f83b069b20acd1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
        unreachable
index 2f50229abb3954e5aacde6f3a1d766dc3794d83b..e740b29f9288b87489d5008b9657c0bd97669984 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -S | grep nounwind | count 2
+; RUN: opt %s -argpromotion -S | grep nounwind | count 2
 
 define internal i32 @deref(i32* %x) nounwind {
 entry:
index 787006e0ba7a3a42c1b70d398fd5a5750d82f035..d7d5eb548a1c5e3cd8ec6f65dfdff704e83861f2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -S > %t
+; RUN: opt %s -argpromotion -S > %t
 ; RUN: cat %t | grep {define.*@callee(.*i32\\*}
 ; PR2498
 
index e7fc4fba13098697c1a8ff94f244a61b2c23c15a..7ee6654ea4635c970bf2d77c3debcfda7c0a6aa2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -argpromotion -disable-output
+; RUN: opt %s -inline -argpromotion -disable-output
 
 define internal fastcc i32 @hash(i32* %ts, i32 %mod) nounwind {
 entry:
index 2b4c49b04e0960f5ece4cb6cc9a8eaf81863a9df..aff917c6a5a745eef1f2312aa09d57dd14789d69 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -disable-output
+; RUN: opt %s -argpromotion -disable-output
 
 define internal fastcc i32 @term_SharingList(i32* %Term, i32* %List) nounwind {
 entry:
index d4883e78bf6f6175f75c128f09058551ed92b14e..6a60e6144d944840797a59ab05188390351648c6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -instcombine -S | not grep load
+; RUN: opt %s -argpromotion -instcombine -S | not grep load
 
 %QuadTy = type { i32, i32, i32, i32 }
 @G = constant %QuadTy {
index 91ca624d55a0fb92792020515ab8cb507c0a6ca5..49c075029951eed7abccabfc57b9f1263261bacd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -S | grep zeroext
+; RUN: opt %s -argpromotion -S | grep zeroext
 
        %struct.ss = type { i32, i64 }
 
index f2046080eea95c1efae8ab555c7723d36927249c..87f6371a7eb6849160e6efe8c98790add1e7219c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -mem2reg -S | not grep alloca
+; RUN: opt %s -argpromotion -mem2reg -S | not grep alloca
 define internal i32 @test(i32* %X, i32* %Y) {
         %A = load i32* %X               ; <i32> [#uses=1]
         %B = load i32* %Y               ; <i32> [#uses=1]
index ff4506da9582b76565cb42bf15cc019fb23545e7..bd62c6835f3b46691fb9ebceb88224c6b9cbfab6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -S | grep -F {i32* byval} | count 2
+; RUN: opt %s -argpromotion -S | grep -F {i32* byval} | count 2
 ; Argpromote + scalarrepl should change this to passing the two integers by value.
 
        %struct.ss = type { i32, i64 }
index 0daa033e7c86a8c42744a9d02563bd33f47402c6..052528ab7089ce672ec54238b6271d83732b7780 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -scalarrepl -S | not grep load
+; RUN: opt %s -argpromotion -scalarrepl -S | not grep load
 ; Argpromote + scalarrepl should change this to passing the two integers by value.
 
        %struct.ss = type { i32, i64 }
index 3c0c9a46ce42734474f40a63cba89234ccc12dd4..989043d7ea58604964c9605bc35857d7c0cb5f5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -simplifycfg -constmerge | llvm-dis
+; RUN: opt %s -argpromotion -simplifycfg -constmerge | llvm-dis
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin10.0"
 
index 99bd6bd547857e2902acfcb02fe9330cbd3577d6..5ccb7526cbc8b05c6f4a35f4a559446d31564a03 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -instcombine -S | not grep load
+; RUN: opt %s -argpromotion -instcombine -S | not grep load
 
 @G1 = constant i32 0            ; <i32*> [#uses=1]
 @G2 = constant i32* @G1         ; <i32**> [#uses=1]
index 48d3006324f44dfd3321147a10942a38822b0f24..08ca6bccd632cd8b098887119224a658693a3c03 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -S | \
+; RUN: opt %s -argpromotion -S | \
 ; RUN:    not grep {load i32\* null}
 
 define internal i32 @callee(i1 %C, i32* %P) {
index 2c42bea6114ee36531b18ce87c60430c8168bd08..79b44d41096ee0a0ce4e410fc839e61418f74815 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -argpromotion -S | \
+; RUN: opt %s -argpromotion -S | \
 ; RUN:   grep {load i32\\* %A}
 
 define internal i32 @callee(i1 %C, i32* %P) {
index 86761f298b90c9126e58504c79aef9cbe9f51093..3048c603deb3690179b9f4b958440ac553d588b6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -loop-extract-single -loop-rotate -loop-reduce -argpromotion
+; RUN: opt %s -disable-output -loop-extract-single -loop-rotate -loop-reduce -argpromotion
 ; PR 3085
 
        %struct.Lit = type { i8 }
index f3b8e3625a66287c28d1fc91f74d2082ab1c36b1..47b507903bce234556dd4d148f455c4b4a022d74 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -block-placement -disable-output -print-function 2> /dev/null
+; RUN: opt %s -block-placement -disable-output -print-function 2> /dev/null
 
 define i32 @test() {
         br i1 true, label %X, label %Y
index 01ce42411f24f3a61c4bef8c2264c34d8a9b860a..9d82819f9db4a2fd88d2ef768ce8e1c8b5e561d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts -o - | llc -o - | grep bork_directive | wc -l | grep 2
+; RUN: opt %s -std-compile-opts -o - | llc -o - | grep bork_directive | wc -l | grep 2
 
 ;; We don't want branch folding to fold asm directives.
 
index 7654a38a6e959571e81369d90b30ba2427aa498f..3d0339bc2dbb16a824cdc4e3406f7bc2d531e862 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 define void @solve() {
 entry:
index 1f08985fdd8b724059899bb201a6c88f4446a9ab..a6ee63ec45aef96a384386c61d6f2628f878c36e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 ; This testcase is failing the loop extractor because not all exit blocks 
 ; are dominated by all of the live-outs.
 
index 385182f954ea4827fe09d57d4d3dea287e3d1683..7cd72797a675322ca33956946fcd2ec402775004 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-extract-single -disable-output
+; RUN: opt %s -loop-extract-single -disable-output
 
 define void @ab() {
 entry:
index 74584a9245030c640b913f587668257e7520735a..01fe54be29ac7dddea17dca5a7820a06eb524ffe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 define void @sendMTFValues() {
 entry:
index 9264d4a87fc9a3e5f95e97693d6d0b5bbaa726f3..0fbd3307ae31d093975fc3b4e973b3fdc79065e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 %struct.node_t = type { double*, %struct.node_t*, %struct.node_t**, double**, double*, i32, i32 }
 %struct.table_t = type { [1 x %struct.node_t**], [1 x %struct.node_t**] }
index 17368424dd74ae927a057627e5dd067fe15d6bc5..6b306d232e04189464141fbce4d0a4a0c45bf324 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 define void @maketree() {
 entry:
index 394dd6d69f467867241d11185ae83fa22be48ef8..91e9799ad9cab40a4236f5179f2e29f284c92394 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 declare i32 @_IO_getc()
 
index c9013e53309529c2fc3ec75c41c5f44dbedc5f19..9f70bdc71b1b16e445497ee336da74b15ebb63bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -extract-blocks -disable-output
+; RUN: opt %s -extract-blocks -disable-output
 
 define void @test1() {
 no_exit.0.i:
index 19769a2bf84eb2ec8a0217d6c44f066210f88131..fc58577f67abf8d8abfb7842ab8dd8ffbfa230aa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -extract-blocks -disable-output
+; RUN: opt %s -extract-blocks -disable-output
 define i32 @foo() {
         br label %EB
 
index 28f0891a9c704f09d9cccba2a8cf51a551821522..1995c7fda29127ebbe79c9ca989efee3f9aef5c5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -codegenprepare | llvm-dis
+; RUN: opt %s -codegenprepare | llvm-dis
 ; PR3113
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index 6ed07d81808a488fb005768e764022c9b6c6c6b0..754d19d166e8ebf7d132bcebd10fc5c1720ee6d7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -condprop -disable-output
+; RUN: opt %s -condprop -disable-output
 ; PR877
 target datalayout = "E-p:32:32"
 target triple = "powerpc-apple-darwin9.0.0d1"
index f50e3742cd7f2bf0fcd48e86a2c293c878d89e85..4df8ff94499a7d9809d9e3e467a888343c01a6b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -condprop -disable-output
+; RUN: opt %s -condprop -disable-output
 ; PR979
 
 target datalayout = "e-p:32:32"
index 91461fd885a1f79454e88e05ed61a57051bd1092..6d5f0f5a3aca6277d6a5ae655a8548ecedd2efab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -tailduplicate -condprop -simplifycfg -disable-output
+; RUN: opt %s -inline -tailduplicate -condprop -simplifycfg -disable-output
 ; PR1575
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-pc-linux-gnu"
index 53eee9e5e3e563b7413c5bfa924d8ef6c18f5480..58dd29f5e28e1105cb68c93bbbb541442155e117 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -condprop | llvm-dis
+; RUN: opt %s -condprop | llvm-dis
 ; PR3405
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index c7a56b8431bf9f1766b4cbb22c6dba3b42d31cdb..9e05ff15105fc1eb461cab46bcb2fbbe372b945e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -condprop -S | \
+; RUN: opt %s -condprop -S | \
 ; RUN:    not grep {br label}
 
         %llvm.dbg.anchor.type = type { i32, i32 }
index afe5b352eebe2a998fc561d5ba5ccdb84da74aba..49d473533a10b61906bb3448efe97c97a78298e2 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -condprop -S | \
+; RUN: opt %s -condprop -S | \
 ; RUN:    not grep {br label}
-; RUN: opt %s -condprop -S | not grep T2
+; RUN: opt %s -condprop -S | not grep T2
 
 
 define i32 @test(i1 %C) {
index 202322f34f1a1315aa3b73ab7bc0be9a0d846b3a..15a6211893826ccbe134e613fcc9e180beff8a19 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure that the constant propogator doesn't divide by zero!
 ;
-; RUN: opt %s -constprop
+; RUN: opt %s -constprop
 ;
 
 define i32 @test() {
index 295ef0c0bc82e189ada5a7c009d615c288e61296..d9cd67406b06c9695836a7e2f11c869fdd22b1cc 100644 (file)
@@ -4,7 +4,7 @@
 
 ; Fix #2: The unary not instruction now no longer exists. Change to xor.
 
-; RUN: opt %s -constprop -S | \
+; RUN: opt %s -constprop -S | \
 ; RUN:   not grep {i32 0}
 
 define i32 @test1() {
index c3600673d5740c579ff56737f51b6b87d9ad0128..dd24d965620cee7aa0822971985411604b9bacb0 100644 (file)
@@ -1,6 +1,6 @@
 ; SetCC on boolean values was not implemented!
 
-; RUN: opt %s -constprop -die -S | \
+; RUN: opt %s -constprop -die -S | \
 ; RUN:   not grep set
 
 define i1 @test1() {
index ee38bbf34c95374099806d000e3a21eb54a98301..2708dce9852dc04285a4f9524079857c406e2a7a 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure that the constant propagator doesn't cause a sigfpe
 ;
-; RUN: opt %s -constprop
+; RUN: opt %s -constprop
 ;
 
 define i32 @test() {
index 6a7f79441436299d3e34964180b7490235672f92..0b44b99f6a95dfc27406c0686a8f99603388c17e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop -S | \
+; RUN: opt %s -constprop -S | \
 ; RUN:    not grep {ret i1 false}
 
 @b = external global [2 x {  }]         ; <[2 x {  }]*> [#uses=2]
index 571e460573f06e1ab01ec91af6ac48c50062240d..be76783e8b73b83261e223a772ef9f5334aa5c7c 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -constprop -S | \
+; RUN: opt %s -constprop -S | \
 ; RUN:   grep {i32 -1}
-; RUN: opt %s -constprop -S | \
+; RUN: opt %s -constprop -S | \
 ; RUN:   not grep zeroinitializer
 
 define <4 x i32> @test() {
index 07d6220ec76d6542b177df141f81f8383b58b1ca..e46a875a7cfad9bd8aa338bd7562dd3d3b0a35f4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {ret i1 false}
 define i1 @test() {
         %X = trunc i32 320 to i1                ; <i1> [#uses=1]
index a32191c76f13db482c884974f33b81b83a32003c..3c06693b100df0df8951e5c3ae37be905d894621 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -constprop -S | \
+; RUN: opt %s -constprop -S | \
 ; RUN:    grep {ret i32 -1}
-; RUN: opt %s -constprop -S | \
+; RUN: opt %s -constprop -S | \
 ; RUN:    grep {ret i32 1}
 
 define i32 @test1() {
index cb69564144f481b2604d237981d3a510ff0c222a..ebe3d21806b7d6210819947fa660fbea8d20d61e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop -S | grep 1065353216
+; RUN: opt %s -constprop -S | grep 1065353216
 
 define i32 @test() {
         %A = bitcast float 1.000000e+00 to i32          ; <i32> [#uses=1]
index 0fba0808822e7201a9890cabf4d9464e92a1f2b3..37cda303713b3e5ac0a772ef758725260d02d905 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop -S | grep {ret i13 13}
+; RUN: opt %s -constprop -S | grep {ret i13 13}
 ; PR1816
 declare i13 @llvm.cttz.i13(i13)
 
index 2f1bf2a4bb639b5a65ef83ecf14f4608faad8264..fd5495445b7952a85df60ad65596b5c4435342ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop -disable-output
+; RUN: opt %s -constprop -disable-output
 ; PR2529
 define <4 x i1> @test1(i32 %argc, i8** %argv) {
 entry:  
index 8a233143b24b9be744be7fdc6de985c79334225d..fc7ff905ecb024ed24ce3557901d35da1eabea66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop | llvm-dis
+; RUN: opt %s -constprop | llvm-dis
 ; PR4848
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index 900a9afeaa57b9829fd944fafe465892b26a130e..cf1ba313eae1fe59c33ddd6aded01c21a7633020 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: opt %s -constprop -die -S | not grep add
+; RUN: opt %s -constprop -die -S | not grep add
 
 define i32 @test(i1 %B) {
         br i1 %B, label %BB1, label %BB2
index df1ee491e508d9255a18fb34d72e4940670b81bf..9fce309b7887f21f99fdb6a9571715fbc23507a8 100644 (file)
@@ -1,6 +1,6 @@
 ; bswap should be constant folded when it is passed a constant argument
 
-; RUN: opt %s -constprop -S | not grep call
+; RUN: opt %s -constprop -S | not grep call
 
 declare i16 @llvm.bswap.i16(i16)
 
index e96061d3b69bcde08df4d96c76e9ce74d43fbc94..f78a34fe703d6d83120e62ab9d5ce73b4202aee5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i32 0}
+; RUN: opt %s -instcombine -S | grep {ret i32 0}
 ; PR4424
 declare void @ext()
 
index 8ab76d997b1a80eebbb92bb1a58c6f40cd7d3cff..d8eb3e8b652c89a272fceec8cf7d7751627f0f3e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop -S | \
+; RUN: opt %s -constprop -S | \
 ; RUN:    grep -F {ret i32* null} | count 2
 
 define i32* @test1() {
index f7a18d45c3fcc4db1e2603acd807d745e5206c78..799cecaae60a98ae345929fb68b8d76b67098155 100644 (file)
@@ -1,6 +1,6 @@
 ; Ensure constant propogation of 'not' instructions is working correctly.
 
-; RUN: opt %s -constprop -die -S | not grep xor
+; RUN: opt %s -constprop -die -S | not grep xor
 
 define i32 @test1() {
         %R = xor i32 4, -1              ; <i32> [#uses=1]
index 609876400279446e100bcb686d7ad7447e346f92..b7b05cf1c37007c50be43dfa0b4f165e6c5aa162 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constmerge > /dev/null
+; RUN: opt %s -constmerge > /dev/null
 
 @foo.upgrd.1 = internal constant { i32 } { i32 7 }              ; <{ i32 }*> [#uses=1]
 @bar = internal constant { i32 } { i32 7 }              ; <{ i32 }*> [#uses=1]
index 74ce5156266dd214f7a45ebd40a6f149cbb23611..cea18a05efb298981a42bf6bf26e81fb32992ee5 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -constmerge -S | grep foo
-; RUN: opt %s -constmerge -S | grep bar
+; RUN: opt %s -constmerge -S | grep foo
+; RUN: opt %s -constmerge -S | grep bar
 
 ; Don't merge constants in different sections.
 
index ecd596536a22a1870c837799b87cbec6e112f3da..fac6dd24efb1f26b4ab53639f85b5e062b96aec5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -disable-output
+; RUN: opt %s -deadargelim -disable-output
 
 define internal void @build_delaunay({ i32 }* sret  %agg.result) {
         ret void
index deb9aed65de316e9e4007958647ac4099c45895f..d5bd6c4df53c5c901a7e8772550d291d1bc97564 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -deadargelim -S | grep {@test(}
-; RUN: opt %s -deadargelim -S | not grep dead
+; RUN: opt %s -deadargelim -S | grep {@test(}
+; RUN: opt %s -deadargelim -S | not grep dead
 
 define internal i32 @test(i32 %X, i32 %dead) {
        ret i32 %X
index bfbb636bb718dc8f3b81ed49efb80db0d17d4fcd..d4edce9baf655b78e1301c2af280d77e6606f464 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -S | not grep {ret i32 0}
+; RUN: opt %s -deadargelim -S | not grep {ret i32 0}
 ; PR1735
 
 define internal i32 @test(i32 %A, ...) { 
index 306d1b7d7d67f86d79a4755c7e4d438fad02435f..0e9c4f74e6a8faebad2de22ad460891cd795bde0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -S > %t
+; RUN: opt %s -deadargelim -S > %t
 ; RUN: cat %t | grep nounwind | count 2
 ; RUN: cat %t | grep signext | count 2
 ; RUN: cat %t | not grep inreg
index 093476df35bb5067ca35b17c30ee15a02a0fbddf..93282f7f8f2b9b5bf57b818394894624f7390f75 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -S | grep byval
+; RUN: opt %s -deadargelim -S | grep byval
 
        %struct.point = type { double, double }
 @pts = global [4 x %struct.point] [ %struct.point { double 1.000000e+00, double 2.000000e+00 }, %struct.point { double 3.000000e+00, double 4.000000e+00 }, %struct.point { double 5.000000e+00, double 6.000000e+00 }, %struct.point { double 7.000000e+00, double 8.000000e+00 } ], align 32         ; <[4 x %struct.point]*> [#uses=1]
index c6cb14fb3e666356b977aca10db0ea18104d94e4..adfd01989407c88770567fd5c4241045c0cd794d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -die -S > %t
+; RUN: opt %s -deadargelim -die -S > %t
 ; RUN: cat %t | grep 123
 
 ; This test tries to catch wrongful removal of return values for a specific case
index 46d2f6d6804e07194da3408c3cd9b0fee46d0c36..f251d6ce882c4a3cb82f6901202bef841d103f14 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim | llvm-dis
+; RUN: opt %s -deadargelim | llvm-dis
 ; PR3807
 
 define internal { i32, i32 } @foo() {
index 10bb0c00ff3411dd1005f750fa9995c2794c1e6d..9ac2222d1a5f523a59471866dd5c8a68f0a20004 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -S | not grep DEADARG
+; RUN: opt %s -deadargelim -S | not grep DEADARG
 
 ; test - an obviously dead argument
 define internal i32 @test(i32 %v, i32 %DEADARG1, i32* %p) {
index 914fa8f35c5375a10f0ed0851a61ee23fbd35c70..025a46a5dfeb8037e55a4e99cfa354ef0a01a8f9 100644 (file)
@@ -1,5 +1,5 @@
 ; This test shows a few canonicalizations made by deadargelim
-; RUN: opt %s -deadargelim -S > %t
+; RUN: opt %s -deadargelim -S > %t
 ; This test should remove {} and replace it with void
 ; RUN: cat %t | grep {define internal void @test}
 ; This test shouls replace the {i32} return value with just i32
index beaf51b228e419714877e6bf8f31a81d61406d7d..db3135c8393be4f75bf44201a65297c42ca1a3f7 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -deadargelim -S | not grep 47 
-; RUN: opt %s -deadargelim -S | not grep 1.0
+; RUN: opt %s -deadargelim -S | not grep 47 
+; RUN: opt %s -deadargelim -S | not grep 1.0
 
 define i32 @bar(i32 %A) {
         %tmp4 = tail call i32 (i32, ...)* @foo( i32 %A, i32 %A, i32 %A, i32 %A, i64 47, double 1.000000e+00 )   ; <i32> [#uses=1]
index 21cedf55e9da026f5a0511a875d958486b7870fe..5f3817c6728dd485edcb5e04ef425e2c8366c86c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -S | not grep DEAD
+; RUN: opt %s -deadargelim -S | not grep DEAD
 
 ; Dead arg only used by dead retval
 define internal i32 @test(i32 %DEADARG) {
index 6a07de7c7e037d71739d0601527d54c4f65a7fcf..dcdc36e319a3cde2339dfc734579fd9151e69ec3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -die -S > %t
+; RUN: opt %s -deadargelim -die -S > %t
 ; RUN: cat %t | not grep DEAD
 ; RUN: cat %t | grep LIVE | count 4
 
index c2a7fa16dd70bad2320c9b775d6adba392a1f815..b0b9bf3fa13bc2b4f8efe19ffb8c9497395c693b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim -S > %t
+; RUN: opt %s -deadargelim -S > %t
 ; RUN: grep {define internal zeroext i32 @test1() nounwind} %t
 ; RUN: grep {define internal %Ty @test2} %t
 
index 018395595aa4994c39b6a4f97a11e5aff531af83..68d96ee8df48178899ce275688e0b609f4f802e9 100644 (file)
@@ -2,7 +2,7 @@
 ; are unused. All unused values are typed i16, so we can easily check. We also
 ; run instcombine to fold insert/extractvalue chains and we run dce to clean up
 ; any remaining dead stuff.
-; RUN: opt %s -deadargelim -instcombine -dce -S | not grep i16
+; RUN: opt %s -deadargelim -instcombine -dce -S | not grep i16
 
 define internal {i16, i32} @test(i16 %DEADARG) {
         %A = insertvalue {i16,i32} undef, i16 1, 0
index 3c5e7cf0418bbbcf39c60082e0c267ce34a61c5c..d1a9dd8fb59acbc67785680c278092a389af114a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -scalarrepl -instcombine | \
+; RUN: opt %s -dse -scalarrepl -instcombine | \
 ; RUN:   llvm-dis | not grep {ret i32 undef}
 
 define i32 @test(double %__x) {
index 4fdeda6b50556583e0513b0f0436d387b41c4fa6..cae2a6f50a50e40cfe47eee3f3b03f162f531b86 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | \
+; RUN: opt %s -dse -S | \
 ; RUN:    grep {store i32 1234567}
 
 ; Do not delete stores that are only partially killed.
index 87881665b7fb6cc4007400b5b881b0afcb98e3b6..147ec84efe55192b32e281ceb6b2157e6ef401ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | grep store
+; RUN: opt %s -dse -S | grep store
 
 define double @foo(i8* %X) {
         %X_addr = alloca i8*            ; <i8**> [#uses=2]
index 8758cb6fa9025c21afee987345b41ff1fee9a033..0b0830685f446c19508c436763c553c0c4fdf903 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalsmodref-aa -dse -disable-output
+; RUN: opt %s -globalsmodref-aa -dse -disable-output
 target datalayout = "E-p:32:32"
 target triple = "powerpc-apple-darwin8"
        %struct.ECacheType = type { i32, i32, i32 }
index 4fd70519a8a755e0ace80349a5ad968d11777380..4a5d6e29b7998c7347d9bf195d5b294ae1e86273 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | not grep tmp5
+; RUN: opt %s -dse -S | not grep tmp5
 ; PR2599
 
 define void @foo({ i32, i32 }* %x) nounwind  {
index 5d4c1c157bb094a282d4a45eef04e5eba1b854aa..5958c6c508008ce69585e66d245102b08cdb8f5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse | llvm-dis
+; RUN: opt %s -dse | llvm-dis
 ; PR3141
        %struct.ada__tags__dispatch_table = type { [1 x i32] }
        %struct.f393a00_1__object = type { %struct.ada__tags__dispatch_table*, i8 }
index e8222dc6527140cfeb49c9a4fd03d02581c4e9a1..c320a3eb6f7a146438142033e3c502c850fbf0c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse | llvm-dis
+; RUN: opt %s -dse | llvm-dis
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
index 87d99ee8b93c020f0859815caa7e84dd352d7d47..0881cb9ccf14f11c094903dbdfd8e72db223031e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | \
+; RUN: opt %s -dse -S | \
 ; RUN:    not grep {store i8}
 ; Ensure that the dead store is deleted in this case.  It is wholely
 ; overwritten by the second store.
index 665207ed66cb9e617b91348007aa2002ba16c5d6..b6818eb3824f920898abc8c9120bc67742976b8b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | not grep DEAD
+; RUN: opt %s -dse -S | not grep DEAD
 
 define void @test(i32* %Q) {
         %P = alloca i32         ; <i32*> [#uses=1]
index 6d63858e5995bac27fb9e9342373f1d43cd565a7..fa651b1ee382f48dca85b0b4ed0485f3e901cddc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | not grep store
+; RUN: opt %s -dse -S | not grep store
 
 %struct.x = type { i32, i32, i32, i32 }
 
index 974384d239fed688b1b8cdd16201ebc14d2c80f5..0da416cc841601dd9d14e94ff1d24763583ff9ce 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | not grep DEAD
+; RUN: opt %s -dse -S | not grep DEAD
 
 declare void @ext()
 
index 445b367d5fb78b207a71747d5338523f54bfbc22..7f82cbfd9263d50cbbea2b58922282f73d71ee7a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse | llvm-dis
+; RUN: opt %s -dse | llvm-dis
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin10.0"
index 2e2bcaea01ede96aeb7f93595894d60d7a6e75ef..8b81ee353033877fb7a74199b96318a3095f183c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | not grep DEAD
+; RUN: opt %s -dse -S | not grep DEAD
 
 define void @test(i32* %Q, i32* %P) {
         %DEAD = load i32* %Q            ; <i32> [#uses=1]
index e65d4416de53e318e2769be97253787ffb838520..8d996318ba8ca3e833651c502d60bc6c81178b8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | not grep alloca
+; RUN: opt %s -dse -S | not grep alloca
 ; ModuleID = 'placeholder.adb'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i686-pc-linux-gnu"
index dae2d078f875b17b139989e4c5126dba2190ac65..e89d3abfbd9d6927f7139e393539498fbab24de0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | not grep DEAD
+; RUN: opt %s -dse -S | not grep DEAD
 
 define void @test(i32* %Q, i32* %P) {
         %DEAD = load i32* %Q            ; <i32> [#uses=1]
index ecf5e76cf624665ec970bdf5877014db965aa28f..59a1129348b9b24f349ecc667f84efe03b51d681 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -dse -S | grep {volatile load}
+; RUN: opt %s -dse -S | grep {volatile load}
 
 @g_1 = global i32 0
 
index 53e02089d2436638032cc9c064f1604ee81c5662..b0aecfa56f74ec0844a28c851a2c42036004e8e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -functionattrs -S | grep readnone
+; RUN: opt %s -functionattrs -S | grep readnone
 
 define i32 @a() {
        %tmp = call i32 @b( )           ; <i32> [#uses=1]
index 55a72a5b29f540a00cd3473b5b41e65bb50f6067..535a1d0fba6b01c6d3ab84e20622ba082cc04f33 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -functionattrs -S | grep readnone | count 4
+; RUN: opt %s -functionattrs -S | grep readnone | count 4
 @x = global i32 0
 
 declare i32 @e() readnone
index b3ba85119e6f88d98bc367e8f712bf73dfca0efe..b455fdd8c3ec0c162a366f7472da74afb28909cb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -functionattrs -S | grep readonly | count 2
+; RUN: opt %s -functionattrs -S | grep readonly | count 2
 
 define i32 @f() {
 entry:
index 6dee766b74d1c488ff60bee12b9f38a426a1abd2..85df09ebd7fe4dcc89729915d7184d736fedf4e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -functionattrs -S | not grep read
+; RUN: opt %s -functionattrs -S | not grep read
 ; PR2792
 
 @g = global i32 0              ; <i32*> [#uses=1]
index b8fb5dea7a0490de59b41ac5b79b953043f4f8b9..09eb4687ac2633d7be3d6bebf1ef01b2e12d4395 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -functionattrs -S | grep readnone | count 2
+; RUN: opt %s -functionattrs -S | grep readnone | count 2
 
 declare i32 @g(i32*) readnone
 
index e85a3ef1d0d4d823626ecfb4d32cb2e1e808255e..672b5e1392b7a411c2d2ce5699a0bafd27761afd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -functionattrs -S | grep readnone
+; RUN: opt %s -functionattrs -S | grep readnone
 
 @s = external constant i8              ; <i8*> [#uses=1]
 
index e8938020071391a1a0561d4e36c86286475ae75e..53857f61ce5829192ea942105722bf222d9aeb5a 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -functionattrs -S | not grep {nocapture *%%q}
-; RUN: opt %s -functionattrs -S | grep {nocapture *%%p} | count 6
+; RUN: opt %s -functionattrs -S | not grep {nocapture *%%q}
+; RUN: opt %s -functionattrs -S | grep {nocapture *%%p} | count 6
 @g = global i32* null          ; <i32**> [#uses=1]
 
 define i32* @c1(i32* %q) {
index dea0a2272764b820db64951f68826d2aee90d206..7ef5f06f06138c27e1b0620795ad2b14097bcda8 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -functionattrs -S | not grep {nocapture *%%q}
-; RUN: opt %s -functionattrs -S | grep {nocapture *%%p}
+; RUN: opt %s -functionattrs -S | not grep {nocapture *%%q}
+; RUN: opt %s -functionattrs -S | grep {nocapture *%%p}
 
 define i32* @a(i32** %p) {
        %tmp = load i32** %p
index 5cc92759d2489abfd6e943dad7671f89fb1eba4d..488e6a9ec2ca198c287a466f3fa0cd8f4afeab34 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -functionattrs -S | not grep read
+; RUN: opt %s -functionattrs -S | not grep read
 ; PR3754
 
 define i8* @m(i32 %size) {
index 39419af3c5c747eb57bf697d8ff63b5a894a27cf..ad580ce1677d877d7d6eec349edd43ede3149021 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %struct.PerlInterpreter = type { i8 }
 @PL_sv_count = external global i32             ; <i32*> [#uses=2]
index 1f5456b835c647d65f4750e9ea1f26263b0ab558..2e0a1015caf550ebb4f51a24b07de5026d19ce83 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | not grep {tmp10 =}
+; RUN: opt %s -gvn -S | not grep {tmp10 =}
 
        %struct.INT2 = type { i32, i32 }
 @blkshifts = external global %struct.INT2*             ; <%struct.INT2**> [#uses=2]
index 1a21e74b93133757cf5f5f94471e7eb852165527..6a9f58e02f65ab5aa4b77f8a85ac7bfbf74aa051 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %struct.s_segment_inf = type { float, i32, i16, i16, float, float, i32, float, float }
 
index 209a7d19f4302a8f64f5479b5ccfa53cd50d4793..c6d7750d62722ffb24888e88b2a425bb665e5f9f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %struct.TypHeader = type { i32, %struct.TypHeader**, [3 x i8], i8 }
 
index ee8c9f76d445e37c88e1c2d0c4a0f93f14950a5c..ecff657ed389bae5bfa8e834694749e9dd6e245c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %struct.ggBRDF = type { i32 (...)** }
        %struct.ggBox3 = type { %struct.ggPoint3, %struct.ggPoint3 }
index 0f569db7ee782c16069c492d38af12cb8161a9d0..0be33791f6170882a76cc76d810079fd5d05ef1f 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -gvn -S | grep {tmp17625.* = phi i32. }
-; RUN: opt %s -gvn -S | grep {tmp17631.* = phi i32. }
+; RUN: opt %s -gvn -S | grep {tmp17625.* = phi i32. }
+; RUN: opt %s -gvn -S | grep {tmp17631.* = phi i32. }
 
 @last = external global [65 x i32*]            ; <[65 x i32*]*> [#uses=1]
 
index a6c3405955bc184ed3e7aa6dd59a6ce69c6e6847..7579e8aff08bc6d4da4bf914699f244548360e91 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
 @bsLive = external global i32          ; <i32*> [#uses=2]
 
index 1bcf47a41b852429cd9d8652b885a86b9a9a0fd9..09e70a5b4cffa9289d0273a4df7f8be5e444196c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep {tmp298316 = phi i32 }
+; RUN: opt %s -gvn -S | grep {tmp298316 = phi i32 }
 
        %struct..0anon = type { i32 }
        %struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
index 99016e3598504a8b1e7071f64d7c5a6afc9a41cb..5cb6bb3ecffbcfacba4049ae9d9a0a7003ed3402 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %"struct.Block::$_16" = type { i32 }
        %struct.Exp = type { %struct.Exp_*, i32, i32, i32, %struct.Exp*, %struct.Exp*, %"struct.Exp::$_10", %"struct.Block::$_16", %"struct.Exp::$_12" }
index 9cb70ae0907a76c110d76884f9242ad4bcfeb91b..faa1157dd8be1110bab6d8ea6f705c46717d4721 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep {tmp47 = phi i32 }
+; RUN: opt %s -gvn -S | grep {tmp47 = phi i32 }
 
        %struct.anon = type { i32 (i32, i32, i32)*, i32, i32, [3 x i32], i8*, i8*, i8* }
 @debug = external constant i32         ; <i32*> [#uses=0]
index dec2cae12917567b327a9376ab93f44250fac7d4..0d1d8bced000342f255f4fc0825553c9e3d2c7b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | not grep {tmp701 =}
+; RUN: opt %s -gvn -S | not grep {tmp701 =}
 
 @img_width = external global i16               ; <i16*> [#uses=2]
 
index 1e3e463d127a51a89680b58eeb269aa09de0d2fa..de2aa614ff5df81479a19d3a974a7f26c3c8f2ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | not grep load
+; RUN: opt %s -gvn -S | not grep load
 ; PR1996
 
 %struct.anon = type { i32, i8, i8, i8, i8 }
index 13007c50b9cd96a5fcbb90734f9a17016309b7ad..54998db0ac682a4271975439326bfeed8d402bdd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -gvn
+; RUN: opt %s -anders-aa -gvn
 ; PR2032
 
 define i32 @sscal(i32 %n, double %sa1, float* %sx, i32 %incx) {
index 285c2ca8cadea0ba270462be40b933a5ca5c5752..9a75e1ad978cd3984d71f1411e69f2ec0c92976e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -dse -S | grep {call.*memcpy} | count 1
+; RUN: opt %s -gvn -dse -S | grep {call.*memcpy} | count 1
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-apple-darwin8"
index 6c89b7e903a6ff0c7e5610f93a78ae661fc85ae4..6ed8a76c0de2f9530528d32538ff0dd10799f7e6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -dse -S | grep {call.*memcpy.*cell} | count 2
+; RUN: opt %s -gvn -dse -S | grep {call.*memcpy.*cell} | count 2
 ; PR2099
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index ad6dbd0acf15a353f5ea52b52a2b7b034aca6c65..361c1557f24f8b08006afc554a10132b681cd4d7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep {ret i8 \[%\]tmp3}
+; RUN: opt %s -gvn -S | grep {ret i8 \[%\]tmp3}
 ; PR2503
 
 @g_3 = external global i8              ; <i8*> [#uses=2]
index 784307e372c97aaa9173171876bc0186a9b422e7..c6833e373d06e21edb31a15ac5121602f369488c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep getelementptr | count 1
+; RUN: opt %s -gvn -S | grep getelementptr | count 1
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.5"
index 31d337cdf7457370856503a34b6f5e00be1b6260..da67ee7766963edc776eed88b17cbbeb778bfc1a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
 
index 8b5c46d3539c73ae0819fcb34d85ee89c611f207..41f76c8167e5193b311043595571b556ec541dd5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
 @sort_value = external global [256 x i32], align 32            ; <[256 x i32]*> [#uses=2]
index e9c04b7da4ad425d7a9c3ee100ba0114f4209575..0a63f3f4626cb072c60bacadf4e202d7320888c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 ; Cached results must be added to and verified against the visited sets.
 ; PR3217
 
index 71de99f00293aafb171e25bdd63be9ed67da0089..36775936c8b7a3a77d4782119b63c360f7f02c5d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 ; PR3358
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index ef186847c70790d08530c339a4d4939f789b5b1b..95690a5a2571e2e752011e0229f58929f77f4f98 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
index b3ad47de4032899aaf142bc4473bdab48d55224b..c2d57a105fc9fe9fdbad69a695cd83470e273bed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -enable-load-pre -disable-output
+; RUN: opt %s -gvn -enable-load-pre -disable-output
 
        %struct.VEC_rtx_base = type { i32, i32, [1 x %struct.rtx_def*] }
        %struct.VEC_rtx_gc = type { %struct.VEC_rtx_base }
index 711b3bee692093c37fbfb2d0b665189309fb90b5..cad33129956ce55346b0d04e6c8889df69759c3b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -disable-output
+; RUN: opt %s -gvn -disable-output
        %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8*, i32 }
 @llvm.dbg.compile_unit298 = external constant %llvm.dbg.compile_unit.type              ; <%llvm.dbg.compile_unit.type*> [#uses=1]
 
index 083f33ba070ea73e340f91f9a822da5465df1f96..89d6a5f982b8882d6cc57d68d1de8c11af0f43f8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -disable-output
+; RUN: opt %s -gvn -disable-output
 ; PR3775
 
 ; ModuleID = 'bugpoint-reduced-simplified.bc'
index 3373c72cb2622a4d6e6b0acea0db97efa1d75376..6ac6072a92735781a77b39c0b93cde349805c016 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -enable-load-pre -S | not grep pre1
+; RUN: opt %s -gvn -enable-load-pre -S | not grep pre1
 ; GVN load pre was hoisting the loads at %13 and %16 up to bb4.outer.  
 ; This is invalid as it bypasses the check for %m.0.ph==null in bb4. 
 ; ModuleID = 'mbuf.c'
index 0a45ac58dd811ea53b2e291411742236fb56b065..641e920006b23de257ac4b7eecf5d0690c4c2f29 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 ; PR4256
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i386-linux-gnu"
index ff33949b114b45a38a45d6b6d2998e2366324846..1decafac8c4f2de73b37152e38b25923abec404c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | not grep {%z2 =}
+; RUN: opt %s -gvn -S | not grep {%z2 =}
 
 define i32 @main() {
 block1:
index f835f32a310b340da6bcf52c77fa598320f6b7a4..55b4b6e9d317db1c33727cb5d69fb81e7300958d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | not grep tmp2
+; RUN: opt %s -gvn -S | not grep tmp2
 ; PR2213
 
 define i32* @f(i8* %x) {
index 5b353856c405cb61a87536ae75aab62ed78f8f90..f0edf09bff9888600c0d9ff49ffe8fb7e47f1f4f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep strlen | count 2
+; RUN: opt %s -gvn -S | grep strlen | count 2
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9"
 
index 41be32463f2a0dc8719df8a85af54d9a213a765c..28b5ff09a73a6f128fd9152dee20fcd915f82d04 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -gvn -S | grep {call.*strlen} | count 1
+; RUN: opt %s -basicaa -gvn -S | grep {call.*strlen} | count 1
 ; Should delete the second call to strlen even though the intervening strchr call exists.
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index 4a959c40a7c76fb8aa5a1d61a94b936461a3b031..e212d791ae5a9e929eadbc6bc7abb7332e9c7b46 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep {br i1 false}
+; RUN: opt %s -gvn -S | grep {br i1 false}
 
 @a = external global i32               ; <i32*> [#uses=7]
 
index 428e03ca540b14cdde64ae9d873cf2f1496901c4..87f33eaadadb1f5fe763e0911ebbd14e45190aa7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -instcombine -S | grep {ret i32 0}
+; RUN: opt %s -gvn -instcombine -S | grep {ret i32 0}
 ; PR4189
 @G = external constant [4 x i32]
 
index 009e30d4850a096251b0893bbe5e9d260f98a0d9..5f03984653a97409ebc88a68be8cbae78648c8c6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -enable-pre -S | grep {b.pre}
+; RUN: opt %s -gvn -enable-pre -S | grep {b.pre}
 
 define i32 @main(i32 %p) {
 block1:
index 99fb1b00814f35124ea569984fc82aaa86f20b2e..41b51806cd462ab819e2cd54fa234f111135b517 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -enable-load-pre -S | grep {%PRE = phi}
+; RUN: opt %s -gvn -enable-load-pre -S | grep {%PRE = phi}
 
 define i32 @test(i32* %p, i1 %C) {
 block1:
index 5cba290f1294de9bcf6fa8f9057ce7aef8b70932..5152f68f0efb55fd1962c7d65cdfa3c39f787cdf 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -gvn -S | not grep DEADLOAD
-; RUN: opt %s -gvn -S | not grep DEADGEP
+; RUN: opt %s -gvn -S | not grep DEADLOAD
+; RUN: opt %s -gvn -S | not grep DEADGEP
 
 define i32 @main(i32** %p) {
 block1:
index 0c1b55de4cb3287a4358e95416426f375b1880b3..c13099fe73491d5a0fa78578a55afd4e88310cac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -enable-pre -S | grep {.pre}
+; RUN: opt %s -gvn -enable-pre -S | grep {.pre}
 
 @H = common global i32 0               ; <i32*> [#uses=2]
 @G = common global i32 0               ; <i32*> [#uses=1]
index ef184df8040c33803d8bdd4bcadf1d1b369c47d5..706a16b7bdd28e0b0ad1b4f289e60219526bad0f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -enable-load-pre -S | not grep {tmp3 = load}
+; RUN: opt %s -gvn -enable-load-pre -S | not grep {tmp3 = load}
 
 @p = external global i32
 define i32 @f(i32 %n) nounwind {
index e4bf0a2e4c6a8c150ea8658f2cc5d5298d7222a9..e86f5929b99b2af081de122afb967a87c2b0cabd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep load | count 2
+; RUN: opt %s -gvn -S | grep load | count 2
 
 define i32 @main(i32** %p) {
 block1:
index 4a4643a320d0e0f4d571b1bddf2a1f36e27417e2..79cc3636b11cdc65603f12d51d024cf1fb18ee18 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep {DEAD = phi i32 }
+; RUN: opt %s -gvn -S | grep {DEAD = phi i32 }
 ; XFAIL: *
 
 ; FIXME: GVN should eliminate the fully redundant %9 GEP which 
index 7b563fd5f328108791dbbbe35eec70522a062575..57457a7af9f0054d357f77fa2def4fdc31911147 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep load
+; RUN: opt %s -gvn -S | grep load
 ; FIXME: This should be promotable, but memdep/gvn don't track values
 ; path/edge sensitively enough.
 
index 929b6af52476aa9829fa1e42c49a5251bbe04555..51b89867a15a8f269d2e958953ba89fcf3a15cc5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep {%DEAD = phi i32. }
+; RUN: opt %s -gvn -S | grep {%DEAD = phi i32. }
 
 define i32 @main(i32** %p) {
 block1:
index 030393b9f8b34fbf30eea1305878c7557a31278e..1f1baa98b48b1dd27ec03513d08b6ca05fba74ec 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -gvn -S | grep {%cv = phi i32}
-; RUN: opt %s -gvn -S | grep {%bv = phi i32}
+; RUN: opt %s -gvn -S | grep {%cv = phi i32}
+; RUN: opt %s -gvn -S | grep {%bv = phi i32}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
 
index fd34a87587c2b820950e31ccc06352a0d42e9605..04e8c38568457bc1ee08610623a35b9941c187ad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -S | grep {DEAD = phi i32 }
+; RUN: opt %s -gvn -S | grep {DEAD = phi i32 }
 
 define i32 @main(i32* %p) {
 block1:
index ea993e0ea7b8b2f3d61fe4872a99ca83fff2f688..492346002620bbe999fc9fb608a90c539d9b715f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define void @_Z4sortI3Lit16LessThan_defaultIS0_EEvPT_iT0_() {
 entry:
index e0d420c567d03d4f7e4567f0eb4e76e9e0ca76f2..9bc74215c890a5fbbffe7a67785ac97b20cca9d3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define void @strength_test5(i32* %data) {
 entry:
index 7f7fe1385163da324ed5aebee4870b27361578d8..0f68b7865cb77e63ae313032f04d68d9389ebb0f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 @.str1 = external constant [4 x i8]            ; <[4 x i8]*> [#uses=1]
 @.str2 = external constant [5 x i8]            ; <[5 x i8]*> [#uses=1]
index f265726134a2501942175cfef85ec8ca5ab664e6..36fa8afbe3871c9277f13b7c37e20b01ddd493e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define fastcc void @compute_max_score_1() {
 entry:
index 9a80f3424dffcc8f735fbed220dc56b2a96618ad..980c4e91e913a54cd44173658d74c08bab97d8f4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define void @vorbis_lsp_to_curve() {
 entry:
index 005bc72817a7c66225f8a1dcacef1ef63e771808..753575caebe8ad46b431cee2a8a1ab7f231921e0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define i32 @TreeCCStreamFlush(i8* %stream) {
 entry:
index 2f50bef8a09e9184e875909853e2b103b62ed9ab..52cd18f0d07bfa74889ff165cae7ab8c8cfe0754 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define i64 @foo({ i32, i32 }** %__v) {
 entry:
index 0b090a389661c2ab4ecb048520fbe3ad58928145..40e5a0b022fc819f64f7d0b0f3a0c941c5ef601f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define i32* @_ZN6Solver9propagateEv(i32* %this) {
 entry:
index 01a9d89cde70e41c4779600c3e855899830214fc..495ded55c4cbaf507cb07ff70fa1ad21b9be5a6d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define void @set_depth_values(i32 %level) {
 cond_true90:           ; preds = %cond_next84
index 157ae15be992e95e3126d18b1de1edcfa71182fd..a173d4b77cdb83d682c6a07ef639dfa1d934c51e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre -S | grep tmp114115.gvnpre
+; RUN: opt %s -gvnpre -S | grep tmp114115.gvnpre
 
        %struct.AV = type { %struct.XPVAV*, i32, i32 }
        %struct.CLONE_PARAMS = type { %struct.AV*, i32, %struct.PerlInterpreter* }
index ee03a6bd993ddd0cbcd7a3822a889907308673ba..9c170388dcbf10ecbbe790d49297a133b3549e9a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
        %"struct.ObjectArena<char>" = type { i32, i32, %"struct.ResizeArray<char*>", i8*, i8* }
        %"struct.ResizeArray<char*>" = type { i32 (...)**, %"struct.ResizeArrayRaw<char*>"* }
        %"struct.ResizeArrayRaw<char*>" = type { i8**, i8*, i32, i32, i32, float, i32 }
index 89245faf61e2034c57c2c8771b0f8d24bfdedbf5..c7c3f106780fd7077e1080cca40ba67d83ef26be 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -gvnpre -S | not grep {%z3 =}
-; RUN: opt %s -gvnpre -S | not grep {%z9 =}
+; RUN: opt %s -gvnpre -S | not grep {%z3 =}
+; RUN: opt %s -gvnpre -S | not grep {%z9 =}
 
 define i32 @main() {
 block1:
index 25a31db1735a7848ba0789b0ff6c6dec3616813c..e53e9930db8ba3a639c175bf0deaf30b8e4710c8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre -S | grep b.gvnpre
+; RUN: opt %s -gvnpre -S | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index 478b841d9fb092b789853eae6d5ef9f7a470b8ed..cc66545d5c8219c9ece7f02ed827088bbba2b841 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre -S | grep b.gvnpre
+; RUN: opt %s -gvnpre -S | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index 63ad89aa4decb3f1c220455ebab7a2e2e4ef866a..677f4383f6c3a8940701e93d855d0a86c3811c81 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre -S | grep b.gvnpre
+; RUN: opt %s -gvnpre -S | grep b.gvnpre
 
 define i32 @extract({ i32 }* %P) {
 entry:         ; preds = %cond_false, %entry
index 69bfdae87bb59417de114a5a748ca620918d39f4..b798978b738c538ef84eb06f79c760bbd1d07004 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre -S | grep b.gvnpre
+; RUN: opt %s -gvnpre -S | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index 0ca3994106c50ab31c185bff6095540b5abeaad3..de73ed5c91d5d3ef7f0b1834dc06b373ba84eea7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre -S | grep b.gvnpre
+; RUN: opt %s -gvnpre -S | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index 718044454d8b00398cd31a254f9015d47f5ed63d..0862e706fce286390a3471e565b73bf7172a1dfd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvnpre -S | grep b.gvnpre
+; RUN: opt %s -gvnpre -S | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index de6e2fca6390ca381b766f045a9c82b087a3eb5a..37356f25948d57a7102a043f87278885af4cdfbd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce
+; RUN: opt %s -globaldce
 ;
 define internal void @func() {
         ret void
index f1da36a1376791488d8c6d9278c1fb0cd870f40f..740f7201a348aefb768a6f876886dffb7011e4ad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce
+; RUN: opt %s -globaldce
 ;
 
 @X = global void ()* @func              ; <void ()**> [#uses=0]
index faa61f98767efc575ab798888dbe8d906f5773f1..766c227460e6d310c1626f99d82d00dd4d09af95 100644 (file)
@@ -1,7 +1,7 @@
 ; Make sure that functions are removed successfully if they are referred to by
 ; a global that is dead.  Make sure any globals they refer to die as well.
 
-; RUN: opt %s -globaldce -S | not grep foo
+; RUN: opt %s -globaldce -S | not grep foo
 
 ;; Unused, kills %foo
 @b = internal global i32 ()* @foo               ; <i32 ()**> [#uses=0]
index f3917b84ee49b5f8fddfa3ccb9399044f37ac0f1..42fcb1e004a6810ad9effd65d32ac51f890c74df 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase tests that a worklist is being used, and that globals can be 
 ; removed if they are the subject of a constexpr and ConstantPointerRef
 
-; RUN: opt %s -globaldce -S | not grep global
+; RUN: opt %s -globaldce -S | not grep global
 
 @t0 = internal global [4 x i8] c"foo\00"                ; <[4 x i8]*> [#uses=1]
 @t1 = internal global [4 x i8] c"bar\00"                ; <[4 x i8]*> [#uses=1]
index 1c6be4420c4e1eb740f3e516065547f9ff860efe..6221fa3a62fe80ce302b00ddd6001b8a7e93659d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce
+; RUN: opt %s -globaldce
 
 ;; Should die when function %foo is killed
 @foo.upgrd.1 = internal global i32 7            ; <i32*> [#uses=3]
index a09ed462420d879936ee910016597b1387cb4349..738ec43aaeb1719b5bc31c76cfcd994511e317a5 100644 (file)
@@ -1,5 +1,5 @@
 ; distilled from 255.vortex
-; RUN: opt %s -globaldce -S | not grep testfunc
+; RUN: opt %s -globaldce -S | not grep testfunc
 
 declare i1 ()* @getfunc()
 
index 92af3ec3dec8df56e2eab0e36b39b80a5d47e0a0..5b2c97f0f85e5d5bc64f0bbfc486d1cc1843d775 100644 (file)
@@ -1,6 +1,6 @@
 ; Weak variables should be preserved by global DCE!
 
-; RUN: opt %s -globaldce -S | grep @A
+; RUN: opt %s -globaldce -S | grep @A
 
 
 @A = weak global i32 54
index d3e93a8779efa3121b9572035235816583092c64..6658cee1223995dc3812e0e58fe87dd242680801 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -globaldce -S | not grep @D
-; RUN: opt %s -globaldce -S | grep @L | count 3
+; RUN: opt %s -globaldce -S | not grep @D
+; RUN: opt %s -globaldce -S | grep @L | count 3
 
 @A = global i32 0
 @D = alias internal i32* @A
index 77b8df7b8985b0989a5096612f882ac7a4264dfa..68933c6ef3769397f163402e0cc5cbe81edf6def 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce
+; RUN: opt %s -globaldce
 
 @A = alias internal void ()* @F
 define internal void @F() { ret void }
index 9a3d1d5b36d6d42d02c9df3d1cc90d306751947f..29864f825285f79b647cc3f93c68ff4082679af3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce | llc -O0 -o /dev/null
+; RUN: opt %s -globaldce | llc -O0 -o /dev/null
 
 %struct..0__pthread_mutex_s = type { i32, i32, i32, i32, i32, i32, %struct.__pthread_list_t }
 %"struct.__gnu_cxx::_ConvertibleConcept<unsigned int,unsigned int>" = type { i32 }
index ff12e630775724d04e2310af5a817b84fad7bc9d..a97b66de2c63409131569b437f17cc4c84173202 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce -S | not grep global
+; RUN: opt %s -globaldce -S | not grep global
 
 @X = external global i32
 @Y = internal global i32 7
index 5d7909078765783ac3670465d7cf977a524e290a..cc88cb10dcc6257b4fe865e24d2d92db4adcb9d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce -S | not grep test_
+; RUN: opt %s -globaldce -S | not grep test_
 
 ; test_function should not be emitted to the .s file.
 define available_externally i32 @test_function() {
index 2aad4fe84911e07c880b90ccd7a15f8054ad6ce4..bdcf1fa4778bab2887046797099ff06677f87aa6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt
+; RUN: opt %s -globalopt
 
 @V = global float 1.200000e+01          ; <float*> [#uses=1]
 @G = internal global i32* null          ; <i32**> [#uses=2]
index e7ad7b2a1e6c214a88821e5df87ba0e386046f5c..7bcb1d430918b1f57f3f1327d2e1e8f75aa9f438 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
 ; PR579
 
 @g_40507551 = internal global i16 31038         ; <i16*> [#uses=1]
index dc3dc017e8088df3f65e450f2284d04ce4f032b5..ab2077a43c65eaadb8d5e335dc2c34016a66fd15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
         %RPyString = type { i32, %arraytype.Char }
         %arraytype.Char = type { i32, [0 x i8] }
         %arraytype.Signed = type { i32, [0 x i32] }
index 82c695b6b21e0b3fc874c882d451162b241ee67d..c9712198ce7142c2b3ab3c2992b432d4d13d427c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
 ; PR820
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index 31b9ede8dd774c1881dd59d77aaf3755beeb4166..352639ac067c1c9d109a9c89ee86727656996897 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
 
         %struct._list = type { i32*, %struct._list* }
         %struct._play = type { i32, i32*, %struct._list*, %struct._play* }
index d4d8d9effcee2b9c4810bb3a6c6fc2ca72ff6d71..d306d14782478e42728e803509b38cf49e5aff11 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
 
 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32"
 target triple = "thumb-apple-darwin8"
index d9cbdcce718cad17544ce0d830fd9fb1553571ba..57039093d1e41c5893c2064a974d7b426741d726 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s  -globalopt -disable-output
+; RUN: opt %s  -globalopt -disable-output
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-apple-darwin8"
index d4181239fab8337cafc0fecc48a910f2b311cdf1..7036c158ba674e401b82a93aae29f1497ed72aaf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
 ; PR1491
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
index 0f3dcde4d838c7f138ef4b04f4179598c65ebfd9..442cb921d8a3004da28aa48d2bae3f4f6f75b900 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
 target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
 target triple = "powerpc-apple-darwin8"
         %struct.empty0 = type {  }
index e7bc760e58daaa34a4d90c905fbb089fb5c291c0..4105ab1ed5b9df9ead8c1d72ff47692ee1a30998 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt | llvm-dis
+; RUN: opt %s -globalopt | llvm-dis
 ; PR1896
 
 @indirect1 = internal global void (i32)* null          ; <void (i32)**> [#uses=2]
index 99c55949d5f3ef0f311a25f5865b5ca746106718..82abc8fe546b0b0fd13372171a6bcf56233d7b0e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | grep {16 x .31 x double.. zeroinitializer}
+; RUN: opt %s -globalopt -S | grep {16 x .31 x double.. zeroinitializer}
 
 ; The 'X' indices could be larger than 31.  Do not SROA the outer indices of this array.
 @mm = internal global [16 x [31 x double]] zeroinitializer, align 32
index c82c9af39f95753837d0b8318ac4147196acf0ef..0c817005c273739546e17faeba7b0171f413897a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | grep {volatile load}
+; RUN: opt %s -globalopt -S | grep {volatile load}
 @t0.1441 = internal global double 0x3FD5555555555555, align 8          ; <double*> [#uses=1]
 
 define double @foo() nounwind  {
index 0ba97e052f7023ac50ed0d80736190d48ac9c4b0..0e70c49adf14fda1fcc91743c444cc6c83e4a633 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | grep { nest } | count 1
+; RUN: opt %s -globalopt -S | grep { nest } | count 1
        %struct.FRAME.nest = type { i32, i32 (i32)* }
        %struct.__builtin_trampoline = type { [10 x i8] }
 @.str = internal constant [7 x i8] c"%d %d\0A\00"              ; <[7 x i8]*> [#uses=1]
index 14f470d89c1c437b8c209e42d424ede2b48079f4..cfc9f302ff007ec042daeb9dd124aedafb680f2e 100644 (file)
@@ -2,9 +2,9 @@
 ; alignments.  Elements 0 and 2 must be 16-byte aligned, and element 
 ; 1 must be at least 8 byte aligned (but could be more). 
 
-; RUN: opt %s -globalopt -S | grep {@G.0 = internal global .*align 16}
-; RUN: opt %s -globalopt -S | grep {@G.1 = internal global .*align 8}
-; RUN: opt %s -globalopt -S | grep {@G.2 = internal global .*align 16}
+; RUN: opt %s -globalopt -S | grep {@G.0 = internal global .*align 16}
+; RUN: opt %s -globalopt -S | grep {@G.1 = internal global .*align 8}
+; RUN: opt %s -globalopt -S | grep {@G.2 = internal global .*align 16}
 ; rdar://5891920
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index f120db52f07718a019a820b3df1e8a2e9e7afaf7..5e64f807f6eade06a0778c798c032544da65b4db 100644 (file)
@@ -2,7 +2,7 @@
 ; values. This used to crash, because globalopt forgot to put the new var in the
 ; same address space as the old one.
 
-; RUN: opt %s -globalopt -S > %t
+; RUN: opt %s -globalopt -S > %t
 ; Check that the new global values still have their address space
 ; RUN: cat %t | grep global.*addrspace
 
index ee10ad5960f6fcc44c56b4c973d6ba3a9178d89a..3242e1eed6a54b39f0ad9e42260ea0093c6a0846 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt | llvm-dis
+; RUN: opt %s -globalopt | llvm-dis
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
        %struct.foo = type { i32, i32 }
index 50d3270b0a549537b8226174a12ace1dacd311fd..51dcac1f1a1db8acb4fcb1335df4da476cb92e43 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt | llvm-dis
+; RUN: opt %s -globalopt | llvm-dis
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
        %struct.foo = type { i32, i32 }
index 69e555dedf1e91dcf25fb62a0a013ba60183426e..c4b6e52e71275c3be490d575384d64b20f0cc74f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | grep {phi.*@head}
+; RUN: opt %s -globalopt -S | grep {phi.*@head}
 ; PR3321
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index 7e59811483e5a24300141134ca400cf30340676a..a1b69efe1a76f1e5cf8778644871a59b6f6a4ea7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt
+; RUN: opt %s -globalopt
 
 @g = external global i32
 
index 7c30d87dc1b35fa1dc3b7a5575341c705b5fc068..5e639fd8222e9c9e531d99d6e4347efd1a91cfd8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | grep {define void @a}
+; RUN: opt %s -globalopt -S | grep {define void @a}
 
 define internal void @f() {
        ret void
index c03c16a66ee33ccc2bea7a935bb23c8cb8fbe8f4..070f89f492133f89d42ca66ff6cc5923c44e229b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep global_variable42
+; RUN: opt %s -globalopt -S | not grep global_variable42
 ; XFAIL: *
 
        %llvm.dbg.anchor.type = type { i32, i32 }
index 90ea7b389f45acc6de8932c642b8821d33f360c5..a5f9ed39cac6c1f29c50d6e2c5f6001d8faa35a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -stats -disable-output |& grep "1 globalopt - Number of global vars shrunk to booleans"
+; RUN: opt %s -globalopt -stats -disable-output |& grep "1 globalopt - Number of global vars shrunk to booleans"
 ; XFAIL: *
 
        type { }                ; type %0
index 42168b06294111dc9d4d45aff8408439cde26160..62f75e123be7dd27b081cc2513f99c066c80b5ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | grep internal | count 2
+; RUN: opt %s -globalopt -S | grep internal | count 2
 
 global i32 0
 define i32* @1() {
index 61e3fa8b9fb47b141364c00837497e68005b4056..e024fc27ecb6cadee30af5c39aed0bd3b7f2a20a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | grep {@X = internal global i32}
+; RUN: opt %s -globalopt -S | grep {@X = internal global i32}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
 @X = internal global i32* null         ; <i32**> [#uses=2]
index a9d41cdd6258beaae838c28ec9bf2ebf3a202c7d..abd31094bfe3096b8acd1121a1276be52155f222 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt
+; RUN: opt %s -globalopt
 
        %struct.s_annealing_sched = type { i32, float, float, float, float }
        %struct.s_bb = type { i32, i32, i32, i32 }
index ead599896a1b0db3f16f1e3b8bd3cffab52352e5..845117987391f9a7fc8136b427f8a8f0ced3bfd0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S > %t
+; RUN: opt %s -globalopt -S > %t
 ; RUN: cat %t | grep foo1 | count 1
 ; RUN: cat %t | grep foo2 | count 4
 ; RUN: cat %t | grep bar1 | count 1
index 4fd0ecea1df4a7003ad72ed696aabb82f8ae0b79..4332d3dd38c275dd30ec98cf37681d17d5b4d471 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep global
+; RUN: opt %s -globalopt -S | not grep global
 
 @X = internal global i32 4              ; <i32*> [#uses=1]
 
index 85887578d5b0bebfb9d875465da6604d345bfed7..099c607509b2e48d2ca9adadc989d0686ac3887e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -globalopt -S | \
+; RUN: opt %s -instcombine -globalopt -S | \
 ; RUN:   grep {internal fastcc float @foo}
 
 define internal float @foo() {
index b5c65c812337452893e0268de96733a7261a40cc..5fe89ee09846f2f3e30ad23af5001187c231249c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep CTOR
+; RUN: opt %s -globalopt -S | not grep CTOR
 @llvm.global_ctors = appending global [10 x { i32, void ()* }] [ { i32, void ()* } { i32 65535, void ()* @CTOR1 }, { i32, void ()* } { i32 65535, void ()* @CTOR1 }, { i32, void ()* } { i32 65535, void ()* @CTOR2 }, { i32, void ()* } { i32 65535, void ()* @CTOR3 }, { i32, void ()* } { i32 65535, void ()* @CTOR4 }, { i32, void ()* } { i32 65535, void ()* @CTOR5 }, { i32, void ()* } { i32 65535, void ()* @CTOR6 }, { i32, void ()* } { i32 65535, void ()* @CTOR7 }, { i32, void ()* } { i32 65535, void ()* @CTOR8 }, { i32, void ()* } { i32 2147483647, void ()* null } ]               ; <[10 x { i32, void ()* }]*> [#uses=0]
 @G = global i32 0              ; <i32*> [#uses=1]
 @G2 = global i32 0             ; <i32*> [#uses=1]
index 29d59748234055a89014c52247032484fbcef0a7..9b11985693a1f41f78dc0a979e283fae78a3e26d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | FileCheck %s
+; RUN: opt %s -globalopt -S | FileCheck %s
 
 ; Don't get fooled by the inbounds keyword; it doesn't change
 ; the computed address.
index 608b19b6aecdd90dad4066d825cc4df6c824efec..887e7ee643c5de084cf3de58674f13814a06d77b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep CTOR
+; RUN: opt %s -globalopt -S | not grep CTOR
 @llvm.global_ctors = appending global [10 x { i32, void ()* }] [ { i32, void ()* } { i32 65535, void ()* @CTOR1 }, { i32, void ()* } { i32 65535, void ()* @CTOR1 }, { i32, void ()* } { i32 65535, void ()* @CTOR2 }, { i32, void ()* } { i32 65535, void ()* @CTOR3 }, { i32, void ()* } { i32 65535, void ()* @CTOR4 }, { i32, void ()* } { i32 65535, void ()* @CTOR5 }, { i32, void ()* } { i32 65535, void ()* @CTOR6 }, { i32, void ()* } { i32 65535, void ()* @CTOR7 }, { i32, void ()* } { i32 65535, void ()* @CTOR8 }, { i32, void ()* } { i32 2147483647, void ()* null } ]               ; <[10 x { i32, void ()* }]*> [#uses=0]
 @G = global i32 0              ; <i32*> [#uses=1]
 @G2 = global i32 0             ; <i32*> [#uses=1]
index 919cbdcf9ec175be6c83e144a166f0ecb7e56cfe..4f8181983094779da22f0d9a376beea7e4ca2c05 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep internal
+; RUN: opt %s -globalopt -S | not grep internal
 
 ; This is a harder case to delete as the GEP has a variable index.
 
index 514a57c43b9d36eef5bea93b48dd2ceb8e235d5c..c8d8e7674d6227a70ba6854a412d7318cebcb798 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep internal
+; RUN: opt %s -globalopt -S | not grep internal
 
 @G = internal global i32 123            ; <i32*> [#uses=1]
 
index 29be57de3cc579cbc58044a5db62b0e37ab8fd2d..9a068e948941926777a8fb29a0e4b80f49626d55 100644 (file)
@@ -1,6 +1,6 @@
 ; In this case, the global can only be broken up by one level.
 
-; RUN: opt %s -globalopt -S | not grep 12345
+; RUN: opt %s -globalopt -S | not grep 12345
 
 @G = internal global { i32, [4 x float] } zeroinitializer               ; <{ i32, [4 x float] }*> [#uses=3]
 
index f1eb8674889e81f368cdd0415a74dd35c7027d29..9397a12365511fa9ec494756f4ed2506ef836efb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S > %t
+; RUN: opt %s -globalopt -S > %t
 ; RUN: grep {@Y = internal global \\\[3 x \[%\]struct.X\\\] zeroinitializer} %t
 ; RUN: grep load %t | count 6
 ; RUN: grep {add i32 \[%\]a, \[%\]b} %t | count 3
index a22e5fded075e3a36ae7bd8c4910adb34cbe1cf5..6df559e456982bd19745faaeeceac6b3d8fb3054 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -globalopt -S | grep {@X.f0}
-; RUN: opt %s -globalopt -S | grep {@X.f1}
+; RUN: opt %s -globalopt -S | grep {@X.f0}
+; RUN: opt %s -globalopt -S | grep {@X.f1}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
 
index 2cbc0531894b66c8104a4b307014832c37705a6a..5a3c3cd1c057efa0447126f3f80e2195b127fc2f 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -globalopt -S | grep {@X.f0}
-; RUN: opt %s -globalopt -S | grep {@X.f1}
+; RUN: opt %s -globalopt -S | grep {@X.f0}
+; RUN: opt %s -globalopt -S | grep {@X.f1}
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
index cc8e74c04238e1329e4774e1ba2f8e6fe0299ea9..2eba944cfda2567c688d01475e6f5a34c9741f46 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -globalopt -S | grep {tmp.f1 = phi i32. }
-; RUN: opt %s -globalopt -S | grep {tmp.f0 = phi i32. }
+; RUN: opt %s -globalopt -S | grep {tmp.f1 = phi i32. }
+; RUN: opt %s -globalopt -S | grep {tmp.f0 = phi i32. }
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin7"
index 49b1ed0b8fc946bac62773b4f28288abeaad1fee..59403b18d9d750a44e28d80a03e7af8292996aab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -instcombine | \
+; RUN: opt %s -globalopt -instcombine | \
 ; RUN:    llvm-dis | grep {ret i1 true}
 
 ;; check that global opt turns integers that only hold 0 or 1 into bools.
index 9c5ea38f6040ec406f43eb0e2f84b835c369fe4b..7466874275908fb149cd6ed656f2c0eea7afd553 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep %G
+; RUN: opt %s -globalopt -S | not grep %G
 
 @G = internal global i32 0              ; <i32*> [#uses=1]
 @H = internal global { i32* } { i32* @G }               ; <{ i32* }*> [#uses=1]
index 7a37da74271611122650db2fcaf43241212ec494..5d4696f71b1af1432c2f86f6eabb4cf33e21b5a7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep global
+; RUN: opt %s -globalopt -S | not grep global
 
 @G = internal global i32* null          ; <i32**> [#uses=3]
 
index 400e1addc9c820d2f1900b0797b1c77cc274122d..335f5ec3a36887391b07dcff7a9d212fab83b91f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | \
+; RUN: opt %s -globalopt -S | \
 ; RUN:   grep {G1 = internal constant}
 
 @G1 = internal global [58 x i8] c"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\00"         ; <[58 x i8]*> [#uses=1]
index 48f6dfa8aedd2badd99df5136ca4d58f55d6d1bf..a9b9d5e6bdcb4cfff396ef4471388660dfd1bcbf 100644 (file)
@@ -1,6 +1,6 @@
 ; both globals are write only, delete them.
 
-; RUN: opt %s -globalopt -S | \
+; RUN: opt %s -globalopt -S | \
 ; RUN:   not grep internal
 
 @G0 = internal global [58 x i8] c"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\00"         ; <[58 x i8]*> [#uses=1]
index 1734752dcdeb6e4695f104b8556434fcfdfef8ae..cd8a7dc990ffe0b93e1599b317aaf8d00c12bace 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that PHI nodes and select instructions do not necessarily make stuff
 ; non-constant.
 
-; RUN: opt %s -globalopt -S | not grep global
+; RUN: opt %s -globalopt -S | not grep global
 
 @X = internal global i32 4              ; <i32*> [#uses=2]
 @Y = internal global i32 5              ; <i32*> [#uses=2]
index 9ce03cb3a1d2e0b52a87d032e2df8c25bc4126dd..2f5ae869b7c27bd5062ea56194e0f05c6ce55407 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | \
+; RUN: opt %s -globalopt -S | \
 ; RUN:   grep {call void @Actual}
 
 ; Check that a comparison does not prevent an indirect call from being made 
index 2f327270d7b98733848e7ceb1a3246adf1ac8859..8019076f9463e3ba31cd0f9f1049d2fc37bac7cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep global
+; RUN: opt %s -globalopt -S | not grep global
 
 @G = internal global void ()* null              ; <void ()**> [#uses=2]
 
index ed9d62292959b71df8118314d684ca5abb9d06dc..c14949739508f367aa1d403cf5a5938db2432253 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt -S | not grep store
+; RUN: opt %s -globalopt -S | not grep store
 
 @llvm.global_ctors = appending global [1 x { i32, void ()* }] [ { i32, void ()* } { i32 65535, void ()* @_GLOBAL__I__Z3foov } ]          ; <[1 x { i32, void ()* }]*> [#uses=0]
 @X.0 = internal global i32 undef                ; <i32*> [#uses=2]
index 87f63758abc712f959edaf1272173194f67b0b1f..66403363bf932e8f93b7290d742445a04b399764 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipconstprop -S | grep {ret i32 %r}
+; RUN: opt %s -ipconstprop -S | grep {ret i32 %r}
 ; Should not propagate the result of a weak function.
 ; PR2411
 
index 32810bd493672eea404ba0b7d95b02571385f918..4b9938e09e90c66476f0e2829d3f733ab122b215 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipconstprop -disable-output
+; RUN: opt %s -ipconstprop -disable-output
 define internal void @foo(i32 %X) {
         call void @foo( i32 %X )
         ret void
index d6ccac78c38241f8821dc01bb06c07d988d07d00..b25a6c081811104e6b8a6891915f52cd399e030b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipconstprop -deadargelim -S | not grep %X
+; RUN: opt %s -ipconstprop -deadargelim -S | not grep %X
 define internal i32 @foo(i32 %X) {
         %Y = call i32 @foo( i32 %X )            ; <i32> [#uses=1]
         %Z = add i32 %Y, 1              ; <i32> [#uses=1]
index 93071cc6df7fa392e1d5b1db26a70443e81cfd42..0223453fa1775cf48f9c6c4b5f7aaef267f3dc14 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipconstprop -S > %t
+; RUN: opt %s -ipconstprop -S > %t
 ; RUN: cat %t | grep {store i32 %Z, i32\\* %Q}
 ; RUN: cat %t | grep {add i32 1, 3}
 
index 72cb796258db97aa05c761e64360fffbf4e2fc88..b25585952873dcd6e4f17c637cc254e4d0b3ec77 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipconstprop -instcombine | \
+; RUN: opt %s -ipconstprop -instcombine | \
 ; RUN:    llvm-dis | grep {ret i1 true} | count 2
 define internal i32 @foo(i1 %C) {
         br i1 %C, label %T, label %F
index f83440dd56c9a1cd07fb3a5faf15de4872d869dd..79220dd1f53d857e188a6bb28c5fa04c4f7fab16 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipconstprop -S > %t
+; RUN: opt %s -ipconstprop -S > %t
 ;; Check that the 21 constants got propagated properly
 ; RUN: cat %t | grep {%M = add i32 21, 21}
 ;; Check that the second return values didn't get propagated
index e6d67497e325113eccd51ce394b93cb3a090b9b9..b6d98031b7328a9a0c96c1a6bdbcfa48036bc412 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indmemrem -S | grep bounce | grep noalias
+; RUN: opt %s -indmemrem -S | grep bounce | grep noalias
 
 declare i8* @malloc(i32)
 
index c5481c684bdc00d6bcf37674b4b12d31396fb1d7..92911ae078c399aaded3fd24b2f1608920f7b36a 100644 (file)
@@ -1,7 +1,7 @@
 ; Induction variable pass is doing bad things with pointer induction vars, 
 ; trying to do arithmetic on them directly.
 ;
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ;
 define void @test(i32 %A, i32 %S, i8* %S.upgrd.1) {
 ; <label>:0
index d12709a84fbf4457e16962ea5c3d44af9ae83454..38fa112bdb5ee69890e35c44adb3b2ce0b67a919 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a test case for the expression analysis code, not really indvars.
 ; It was assuming any constant of int type was a ConstantInteger.
 ;
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 
 @X = global i32 7               ; <i32*> [#uses=1]
 
index a5bb87eecf91701f8746c45248afa52a4e0e8dd1..36d50065d370754ba8cbff8f5d35e18f4c7b3838 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep indvar
+; RUN: opt %s -indvars -S | grep indvar
 
 define i32 @test() {
 ; <label>:0
index 189ae950dd32b5a7e7bb4eee82f3c33edf773119..c8f97e39bef6eca71a8c4701be0ee5a502458dfd 100644 (file)
@@ -1,7 +1,7 @@
 ; The induction variable canonicalization pass shouldn't leave dead
 ; instructions laying around!
 ;
-; RUN: opt %s -indvars -S | \
+; RUN: opt %s -indvars -S | \
 ; RUN:   not grep {#uses=0}
 
 define i32 @mul(i32 %x, i32 %y) {
index bc2d088d3afc6a10183620ba0fc85992f4e496ac..70ea11ebf04fcc7563e97a300848e497bda95af9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @test() {
 entry:
index dfbef05d2f32846fc2e5983a64657d097f924667..5aa2d90a42b9d0762b345b64e128000dc1f75cc3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output 
+; RUN: opt %s -indvars -disable-output 
 define void @_ZN17CoinFactorization7cleanupEv() {
 entry:
         br i1 false, label %loopexit.14, label %cond_continue.3
index 7f9bb0d422011f9673ec280673550e79d7c2b617..0fc9c8547d9d33993d1c8d33f188692c011d954c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep indvar | not grep i32
+; RUN: opt %s -indvars -S | grep indvar | not grep i32
 
 @G = global i64 0               ; <i64*> [#uses=1]
 
index 9111f616e6c23781a7a0428a6b9e8b74b8f5dd00..c49819e27af453b023a879c9718ea42243bcad78 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @test() {
         br label %endif.0.i
index 1bb55be1992ba9016dcc1582e5eb395a2a30c475..1ed4c44d2650cd53fbdbd9da05f19309643f9ed4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; ModuleID = '2004-04-05-InvokeCastCrash.ll'
        %struct.__false_type = type { i8 }
        %"struct.__gnu_cxx::_Hashtable_node<const llvm::Constant*>" = type { %"struct.__gnu_cxx::_Hashtable_node<const llvm::Constant*>"*, %"struct.llvm::Constant"* }
index 3589450baa284e54ad8d525bf53745422d90515b..ec1218bb86dd0debe32eb74e22abe1f2d4dccb59 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @.outPlank_21() {
 entry:
index 6849f13945ba2435cd10104782d6100941c9b637..aee67ccacc5f40f5f488eb3f11847c5cb3e74edb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() {
 entry:
index cf5f31d34e9db86d5c2a683cf7d156fda6cab8f9..70a7a9de05f087343814b8b90c5731ae7f0e615e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 declare void @q_atomic_increment()
 
index 4b55d8707c96a137cff28ecf40e2a544b511bef2..1ba69826faf9b7c603d1dd432d2ae0461f3ba2c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | \
+; RUN: opt %s -indvars -S | \
 ; RUN:   grep {ret i32 152}
 
 define i32 @main() {
index e6fca7ba74ae5119c25deeb3666ce9743c8b8e91..0862f1131b5a0d90cbe54c712c341c4628f533b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @main() {
 entry:
index 310e450ad7ed5095d5f9b732f1cbfcf95cbe4bfe..f9a3fe6233a558035a7d12e3cd53acdf8b72939a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 @fixtab = external global [29 x [29 x [2 x i32]]]               ; <[29 x [29 x [2 x i32]]]*> [#uses=1]
 
index 82e1a6b56bfdd1b0dbf7cfc262bfa16060747e6d..1bbc63108086b94c7c3be6ef7ba68c4c918d1a88 100644 (file)
@@ -1,5 +1,5 @@
 ; PR726
-; RUN: opt %s -indvars -S | \
+; RUN: opt %s -indvars -S | \
 ; RUN:   grep {ret i32 27}
 
 ; Make sure to compute the right exit value based on negative strides.
index 7a84008c34d99016ab0178cae8f48bb920ef54ae..36ec2b81ba73b2c1f6ff96f39e2a213f14b726a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @get_block() {
 endif.0:
index 5d45f38e7dbd4f78d1487b0d99546e3d7a2732f5..787c9b07bdcd0c9660e69e74bc9ac02a6417d4c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; ModuleID = '2006-09-20-LFTR-Crash.ll'
        %struct.p7prior_s = type { i32, i32, [200 x float], [200 x [7 x float]], i32, [200 x float], [200 x [20 x float]], i32, [200 x float], [200 x [20 x float]] }
 
index fbd1bdb558a8635a2624979d568ab31ba61e22d0..79ac1f072de6aaa76b8b6a52185cfd7a774e1045 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8"
        %struct.vorbis_dsp_state = type { i32, %struct.vorbis_info*, float**, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* }
index d68541c1d544dc0389d755ddcef607b99e414ce2..268b8d1a7e47642ab5b6490a6e0d9646c3c25ac2 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1015
-; RUN: opt %s -indvars -S | not grep {ret i32 0}
+; RUN: opt %s -indvars -S | not grep {ret i32 0}
 
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8"
index 74c7095afafb23fbc29258b800a45b97073a2201..fc7d6335910dbf9cbf7582a7c27ec580fddf22d2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR1487
 
        %struct.AVClass = type { i8*, i8* (i8*)*, %struct.AVOption* }
index b6cf6e7b95a39a5bc18cf470c8ae93bbd0ec518f..cad4eb155ce930ddd9e8a11bcad7d4cf880c5fd8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR1814
 target datalayout = "e-p:32:32-f64:32:64-i64:32:64-f80:32:32"
 
index cfeb4d25881f00f17011d0916854020362c9e018..77235d2888e5ce944fcb06211262731b8648bda3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR2434
 
 define fastcc void @regcppop() nounwind  {
index 1822fa5434675f3d1dce26bbfdb991dc6551b1d5..288431aa8bcfb452ea4e2a5d83460933e035192e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep sext | count 1
+; RUN: opt %s -indvars -S | grep sext | count 1
 ; ModuleID = '<stdin>'
 
        %struct.App1Marker = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }>
index d83997f180cbbc93dc21126d51918d1aced74cf7..23e78849613877324b3189102654105512372e02 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; PR2857
 
 @foo = external global i32             ; <i32*> [#uses=1]
index d352da6662142baae4ee7d3774e0a00b54b71459..7b4032b2eba9a76c665b2e6da246a5a7c29d8723 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep icmp | count 4
+; RUN: opt %s -indvars -S | grep icmp | count 4
 define void @bar() nounwind {
 entry:
        br label %bb
index 137a5f43ba1d365d43764718ef7fddbf4ff54b5f..311d3daa8f3212e9092e7970ec1ff606caaea714 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -indvars -S | grep icmp | count 2
-; RUN: opt %s -indvars -S | grep sitofp | count 1
-; RUN: opt %s -indvars -S | grep uitofp | count 1
+; RUN: opt %s -indvars -S | grep icmp | count 2
+; RUN: opt %s -indvars -S | grep sitofp | count 1
+; RUN: opt %s -indvars -S | grep uitofp | count 1
 
 define void @bar() nounwind {
 entry:
index 1ea7eaa2522b1e9acf81f1bdb936ba457230606a..39b97af86fa5ccb2a3286111c79c1dcc14dbc463 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 
 define void @t() nounwind {
 entry:
index 8b9554ba93aa890c7b528628ee1803f8f3eefda4..37ad63a9a77298f5d2f1d5f9a222525ca8876423 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | not grep {sext}
+; RUN: opt %s -indvars -S | not grep {sext}
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-apple-darwin9.6"
index 10f52b64cef2f61ae379b52b40023893496f6fb0..803b540606e5cfb5f75f4d619de050327d7433fa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -instcombine -S | not grep {\[sz\]ext}
+; RUN: opt %s -indvars -instcombine -S | not grep {\[sz\]ext}
 ; ModuleID = '<stdin>'
 ;extern int *a, *b, *c, *d, *e, *f;  /* 64 bit */
 ;extern int K[256];
index f81232e6614e7d9e1b8f1777282083e3666e164c..24074bf7271d6ee19c33d890118673db5defadf7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; rdar://6817574
 
 define i32 @t1() nounwind ssp {
index 3a3117184179ba7699214f25a87701653f67289a..9fd2d2f04f7253effc367e3ff223048eb9f59540 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep icmp | grep next
+; RUN: opt %s -indvars -S | grep icmp | grep next
 ; PR4086
 declare void @foo()
 
index ebcd9985581ca8f906662cce16e9533aa290e718..9ad86913e22f91af040c41657e931dbf677a6c39 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; PR4258
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i386-linux-gnu"
index b5fcbed8fc802e7de3e4bc310e7c15d90e4bdbd6..436840ae907502fe1c37ce25e824f88e808635d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep phi %t | count 4
 ; RUN: grep {= phi i32} %t | count 4
 ; RUN: not grep {sext i} %t
index 319fd5ecef306fa04e68227ff4b6b52209408dd8..9e4273491e400f334790e5a26da436a8215578d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep getelementptr %t | count 1
 ; RUN: grep {mul .*, 37}  %t | count 1
 ; RUN: grep {add .*, 5203}  %t | count 1
index 5d63c0caa1ed4c708e9a51fc87c958673928ab35..baaefdc2bc51dd19784b7b3d4b5e35b83aca77f2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep sext %t | count 1
 
 ; Indvars should be able to eliminate all of the sign extensions
index 186f4bc1ceceb13de6bb7fbb927a7b727e2f24a8..d110a8a7ba97d0f86c4a04d56cc5489e530620e6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; PR4052
 ; PR4054
 
index cd6ffd8bdf1f438eee63e29d4298a6c8067a7579..dfefe1dc5bbeeb696eba1b654dde53fa17d509bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR4009
 ; PR4038
 
index 28e9e4a97efec459c716d5f4b5ed9fb83fe9044f..434c4ec995251814a190539a5b4eeaf6f74cbf86 100644 (file)
@@ -1,7 +1,7 @@
 ; The i induction variable looks like a wrap-around, but it really is just
 ; a simple affine IV.  Make sure that indvars eliminates it.
 
-; RUN: opt %s -indvars -S | grep phi | count 1
+; RUN: opt %s -indvars -S | grep phi | count 1
 
 define void @foo() {
 entry:
index 599164874d95f5d563882a7fc9ca6d6bb0d84c43..16608ee8280e1a13be3453c07fbadebc4ed8c0fe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; PR4271
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index ed86ba5c4e04226e9e3e9b96487010e38a74bca3..737e733375fdb765b99905c581fdff9ade5de47b 100644 (file)
@@ -2,7 +2,7 @@
 ; these loops all have predictable exit values we can replace the use outside
 ; of the loop with a closed-form computation, making the loop dead.
 ;
-; RUN: opt %s -indvars -loop-deletion -simplifycfg | \
+; RUN: opt %s -indvars -loop-deletion -simplifycfg | \
 ; RUN:   llvm-dis | not grep br
 
 define i32 @polynomial_constant() {
index 255ef079aa20c87d989cbfce7c3c0cf2e76bb07b..8adc0e5257777dc82d4b137375da5cb7cf2f7720 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 
 ; An invoke has a result value which is used in an "Interesting"
 ; expression inside the loop. IndVars should be able to rewrite
index 97adfbb1c33cd2e68c405157b351c4cbd9e5d505..02145d1c5e7af4f7811cbd7ad6f6233754f85b58 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 ; ModuleID = 'testcase.bc'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
index 8f3ce92f3c214b862a58b7e074600fc40deff276..55165022109a6de7a653ba80eecb8a9ca34ac91f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep {= sext} %t | count 4
 ; RUN: grep {phi i64} %t | count 2
 
index aa025b70dbdca9bb1a66cd0281c73262d72f1a78..09ec237cfc3304dec8e1c0da53977ba99785c9fb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 ; Don't RAUW the loop's original comparison instruction if it has
 ; other uses which aren't dominated by the new comparison instruction.
index 29a5b6f860e6538ad4bb0ea87873ff3be5d99526..c4ecc845562b3107c98a4755ad36f83604187dcd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep add | count 1
+; RUN: opt %s -indvars -S | grep add | count 1
 
 ; Indvars should be able to compute the exit value of this loop
 ; without any additional arithmetic. The only add needed should
index 37603eb6c2e179395ab915328541332c71e52785..e373013609bec0f3433ede8e8930ea626f3c26f5 100644 (file)
@@ -1,6 +1,6 @@
 ; LFTR should eliminate the need for the computation of i*i completely.  It 
 ; is only used to compute the exit value.
-; RUN: opt %s -indvars -dce -S | not grep mul
+; RUN: opt %s -indvars -dce -S | not grep mul
 
 @A = external global i32                ; <i32*> [#uses=1]
 
index 9fd1ca819121038d3127d683b632a5419b9ba251..2d2d1fe264ab5341595f935e1879f811afcd5fb1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -instcombine -indvars -disable-output
+; RUN: opt %s -loop-index-split -instcombine -indvars -disable-output
 ; PR4455
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index bccae9f19e6aa4168937f23cea6957c3961a8a4c..4ec4acadb4a573c36123366ab01858cfdae9227d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S \
+; RUN: opt %s -indvars -S \
 ; RUN:   | grep {%b.1 = phi i32 \\\[ 2, %bb \\\], \\\[ 1, %bb2 \\\]}
 
 ; This loop has multiple exits, and the value of %b1 depends on which
index 80e99e1b3b6a01a9fae684288717ac30031b54b8..40b785ea4d6a0936355e789224cecf1f0ccd038d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -domfrontier -indvars -loop-deletion
+; RUN: opt %s -domfrontier -indvars -loop-deletion
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 
index 09c8df79a7ce2ea976c932097848a0a2ab06f77c..b9c0b12f2d97e94a5068319dc1171b18e29161a2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; PR4436
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index 9ea99620f52ef29063572d03c44669a10fc0678c..2a9d205962335838bf6a2bb348bebd45d6556566 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | not grep select
+; RUN: opt %s -indvars -S | not grep select
 
 ; This loop has backedge-taken-count zero. Indvars shouldn't expand any
 ; instructions to compute a trip count.
index 9dd7ef0ff68eec69ba0d5e4993e90570b50911e9..8184a73f89ebacba00059abd3e88ce1734ccd4cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep {\[%\]tmp7 = icmp eq i8 -28, -28} %t
 ; RUN: grep {\[%\]tmp8 = icmp eq i8 63, 63} %t
 ; PR4477
index c57ab0dc1819d1f611d9233c252cd8333f0589a1..abf1bc3a9d095a9e182f210f6b658ece700801dc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -loop-deletion -simplifycfg -S | not grep br
+; RUN: opt %s -indvars -loop-deletion -simplifycfg -S | not grep br
 ;
 ; Testcase distilled from 256.bzip2
 
index 3b34eecc541a9be2d508e276b44f166e99d644b7..c0099a83ab1748d29e3ef48b9c0a5fbf8a249975 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -loop-deletion -simplifycfg | opt \
+; RUN: opt %s -indvars -loop-deletion -simplifycfg | opt \
 ; RUN:     -analyze -loops | not grep "^Loop Containing" 
 ; PR1179
 
index 787c284089eee83c81e463cba99679f0746f19d3..65c66f7f5acaa5f2c1359dc02b875b14f0394b42 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep {ret i32 600000}
+; RUN: opt %s -indvars -S | grep {ret i32 600000}
 ; PR1179
 
 define i32 @foo() {
index f7959459f84b52fbb0992694cfd2146c5cf59417..e4b642c7f58e5bacad0a1bb7b3485942f35443be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep {ret i32 9900}
+; RUN: opt %s -indvars -S | grep {ret i32 9900}
 ; PR1179
 
 define i32 @test4() {
index 0d9ed0a8a057b2ecdea08d866803fed97496fae6..80b961ac7c344e122e2a61e8af8cf538840fe144 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep {120, %bb2.bb3_crit_edge}
+; RUN: opt %s -indvars -S | grep {120, %bb2.bb3_crit_edge}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-pc-linux-gnu"
 
index aa8fe30a86a0832493b250c3d2bd5d8e517e16d4..da38de538f7bf60bc0e4111134f2454d9686027b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -loop-deletion -S | grep phi | count 1
+; RUN: opt %s -indvars -loop-deletion -S | grep phi | count 1
 ; XFAIL: *
 
 ; Indvars can't evaluate this loop, because ScalarEvolution can't compute
index 644e3ec071d4fa09929cb20f75bc7ebcb6274305..71bc720d5e9c84004c595976cdc895877e50bf87 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep {icmp ugt i8\\\*} %t | count 1
 ; RUN: grep {icmp sgt i8\\\*} %t | count 1
 
index 1f2df9077967b76b1f53ef8280239a4c5bb55b2e..34d432b4ee16efcd41df2e3530ef936c3e52d509 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 
 @ue = external global i64
index c2dee6a72ed6fcf25ebd810bbc177c13c624a7db..6d25f90542ca12580c0a715d9dd9823b602b29d3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep indvar
+; RUN: opt %s -indvars -S | grep indvar
 @G = global i32* null           ; <i32**> [#uses=1]
 @Array = external global [40 x i32]             ; <[40 x i32]*> [#uses=1]
 
index ae59055fc679144d98e387769392f789a81ee564..5eee655d4225b29ea7314194c22bb69cd6593eb3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep {%exitcond = icmp eq i64 %indvar.next, %n} %t
 ; RUN: grep {getelementptr i8\\* %A, i64 %indvar} %t
 ; RUN: grep getelementptr %t | count 1
index a247f7b499d39282572201168b6a0ea880648331..bb0993c88eabd86b8a36e381a0c42c3f7e15f1a8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; Exactly one getelementptr for each load+store.
 ; RUN: grep getelementptr %t | count 6
 ; Each getelementptr using %struct.Q* %s as a base and not i8*.
index a877ba048aec9e720d92c1de3c22f6fe0debd6cd..d249432eeeb93fe1df9755080cfe5e3c5c79ef1e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S \
+; RUN: opt %s -indvars -S \
 ; RUN:   | grep {\[%\]p.2.ip.1 = getelementptr \\\[3 x \\\[3 x double\\\]\\\]\\* \[%\]p, i64 2, i64 \[%\]tmp, i64 1}
 
 ; Indvars shouldn't expand this to
index 8781d748fa613721d3eefd7e07526586c75592ed..a27d20dc965315f3c57c6a267e6a32e420544c43 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: not grep ptrtoint %t
 ; RUN: not grep inttoptr %t
 ; RUN: grep getelementptr %t | count 1
index 2727752ba07d4f51eeca82b4b765fc5644f3a0b6..9e46a78ffc76ddbf9d2832481e14723b3f8c6cf9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: grep sext %t | count 1
 ; RUN: grep phi %t | count 1
 ; RUN: grep {phi i64} %t
index 4f46cafbe525fbb85acb225d98e294b7f0918e10..a007ca60b08f955e7213671ba951fc32a4e72904 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: not grep sext %t
 
 define i64 @test(i64* nocapture %first, i32 %count) nounwind readonly {
index 0214ce3680b73af8d2a56329d43787869c5a6c0e..623c528487deacb12b9d744eeaf7bdff7df5349d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalar-evolution -analyze -disable-output \
+; RUN: opt %s -scalar-evolution -analyze -disable-output \
 ; RUN:  | grep {\\-->  (zext i4 {-7,+,-8}<loop> to i32)}
 
 define fastcc void @foo() nounwind {
index d16abd45137bf4b8cb7f1b5c7304f2265a190f09..1a5e64ddc1b9d0f31724725430c31b451178cff0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S > %t
+; RUN: opt %s -indvars -S > %t
 ; RUN: not grep sext %t
 ; RUN: grep phi %t | count 1
 
index 5500861873de1a4d351a7a87907c3efcb60ce400..60a9eef09ef6484cc6ea2ee65d52a5defc16e373 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"
 target triple = "armv6-apple-darwin10"
index 38448d8ff5ddf4cb2106dfc7b4fd2afc8421861f..3a6c683e7cec0ad53ebdc0b5cd49c43447bca37c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | FileCheck %s
+; RUN: opt %s -indvars -S | FileCheck %s
 ; PR4775
 
 ; Indvars shouldn't sink the alloca out of the entry block, even though
index 7544e011ab5c1cb26d4d3da0cffa2139c0ebe8dc..a18000c5f8a8c0429e3f81334cc87f2b2924ef03 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | FileCheck %s --check-prefix=CHECK
+; RUN: opt %s -indvars -S | FileCheck %s --check-prefix=CHECK
 
 declare i1 @b()
 
index db8136ac21fd894fd189cc01826fbef112963d26..f45bdab4be5876b4e41026318e40f598ec51e261 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S | grep indvar
+; RUN: opt %s -indvars -S | grep indvar
 
 @G = global i64 0               ; <i64*> [#uses=1]
 
index 63338213ac8e05d2c046b1daa527f32c056dc6f0..6eaa4c5c6b636e0610027631bf3d68a8b18f1cc4 100644 (file)
@@ -3,7 +3,7 @@
 ; the exit value of the loop will be for some value, allowing us to substitute
 ; it directly into users outside of the loop, making the loop dead.
 ;
-; RUN: opt %s -indvars -loop-deletion -simplifycfg -S | not grep br
+; RUN: opt %s -indvars -loop-deletion -simplifycfg -S | not grep br
 
 define i32 @linear_setne() {
 entry:
index db457447c836e5433f6cd2c4ffc2eee4d8ea8f72..0495b50c3e485ad0f650c536aec9e2565c75a44c 100644 (file)
@@ -1,7 +1,7 @@
 ; These tests have an infinite trip count.  We obviously shouldn't remove the 
 ; loops!  :)
 ;
-; RUN: opt %s -indvars -adce -simplifycfg -S | grep icmp | wc -l > %t2
+; RUN: opt %s -indvars -adce -simplifycfg -S | grep icmp | wc -l > %t2
 ; RUN: llvm-as < %s | llvm-dis | grep icmp | wc -l > %t1
 ; RUN: diff %t1 %t2
 
index b4d510deca7aadcf693d30b89fa19a7c37963ffe..0c8857f85789ffeed037f9691b4cdb05a48e41e6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -instcombine -S | \
+; RUN: opt %s -indvars -instcombine -S | \
 ; RUN:   grep {store i32 0}
 ; Test that -indvars can reduce variable stride IVs.  If it can reduce variable
 ; stride iv's, it will make %iv. and %m.0.0 isomorphic to each other without 
index 17bdf0be1d9b5e9b23f01230420131b9819956d5..98cfa345962c23506a7590471d2aad581d45835f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; PR4315
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index dd7a662a6beff310352db5345524fe0f4d8fe430..49a27e195e2a74e436355844a2e82f490cacc751 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 declare i32 @External()
 
index e1b426e20a4c4ff09c288eb771af73208ebca481..5ced3b8e8da9cb2054a91953ea94c947e5f08196 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index 6c00dfa9140039ad1d1b310b2da4e5c3b639d137..4418f77c9d0b4793ef6f1a840204dcb5953e4613 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index add2312d17e363c7c6bd86a6f6790b79a7c9c208..1bd55299a901242a49ac9141a5c436aa989bd5b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index 40dc6827770c6c412da7c1eecf07a3aa0fe0cc69..4a80d37c09746f140d3416aa556f84da966a8dde 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @reload() {
 reloadentry:
index 295d780b106df6dda1113a8b72d0b6bd73527c82..9afd45040ca97bf099f06528b221092b4c0ef737 100644 (file)
@@ -2,7 +2,7 @@
 ; node in the exception destination, and the inlined function contains an 
 ; unwind instruction.
 
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define linkonce void @foo() {
         unwind
index 1d154908a38fe49af963c35e5fa8ae6ce068d87a..38994519cea45129dafa587004eaf805aba6d726 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 ; Inlining the first call caused the inliner function to delete the second
 ; call.  Then the inliner tries to inline the second call, which no longer
index 500f350a9ec1d311f764b8582d7a4f93c9fadc8e..fabad30bb5ac782924e1e035686aef0e4d857e6e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -prune-eh -disable-output
+; RUN: opt %s -inline -prune-eh -disable-output
 
 define linkonce void @caller() {
         call void @callee( )
index 3f832c79b9203b39eea0ba07cfd97b7e75a8cbda..733cbb9c754f468c0a6be7402f6c051d31d55db6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @test() {
         unwind
index 0f343d268be97dcb6106f407a268e126cc723d93..415495eb515dbadc92352c16b42316d1bf542ea5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -prune-eh -disable-output
+; RUN: opt %s -inline -prune-eh -disable-output
 
         %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>" = type { %"struct.std::locale::facet" }
         %"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >" = type { i32 (...)**, i32*, i32*, i32*, i32*, i32*, i32*, %"struct.std::locale" }
index 9525725b6e415a0cb1e9696153574caaa1749b1e..69345627221bcd330e872865a632ccabf70346dc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -prune-eh -disable-output
+; RUN: opt %s -inline -prune-eh -disable-output
 ; PR827
 @_ZTV8CRjii = internal global [1 x i32 (...)*] [ i32 (...)* @_ZN8CRjii12NlFeeEPN5Jr7sE ]               ; <[1 x i32 (...)*]*> [#uses=0]
 
index 4b747d4bd50ee06e8df0a1c9b88b11f17c425d49..37cba9801caa44e2653d7c0700658c29a7428769 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -prune-eh -disable-output
+; RUN: opt %s -inline -prune-eh -disable-output
 ; PR993
 target datalayout = "e-p:32:32"
 target triple = "i386-unknown-openbsd3.9"
index 41a03629af0195a56f199a77cf6b0e2f74a2bc86..279823a4b2811b59ca6cb98e01755c4779c81f71 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -prune-eh -disable-output
+; RUN: opt %s -inline -prune-eh -disable-output
 ; PR992
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index 43ff4061404841c9ecd39744473f6ba20890306d..635f93e8242850500995f72744e838a7c2561b0f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | not grep {invoke void asm}
+; RUN: opt %s -inline -S | not grep {invoke void asm}
 ; PR1335
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
index 4a7ced8bed5fcabf130063e43c5d5ab4c7bfca60..d5a7953ffb07f9ad3a0eeb8511ab00e260549243 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | grep "define internal i32 @bar"
+; RUN: opt %s -inline -S | grep "define internal i32 @bar"
 @llvm.noinline = appending global [1 x i8*] [ i8* bitcast (i32 (i32, i32)* @bar to i8*) ], section "llvm.metadata"             ; <[1 x i8*]*> [#uses=0]
 
 define internal i32 @bar(i32 %x, i32 %y) {
index 941326efb4e83298fa7e2b82ed4f35657671a0b3..929891a6785e5ab418561ee59497a681602adc05 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | grep call
+; RUN: opt %s -inline -S | grep call
 
 ; 'bar' can be overridden at link-time, don't inline it.
 
index 9ba42f8e2b41e235b8ded86bbb690b20eabd96f6..3311d56536823301cf2c1fd957e2ddeae2bc7742 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
        %struct.Benchmark = type { i32 (...)** }
        %struct.Complex = type { double, double }
        %struct.ComplexBenchmark = type { %struct.Benchmark }
index 76356146703ad3c9c6f66f1b84e5feccbd95b6c0..0c968e6ce18dc81282ae74ac2b36f8ff77f3eba0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
        %struct.Demand = type { double, double }
        %struct.branch = type { %struct.Demand, double, double, double, double, %struct.branch*, [12 x %struct.leaf*] }
        %struct.leaf = type { %struct.Demand, double, double }
index f1ea7880fe666bc19622695fa33914573f058726..86afb2d43ec074b68cd060dd80a658860d1ca590 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
        %struct.Demand = type { double, double }
        %struct.branch = type { %struct.Demand, double, double, double, double, %struct.branch*, [12 x %struct.leaf*] }
        %struct.leaf = type { %struct.Demand, double, double }
index f8c95844e13afe9a32024691e332f8acae3697d1..39095c407281516a8ae31071820601b3c61c697b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s  -inline-threshold=0 -inline -S | not grep call 
+; RUN: opt %s  -inline-threshold=0 -inline -S | not grep call 
 
 define i32 @fn2() alwaysinline {
   ret i32 1
index cc0e51b1e0b5f2177b1e4651d862048c1782ad50..33c8949afe05077afdad972d216d21c29862f9d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | grep call | count 1
+; RUN: opt %s -inline -S | grep call | count 1
 
 define i32 @fn2() noinline {
   ret i32 1
index 34b95b70ac0158fef91fbb54359c16d5eee9e19b..11e501274d3bf19c695a180cd45902dd8f76080d 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: opt %s -always-inline -S | not grep call 
+; RUN: opt %s -always-inline -S | not grep call 
 
 ; Ensure that threshold doesn't disrupt always inline.
-; RUN: opt %s -inline-threshold=-2000000001 -always-inline -S | not grep call 
+; RUN: opt %s -inline-threshold=-2000000001 -always-inline -S | not grep call 
 
 
 define internal i32 @if0() alwaysinline {
index 79c0302e3291662577878cb3c9f07d0e78ffdc3a..bc9787b823453c1f3625a5275be066eec0830c67 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -always-inline -S | grep {@foo}
+; RUN: opt %s -always-inline -S | grep {@foo}
 ; Ensure that foo is not removed by always inliner
 ; PR 2945
 
index a34e6808b8fb8fcb607764c3dfab4f72c6c57625..db2a799225b991196dcc64f980d0e69d6aa65ff1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | grep call
+; RUN: opt %s -inline -S | grep call
 ; Do not inline calls to variable-sized alloca.
 
 @q = common global i8* null            ; <i8**> [#uses=1]
index b8ab4a3e6b5362eefafd9f766fa6fcdeb2477d21..1a3325a68b61b61cbeba38db83adcdcedb0223d7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | grep {call.*fib} | count 4
+; RUN: opt %s -inline -S | grep {call.*fib} | count 4
 ; First call to fib from fib is inlined, producing 2 instead of 1, total 3.
 ; Second call to fib from fib is not inlined because new body of fib exceeds
 ; inlining limit of 200.  Plus call in main = 4 total.
index a12aed4937ffb278f7351f14a5e657dc1c0ae8e3..7d8d16bacffec09187baffeb1357f00339163a85 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -argpromotion -disable-output
+; RUN: opt %s -inline -argpromotion -disable-output
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.6"
index 66b16f621305cde82c8336daeee1f5d81338cd02..c8629ea22eb1ad9c5a280c0d5c455e32553b2932 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 ; PR4123
        %struct.S0 = type <{ i32 }>
        %struct.S1 = type <{ i8, i8, i8, i8, %struct.S0 }>
index e3d38143f600309219cd265c65a4aa288fbd2744..d539255e6e0ac8f2a501ddff31241efa35f9e9ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline | llvm-dis
+; RUN: opt %s -inline | llvm-dis
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin10.0"
index a44d90682ad4a46523c26882c8eca7a84ad356ba..25cfc49f1a84abca13d61cc6cfcb328875da5395 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | not grep callee
+; RUN: opt %s -inline -S | not grep callee
 ; rdar://6655932
 
 ; If callee is marked alwaysinline, inline it! Even if callee has dynamic
index 9294a06c4d15d4725fd5b7acc9223fb2c2ef95c2..0d176b8acb3ccb7dfeb2936a51b6d851f5145b8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | FileCheck %s
+; RUN: opt %s -inline -S | FileCheck %s
 ; rdar://7173846
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin10.0"
index 6ccd3157c99e7e4fe3d0010253709d9202bfe9c0..71e00cb4c0827562ce5690f591ac5053ff46800e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output -print-function 2> /dev/null
+; RUN: opt %s -inline -disable-output -print-function 2> /dev/null
 
 define i32 @func(i32 %i) {
         ret i32 %i
index 907e3e2c18395d62936037cb0dbaa2c952edd4a7..c3552f696433db9e50c0b840c12043ceef992a55 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | grep {llvm.memcpy}
+; RUN: opt %s -inline -S | grep {llvm.memcpy}
 
 ; Inlining a byval struct should cause an explicit copy into an alloca.
 
index 04c61ee34f0b7c08efcea25325c231f5ad6810ab..a7ab77cb562c7a140c31b516cb42a6bcc1d45b5d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | not grep {llvm.memcpy}
+; RUN: opt %s -inline -S | not grep {llvm.memcpy}
 
 ; Inlining a byval struct should NOT cause an explicit copy 
 ; into an alloca if the function is readonly
index 05395ae33a72d555a4d03033dbfe0e2135972cb4..528e9af82e11cd05e78c577597342ed30fba9597 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -loop-rotate | llvm-dis
+; RUN: opt %s -inline -loop-rotate | llvm-dis
 ; PR3601
 declare void @solve()
 
index 1b9902b027beec83b658fbfa100edf40b8624d54..166185a545d153cb8c970d00f5ee7d69e85f4447 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | grep {ret i32 1}
+; RUN: opt %s -inline -S | grep {ret i32 1}
 ; ModuleID = 'short.opt.bc'
 
 define i32 @testBool(i1 %X) {
index 021c9e73ba689bf132386a4d5e3c6ba0e7c30e17..9597109dff0be15e049b176478778c9d93018de3 100644 (file)
@@ -1,6 +1,6 @@
 ; This test ensures that inlining an "empty" function does not destroy the CFG
 ;
-; RUN: opt %s -inline -S | not grep br
+; RUN: opt %s -inline -S | not grep br
 
 define i32 @func(i32 %i) {
         ret i32 %i
index 614fd75f426c4bbc5fa4ba5845273d6a336c2825..30eae7a96a7b7d9b0fac45f61e0ad4f955847406 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -argpromotion -instcombine -disable-output
+; RUN: opt %s -inline -argpromotion -instcombine -disable-output
 
 ; This test was failing because the inliner would inline @list_DeleteElement
 ; into @list_DeleteDuplicates and then into @inf_GetBackwardPartnerLits,
index b6b0971e79a24b003a185b93d8540ede1e16a2f9..0286535efec176890574b4943f007000c29dba24 100644 (file)
@@ -3,9 +3,9 @@
 ; Functions with dynamic allocas can only be inlined into functions that
 ; already have dynamic allocas.
 
-; RUN: opt %s -inline -S | \
+; RUN: opt %s -inline -S | \
 ; RUN:   grep llvm.stacksave
-; RUN: opt %s -inline -S | not grep callee
+; RUN: opt %s -inline -S | not grep callee
 
 
 declare void @ext(i32*)
index c975131d6eb430a3590129ca8a21bdb76294cb25..43fe5d37f9e8478718e7abd32f8e7d355c9fb226 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -constprop -S > %t
+; RUN: opt %s -inline -constprop -S > %t
 ; RUN: not grep test_function %t
 ; RUN: grep {ret i32 5} %t
 
index a62f1f6b7c04ec766dccd00e92018477c868dbbe..76182e2fe4f666bd8914d6d52e5424196323fd35 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline | llvm-dis
+; RUN: opt %s -inline | llvm-dis
 ; PR4834
 
 define i32 @main() {
index ce56fee9e3aacb5c0c149c3c6ce614d7015d3f34..961f6789fe4d05cb0d15b3eeb947feb66da3dda1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -S | not grep {tail call void @llvm.memcpy.i32}
+; RUN: opt %s -inline -S | not grep {tail call void @llvm.memcpy.i32}
 ; PR3550
 
 define internal void @foo(i32* %p, i32* %q) {
index 915aef00da34f7d2b3067bb5fbf1fcaf383f2ffc..4c6472194210227252976c363a18d76e88af53e8 100644 (file)
@@ -1,9 +1,9 @@
 ; Test that the inliner doesn't leave around dead allocas, and that it folds
 ; uncond branches away after it is done specializing.
 
-; RUN: opt %s -inline -S | \
+; RUN: opt %s -inline -S | \
 ; RUN:    not grep {alloca.*uses=0}
-; RUN: opt %s -inline -S | \
+; RUN: opt %s -inline -S | \
 ; RUN:    not grep {br label}
 @A = weak global i32 0         ; <i32*> [#uses=1]
 @B = weak global i32 0         ; <i32*> [#uses=1]
index 3066d45ff4b1b08e188528f077f1ea6ded93d686..537c69b305cbd0f9cc2dbec1046fbb251e47e414 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -inline -S | not grep callee
-; RUN: opt %s -inline -S | not grep div
+; RUN: opt %s -inline -S | not grep callee
+; RUN: opt %s -inline -S | not grep div
 
 
 define internal i32 @callee(i32 %A, i32 %B) {
index 632a9e4ca0dc591b4ce80a817d415df765ecfd48..5143d0249421c30d2eed2b959c28f8a8d0669e15 100644 (file)
@@ -1,7 +1,7 @@
 ; This checks to ensure that the inline pass deletes functions if they get 
 ; inlined into all of their callers.
 
-; RUN: opt %s -inline -S | \
+; RUN: opt %s -inline -S | \
 ; RUN:   not grep @reallysmall
 
 define internal i32 @reallysmall(i32 %A) {
index 62d4d22361361add984cf16a89ee934aa4a43301..658a422540aeba03847354c9e5f93c9addce8ce6 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -inline -S | \
+; RUN: opt %s -inline -S | \
 ; RUN:    not grep {callee\[12\](}
-; RUN: opt %s -inline -S | not grep mul
+; RUN: opt %s -inline -S | not grep mul
 
 define internal i32 @callee1(i32 %A, i32 %B) {
         %cond = icmp eq i32 %A, 123             ; <i1> [#uses=1]
index f611becda295d3f2c5dce5a1a15664b38760c5a1..0d27e2a7f5e4ca5aedbe3644f8061c396c3d4961 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that we can inline a simple function, turning the calls in it into invoke
 ; instructions
 
-; RUN: opt %s -inline -S | \
+; RUN: opt %s -inline -S | \
 ; RUN:   not grep {call\[^e\]}
 
 declare void @might_throw()
index b04f8abc34c2ca80a0754084865c7706cda51a2c..bbb9ab055393d61d9e38e946aeb3d1aa428350a2 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that if an invoked function is inlined, and if that function cannot
 ; throw, that the dead handler is now unreachable.
 
-; RUN: opt %s -inline -simplifycfg -S | \
+; RUN: opt %s -inline -simplifycfg -S | \
 ; RUN:   not grep UnreachableExceptionHandler
 
 declare void @might_throw()
index b170ecfd048d40692703c6b362d2e69113d45ad3..b360526fb3484bf3082c09bdb15335ae30cec640 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that any rethrown exceptions in an inlined function are automatically
 ; turned into branches to the invoke destination.
 
-; RUN: opt %s -inline -S | not grep unwind$
+; RUN: opt %s -inline -S | not grep unwind$
 
 declare void @might_throw()
 
index 27056d4cb2b2819e2fcd2db1a6f78834bba9e9ba..5d027a744920a048e64078617fc6a4a0af4ce2cb 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase causes instcombine to hang.
 ;
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 
 define void @test(i32 %X) {
         %reg117 = add i32 %X, 0         ; <i32> [#uses=0]
index 95dcbf9034e920255eda644843ba786a7ee71fef..d2b2b0027a52c51c6332af24f3dd79084ca5b0a0 100644 (file)
@@ -1,6 +1,6 @@
 ; Instcombine was missing a test that caused it to make illegal transformations
 ; sometimes.  In this case, it transforms the sub into an add:
-; RUN: opt %s -instcombine -S | grep sub
+; RUN: opt %s -instcombine -S | grep sub
 ;
 define i32 @test(i32 %i, i32 %j) {
         %A = mul i32 %i, %j
index 5835d473da35f7eebe6549fddb7d336b8727e8d8..363cb21e3958238309f5c59eeb406e4f90645054 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase is incorrectly getting completely eliminated.  There should be
 ; SOME instruction named %c here, even if it's a bitwise and.
 ;
-; RUN: opt %s -instcombine -S | grep %c
+; RUN: opt %s -instcombine -S | grep %c
 ;
 define i64 @test3(i64 %A) {
         %c1 = trunc i64 %A to i8                ; <i8> [#uses=1]
index b06aaf93af0969e7fa6fabcf30ba08f7f258f4ce..22574f77f1d90de95aa673b736c69da0a25bd38b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep add
+; RUN: opt %s -instcombine -S | not grep add
 
 define i32 @test(i32 %A) {
         %A.neg = sub i32 0, %A          ; <i32> [#uses=1]
index 21a7a8ef0a399d21479cd0a26460e1a840446e0a..19010d22d729cdc7b48e60c7ee05aa203afeaf6d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep 4294967295
+; RUN: opt %s -instcombine -S | grep 4294967295
 
 define i64 @test(i64 %Val) {
         %tmp.3 = trunc i64 %Val to i32          ; <i32> [#uses=1]
index dee2be03b4ff3b2d3b52397647a184999378cda5..8645249b7caea128d94973e4337bf12a749cff65 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 @X = global i32 5               ; <i32*> [#uses=1]
 
index 5d130a885f0a56e3351d0c3f477fc66e89312d42..154f3ba65e973ff6990d579298cca113491f4cce 100644 (file)
@@ -2,7 +2,7 @@
 ; because it things that the constant value is a not expression... and 
 ; constantly inverts the branch back and forth.
 ;
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i8 @test19(i1 %c) {
         br i1 true, label %True, label %False
index e0f58a8682b0d0bb3e95be8911e479dcc41eccc0..f550c8349f84aa4216ef5705ef8865b77963ff3a 100644 (file)
@@ -10,7 +10,7 @@
 ;      should pass through the optimizer without failure.
 ;
 ; Extra code:
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 ; END.
 
 target datalayout = "e-p:32:32"
index 66dc49560b09852608714c2893ce675bcd34c7a9..6d227547c8d5a10c7595e1a0a0c533e001dcf8c0 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase can be simplified by "realizing" that alloca can never return 
 ; null.
-; RUN: opt %s -instcombine -simplifycfg | \
+; RUN: opt %s -instcombine -simplifycfg | \
 ; RUN:    llvm-dis | not grep br
 
 declare i32 @bitmap_clear(...)
index 6f63837e133d3161d3a745b26b88e9d3131ca15a..32979191f853be8c545e47660847eb4b8bf625ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep load
+; RUN: opt %s -instcombine -S | grep load
 
 define void @test(i32* %P) {
         ; Dead but not deletable!
index a55d268ee2262cc63de40dc96daf66864a3c3f6a..cfe5df6d30a367bb7c8350d43e2b566c00747c40 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 declare i32* @bar()
 
index ce608f9d2446b8f1cc463f438f9502b710ae3164..c1692f77abb217c2922a36c6c394942884a5a912 100644 (file)
@@ -1,5 +1,5 @@
 ; The cast in this testcase is not eliminable on a 32-bit target!
-; RUN: opt %s -instcombine -S | grep inttoptr
+; RUN: opt %s -instcombine -S | grep inttoptr
 
 target datalayout = "e-p:32:32"
 
index f529b2471893aa0ac4824f616b60eb06220f5835..8fc0f3471dfd8fad12c288d6e6474944317778f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep call | notcast
+; RUN: opt %s -instcombine -S | grep call | notcast
 
 declare void @free(i8*)
 
index 1edad82682139c5b571e23da74307c5ad75317c0..bec0b9e0c5733d1396d48ca43832558f46dc5a1d 100644 (file)
@@ -5,7 +5,7 @@
 ; invoke instruction, we really cannot perform this transformation at all at
 ; least without splitting the critical edge.
 ;
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 declare i8* @test()
 
index b0a4d89561a121cb848e3ddff297064df9e54687..a08e3a884ceb306e5e651fe9cf249fb718d98b07 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep 34
+; RUN: opt %s -instcombine -S | not grep 34
 
 define i32 @test(i32 %X) {
         ; Do not fold into shr X, 34, as this uses undefined behavior!
index 8ca82325546a5d9dd84853cf4817459ae4474dde..ff20d7db9483d672d0aeec50915f1d954f12bc98 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase caused the combiner to go into an infinite loop, moving the 
 ; cast back and forth, changing the seteq to operate on int vs uint and back.
 
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i1 @test(i32 %A, i32 %B) {
         %C = sub i32 0, %A              ; <i32> [#uses=1]
index 8ad15a7b9c8acbb2a57e5b24e3adb000da108390..84f9bad69d8d8513afd383a4eaf9605f34bb73b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i32 @test() {
         ret i32 0
index 955ac148c5b7d1f8ea11dd4d5c79f31ebe0c64c6..8b549374a70ca539581b34209e97d8b6db11311c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 %Ty = type opaque
 
index bc5ad97f117c9b60b68aa6b868421e69c87f390f..819260b60b127b8ac61495fc10bc35b63a1f2394 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 @p = weak global i32 0          ; <i32*> [#uses=1]
 
index 3c4e8178cb16d0832e403451b38bdd0591368aff..f3e5d77c0c806c1e0e8cca014f644fd7638d01db 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 
 ; This testcase should not send the instcombiner into an infinite loop!
 
index 759096a985109e2acc16300ca875a3b772c29af8..1154bb481d30a268fe0b89a5a27295d2f4a67436 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {ret i1 false}
 
 define i1 @test(i1 %V) {
index 48a440f994c38c50f50d1a48a1f2c00e01134358..8169d2127f7faa99add6603ed154fa68f87565b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -mem2reg -S | \
+; RUN: opt %s -instcombine -mem2reg -S | \
 ; RUN:   not grep {i32 1}
 
 ; When propagating the load through the select, make sure that the load is
index d5783fd94e327baca9cc03762a673f148d571c3b..e646edf0296c77db0e5ce42bb79383db7105c557 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -mem2reg -simplifycfg | \
+; RUN: opt %s -instcombine -mem2reg -simplifycfg | \
 ; RUN:   llvm-dis | grep -v store | not grep {i32 1}
 
 ; Test to make sure that instcombine does not accidentally propagate the load
index 86b29d6219fa74608fab98b12f7067901cdc85f8..27c823b9e6332a7fe6cda3ceb7cc4962b0bfa856 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep -- -65536
+; RUN: opt %s -instcombine -S | not grep -- -65536
 
 define i1 @test(i32 %tmp.124) {
         %tmp.125 = shl i32 %tmp.124, 8          ; <i32> [#uses=1]
index f64171677cb216212bceb249038c9dd35cbe3cf0..008afa8a787d75791dd18bc01b914ab1b6afb205 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 
 define i32 @test(i32 %X) {
         %Y = srem i32 %X, undef         ; <i32> [#uses=1]
index ad3c5521ad25a9994b8e47e2ad1b1f77f0769ad5..38553d798810722d7798263d905c742258c4bcc5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep {ret i1 false}
 
 define i1 @test(i64 %tmp.169) {
index bed4c9e457d6b59b4564f83e9cfc5012c9e8a1e4..1ec118006deb833db08b35dc96a33ea53726624d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i32 @test(i1 %C, i32 %tmp.15) {
         %tmp.16 = select i1 %C, i32 8, i32 1            ; <i32> [#uses=1]
index 59b31ad5fefa16bf5079a05a7c8033e5d1d86438..9846ee72dd4b8a1c47bf48618d66c959661a9bf7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i32 @_Z13func_31585107li(i32 %l_39521025, i32 %l_59244666) {
         %shortcirc_val = select i1 false, i32 1, i32 0          ; <i32> [#uses=1]
index ea7c945a76c55a94c4b97a69ff1634d2197bde28..e2d0618a41e6b36fd9bf589368306421892e1e56 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR577
 
 define i1 @test() {
index 6529b5bc024dad0cc66a57e39187b390942a546d..f0e60aca59f5d150ec15c5e40e10e8b3a9580d32 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR585
 
 define i1 @test() {
index 79ce58b38b72a4d7d70b1c9f102fb9388d7da9d9..3d887ddad02b5e9df44f6e9ea040aed74991dc40 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {ret i1 true}
 ; PR586
 
index 4657c61f6209d52351bd90ac722d6013b36c28f5..caee951b704c2b531c21289be40995d023eee7ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 ; This example caused instcombine to spin into an infinite loop.
 
index ca4aa57dcfda6f652078991c8535cbf6b3698eba..10541ef703255a32efffae055ea3cfc1f83a1e74 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep undef
 
 define i32 @test(i8 %A) {
index b496af8185ac73f3321975d207be6c3c94326c5c..9bea14c027ea6b7bf491a8253056ce33385dce29 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i32 @test() {
         %tmp203 = icmp eq i32 1, 2              ; <i1> [#uses=1]
index 1b74ff259622cdfa72200d848d5f72d2adbfda9d..aa7d58786b4248c0082388f983e7c87db2795dce 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define float @test(<4 x float> %V) {
         %V2 = insertelement <4 x float> %V, float 1.000000e+00, i32 3           ; <<4 x float>> [#uses=1]
index 6d829ed34ff08ed1c5bf95e0f471cd6462215f67..23ebe92e50093cb8f2d73bac7a3b785016d794aa 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep shl
-; RUN: opt %s -instcombine -S | notcast
+; RUN: opt %s -instcombine -S | grep shl
+; RUN: opt %s -instcombine -S | notcast
 
 ; This cannot be turned into a sign extending cast!
 
index 818b67b55303e69866d67ffc14fd118b502f2c09..e22395fb87743aa3be491fcc5ba304d7b8c348ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; END.
 
 define void @test() {
index 71d173920c050a1cb4ed6b03b895e22d73cb5dc6..ee261ced5869adb7eef84a3daca4340531a76178 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep and
+; RUN: opt %s -instcombine -S | grep and
 ; PR913
 
 define i32 @test(i32* %tmp1) {
index ba0248c58bebe7c1c7fb1e141a0aed0784177f54..d3ba1e2287a3dd29d9a61862d7e9b2de6ade77ff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep mul | count 2
 
 define <4 x float> @test(<4 x float> %V) {
index 10a08ddc0f75273004519a710093a076546dee17..35bb45e2b9130f6fc9ab5a867c8efdedf6a38ea3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep memmove.i32
 ; Instcombine was trying to turn this into a memmove.i32
 
index 9bf19ba662ea97d4226b4e3d5bf8acaeb3a1a1ae..7799423f04f674131eea69926ae9c5d6945e757e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep lshr
+; RUN: opt %s -instcombine -S | grep lshr
 ; Verify this is not turned into -1.
 
 define i32 @test(i8 %amt) {
index ba33186efa196b7b5894e3e4dd7dc4cdf4e3c2bf..1f8b478a50f83f62e1d95709b059e281f3293c68 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep and.*32
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | grep and.*32
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep or.*153
 ; PR1014
 
index 8d38f93acbceb68e8f4bc7ae5b5841bec6764739..7adeb9fd96031d27d9bf1cf66254708437c57068 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep sub
-; RUN: opt %s -instcombine -S | grep add
+; RUN: opt %s -instcombine -S | grep sub
+; RUN: opt %s -instcombine -S | grep add
 
 define <4 x float> @test(<4 x float> %tmp26, <4 x float> %tmp53) {
         ; (X+Y)-Y != X for fp vectors.
index 08399bf0cc2dfefe46f7b5e0470cd6de193cc33c..74483c1d9c773fc93e67df79007006ba68391b1c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep zext
+; RUN: opt %s -instcombine -S | grep zext
 
 ; Never merge these two conversions, even though it's possible: this is
 ; significantly more expensive than the two conversions on some targets
index ad8619971541325e41d8932b2e6379e2a5b34dba..80ee3e2a293f7f7124400022112f8bf9322701d4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {%bothcond =}
 
 define i1 @Doit_bb(i32 %i.0) {
index c71d7b6b599c52d09a3bb6051b143446f0490e38..5a74bd2ab7d61e99876c429ef0b3f7d6753e56a9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {icmp sgt}
 ; END.
 target datalayout = "e-p:32:32"
index ab97e08f235f4ddf488f35622964bdc51f53267f..2665791fe086a46f7f6430d78c0b04659298236c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep select
+; RUN: opt %s -instcombine -S | grep select
 ; END.
 
 target datalayout = "e-p:32:32"
index 0233d96b7a912afd107d8c9a01b89222a0916f79..c3700a00c428ca9208e7ea6d9b427e128a2f4a25 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep icmp | count 1
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {icmp ugt} | count 1
 ; END.
 
index ec84c736bdc71f5446551a393522c9af7dc12cd7..eba1ac1298ce48e9fae743d3c605a58d49eb92a1 100644 (file)
@@ -1,6 +1,6 @@
 ; For PR1065. This causes an assertion in instcombine if a select with two cmp
 ; operands is encountered.
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; END.
 
 target datalayout = "e-p:32:32"
index 01c630163ff8eb2f0520f53a1af62f335414e414..e5238a577d2d837aa5efee49864e8a9822679d7c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {icmp ugt}
+; RUN: opt %s -instcombine -S | grep {icmp ugt}
 ; PR1107
 ; PR1940
 
index e807766c414dc340f21bf1fb64530e2172434d04..d2d215fa86d38c1fb8ba1ca7c8d1469079e5aa71 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {fcmp uno.*0.0}
+; RUN: opt %s -instcombine -S | grep {fcmp uno.*0.0}
 ; PR1111
 define i1 @test(double %X) {
   %tmp = fcmp une double %X, %X
index 3cbf401e3d2f3d9c9ab37faf450d1bebb8fa503f..fed2255c0e29d67925ab0fbe77428fb36afed766 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define <4 x i32> @test(<4 x i32> %A) {
     %B = xor <4 x i32> %A, < i32 -1, i32 -1, i32 -1, i32 -1 > 
index 8aa096da0fa6e7fe2f82196a92630c279a94178b..bd15dce11acbd753b95d96713a2ad8e8673478bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ugt.*, 1}
+; RUN: opt %s -instcombine -S | grep {ugt.*, 1}
 
 define i1 @test(i32 %tmp1030) {
        %tmp1037 = icmp ne i32 %tmp1030, 40             ; <i1> [#uses=1]
index 78c5e3d364f86b3d1f75fa1320af7079a1a1c3ea..05891a203ab0e3b76134df9f83867bd0b2ffe7f9 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -mem2reg -S | grep {%A = alloca} 
-; RUN: opt %s -instcombine -mem2reg -S | \
+; RUN: opt %s -instcombine -mem2reg -S | grep {%A = alloca} 
+; RUN: opt %s -instcombine -mem2reg -S | \
 ; RUN:    not grep {%B = alloca}
 ; END.
 
index da312041197dcb49a41a49bfb443861c61935052..bf60991f7dd94dc1011b20723af6a5066a6e82ee 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: opt %s -instcombine -S | grep zext
+;RUN: opt %s -instcombine -S | grep zext
 
 ; Make sure the uint isn't removed.  Instcombine in llvm 1.9 was dropping the 
 ; uint cast which was causing a sign extend. This only affected code with 
index c16d54cd6be0c197c803013d20e1a26825a5ebd0..f31c280661d047e2d190686423af67390f25731b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep ret
+; RUN: opt %s -instcombine -S | grep ret
 ; PR1217
 
 target datalayout = "e-p:32:32"
index 2e4e5c456946d203cd5c64dc2764839f009d9e19..109e4a217fb53639803f301ae53c4e449333889e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {icmp sle}
+; RUN: opt %s -instcombine -S | grep {icmp sle}
 ; PR1244
 
 define i1 @test(i32 %c.3.i, i32 %d.292.2.i) {
index 90e22a4c19857baa6e8f20187a7943e679699e60..c79400413ff34b5f928f2965980e85dabc5c48be 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1271
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {icmp eq i32 .tmp.*, 2146435072}
 %struct..0anon = type { i32, i32 }
 %struct..1anon = type { double }
index fec93314b307b1d156e8d5ee1c783758794f4016..0d4aac25c28f678e0c34e65535a7b129059fe674 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1271
-; RUN: opt %s -instcombine -S | grep and
+; RUN: opt %s -instcombine -S | grep and
 define i1 @test(i32 %tmp13) {
 entry:
        %tmp14 = shl i32 %tmp13, 12             ; <i32> [#uses=1]
index 8489102c2caea52b8cfb028ba92d7550428e0f40..5bcb54306065abc9cc41053ccb658b8af7a2e96a 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1271
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {ashr i32 %.mp137, 2}
 ; END.
 
index a5ac78e4d92a810c6e2f19404beb9b634775c38a..7700c7dd8a6985af4cc849bf9340076deca17ce7 100644 (file)
@@ -4,7 +4,7 @@
 ;          is not done. It should be removed when code gen supports "funny"
 ;          bit widths.
 
-; RUN: opt %s -instcombine -S | grep {add i49.*-8388608}
+; RUN: opt %s -instcombine -S | grep {add i49.*-8388608}
 
 define i49 @test5(i49 %x) {
         ;; If we have ADD(XOR(AND(X, 0xFF), 0x80), 0xF..F80), it's a sext.
index cfaff182f3dbfe232f447d146da05a3145022aed..b59d3c80335e402e3e04c602abc575ef5113b912 100644 (file)
@@ -2,7 +2,7 @@
 ; a malloc messes up the element count, causing an extra 4GB to be allocated on
 ; 64-bit targets.
 ;
-; RUN: opt %s -instcombine -S | not grep {= add }
+; RUN: opt %s -instcombine -S | not grep {= add }
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "x86_64-unknown-freebsd6.2"
index ee21ab816ba58e8ad8de276a28049d545f99abd0..22eb2c23c34b7750425ed311078c707f071b9d88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR1304
 
 define i64 @bork(<1 x i64> %vec) {
index b205ca888a498f610121d71d77dc66f19bf15b74..9f50d8ac9b0641090fc5401a4110683404b8e7c9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR1384
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
index e2df4fd3c1ebdd2801d896e736220ce84b1a3f4a..4af5dfeef5ddb95351930feb3528f7d7568790d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 define i1 @test(i32 %tmp9) {
         %tmp20 = icmp ugt i32 %tmp9, 255                ; <i1> [#uses=1]
         %tmp11.not = icmp sgt i32 %tmp9, 255            ; <i1> [#uses=1]
index c887b76ed8c602d87b47276871d3c804a11e03ea..a3c010d2c4273d19517fae62ab2cd797cbe89e34 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "powerpc-apple-darwin8.8.0"        
index a73a0738b6d592e1e9f67dd9f54046408c08d6f6..40818d40c29a4bf6f02928f23a60e788559d2870 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {call.*sret}
+; RUN: opt %s -instcombine -S | grep {call.*sret}
 ; Make sure instcombine doesn't drop the sret attribute.
 
 define void @blah(i16* %tmp10) {
index b214900839b363b3e71478a9c91bff64693edf68..62b93513b76c5542e333066510fa1638bf536d54 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ashr}
+; RUN: opt %s -instcombine -S | grep {ashr}
 ; PR1499
 
 define void @av_cmp_q_cond_true(i32* %retval, i32* %tmp9, i64* %tmp10) {
index fa79790a3142810c152ebbb534b9fab0607b6215..af539c12a339bc25e40ae655553637b617cfc1f8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i1 true}
+; RUN: opt %s -instcombine -S | grep {ret i1 true}
 ; rdar://5278853
 
 define i1 @test(i32 %tmp468) {
index 56d7ad6ae51626a4cedc5dc956c3463283a54dba..3f76187b780a47fea679cbc01e5f908e2ca789c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR1594
 
 define i64 @test(i16 %tmp510, i16 %tmp512) {
index bcd5a2870a8f39e87c92e0cb7c0b19a59d0e0bc1..c27fe0ab6a6dbb9a412de306a36cc8eeb856d3cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep icmp
+; RUN: opt %s -instcombine -S | grep icmp
 ; PR1646
 
 @__gthrw_pthread_cancel = alias weak i32 (i32)* @pthread_cancel                ; <i32 (i32)*> [#uses=1]
index 16d523b29dd15411af8b2a5dfec61f0451065b9f..d8f3d97017ba291965ad816def2eb82c220fb1c5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {call i32 @f}
+; RUN: opt %s -instcombine -S | grep {call i32 @f}
 
        %struct.FRAME.nest = type { i32, i32 (i32)* }
        %struct.__builtin_trampoline = type { [10 x i8] }
index 7fa691f6750359c6dad2851643a0273fd321743f..23ee12ba754f4bfc140f970a053b024cec9d42bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep icmp
+; RUN: opt %s -instcombine -S | grep icmp
 ; PR1678
 
 @A = alias weak void ()* @B            ; <void ()*> [#uses=1]
index c64cb220a7ed9778fbf339fa07c77ec15d75e84c..3862de455d5596f9bf6355b23827e0481cf71aae 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | not grep call
-; RUN: opt %s -std-compile-opts -S | not grep xyz
+; RUN: opt %s -instcombine -S | not grep call
+; RUN: opt %s -std-compile-opts -S | not grep xyz
 
 @.str = internal constant [4 x i8] c"xyz\00"           ; <[4 x i8]*> [#uses=1]
 
index 15194944e2fa123fb5cee73cfcdeb30f37071976..b3d9f02b68aa93d33b6e01bc70c1ea2406525d6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
        %struct.Ray = type { %struct.Vec, %struct.Vec }
        %struct.Scene = type { i32 (...)** }
index 6790a2e659403a6a8ec9b16ae549c3bf3dc18619..76bceb6879bb2be17ea971046d681e71a0d84942 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {call.*stacksave}
+; RUN: opt %s -instcombine -S | grep {call.*stacksave}
 ; PR1745
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin8"
index a197e288fdfec1971f5a3b8f30ced2adb5a50265..8105b4ba5579af0a41332029638de09555bd87e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
 target triple = "powerpc-apple-darwin8"
 
index 392f884f264dafc4d97e190c3a637596045a4208..220f3e22b991290b366d1daf3f0f2e27e2fe6690 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin8"
 
index c374262d7b485a11c2bf9d0c563029beb0daa460..e1549a0fe54105f7560ff32f35ab383e2076212b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR1780
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index 051b5f480caceb0a2881f3cab72f170463efcece..5282739d5c7fa6f5ed02790a02955adba0d1743f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {icmp eq i32 %In, 1}
+; RUN: opt %s -instcombine -S | grep {icmp eq i32 %In, 1}
 ; PR1800
 
 define i1 @test(i32 %In) {
index 65273cdbe34c30d4500d9e5983b472a21397baba..f71b99ce1a4b8ca4fb8a836768f1cc7f9125b00e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR1817
 
 define i1 @test1(i32 %X) {
index c904d009c5b6df7bbb6905db1379f7d15db5f4b7..24394c63e4d7fd5a6d983d71744ae39c5e040f6a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep bitcast
+; RUN: opt %s -instcombine -S | not grep bitcast
 ; PR1716
 
 @.str = internal constant [4 x i8] c"%d\0A\00"         ; <[4 x i8]*> [#uses=1]
index 29a82f3dfadc9f9a34fa0d1e6ff699aa1ee745f7..6420537b9de7f1852369ceca79676abc4ec0b693 100644 (file)
@@ -1,6 +1,6 @@
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i686-pc-linux-gnu"
-; RUN: opt %s -instcombine -S | not grep {ret i1 0}
+; RUN: opt %s -instcombine -S | not grep {ret i1 0}
 ; PR1850
 
 define i1 @test() {
index dae18aee619b10ac2486ed001e3707f4e38c31a8..cea87f2a4666cc95f86d45f560e1fd4f6404cde0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep 1431655764
+; RUN: opt %s -instcombine -S | not grep 1431655764
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 
index f4229251f23fda3355a5175847b544acf55ea6e2..85cf9b6904cb0f414f51cf541691ee8a83603eae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep nounwind
+; RUN: opt %s -instcombine -S | grep nounwind
 
 define void @bar() {
 entry:
index 7e1f3dc66ee58d3c1e1f7f5fa54d96d16f98e944..cc89f6dd2056eace36ce64ee05bb2ae0241221d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {add} | count 1
+; RUN: opt %s -instcombine -S | grep {add} | count 1
 
 define i32 @foo(i32 %a) {
 entry:
index 0fa3c66cabe5763d968803738c1d183b3a37c053..b59548fd8e6f100e1c790e4885887750a8ffbbe4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mem2reg -instcombine -S | grep "ret i32 1" | count 8
+; RUN: opt %s -mem2reg -instcombine -S | grep "ret i32 1" | count 8
 
 define i32 @test1() {
 entry:
index d01c404e03fda026d5ab6c4da598ba1ad2cfccfb..5f4fa478dab28bd9626fd763bf197c15a5ac8122 100644 (file)
@@ -1,5 +1,5 @@
 ; Ignore stderr, we expect warnings there
-; RUN: opt %s -instcombine 2> /dev/null -S | not grep bitcast
+; RUN: opt %s -instcombine 2> /dev/null -S | not grep bitcast
 
 define void @a() {
        ret void
index 02fb399f913c282b0f76e9811d49e1b6f27492ff..097a0ce849d05a2ab0eca24d90be9520bd11dced 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define <2 x i32> @f() {
        ret <2 x i32> undef
index d31d4ac6f77b6950590c28ba1f3d25ed78ef2260..407ff4ddc29afdfb981fcfcd8132d128fc66bee8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep bitcast
+; RUN: opt %s -instcombine -S | not grep bitcast
 
 define void @f(i16 %y) {
        ret void
index a823210fcac5c94e0db7d325dbd156a358aa795b..fbc8ba972a032ca7956ea05bceefbf9543a49da6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep and
+; RUN: opt %s -instcombine -S | grep and
 ; PR1907
 
 define i1 @test(i32 %c84.17) {
index b573f8a173fe89c845ecd6a61a9a873cc8ed3f2a..7b3281ff4eadbc418fac5081def048927ecb65f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep bitcast | count 2
+; RUN: opt %s -instcombine -S | grep bitcast | count 2
 
 define i32 @b(i32* inreg  %x) signext  {
        ret i32 0
index ecd635eef0bd83450bcaf0b7e51a69f91d495b9b..6401dfd0c11ea7bbfe57388bdf96927f79ce7a99 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
        %struct.FRAME.nest = type { i32, i32 (i32*)* }
        %struct.__builtin_trampoline = type { [10 x i8] }
index dabd2e6300c935dd8d0d56364e09635e1ca2092b..9bb940893935f6ed54c1deeaeb4719963201e1cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep zeroext
+; RUN: opt %s -instcombine -S | grep zeroext
 
        %struct.FRAME.nest = type { i32, i32 (...)* }
        %struct.__builtin_trampoline = type { [10 x i8] }
index a49853dc0f7c82ec34493be9dd7dcb77f1683e6e..be19bcc07a50484a21de5f22e0d9db2d4faf9994 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | notcast
-; RUN: opt %s -instcombine -S | not grep {icmp s}
+; RUN: opt %s -instcombine -S | notcast
+; RUN: opt %s -instcombine -S | not grep {icmp s}
 ; PR1940
 
 define i1 @test1(i8 %A, i8 %B) {
index 5defb65428228370c173935e9b3291f112093a6b..13f3d9f9037a1ce528243fa5ea8ee1d1bc57dadc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | notcast
+; RUN: opt %s -instcombine -S | notcast
 
 define i16 @test1(i16 %a) {
         %tmp = zext i16 %a to i32               ; <i32> [#uses=2]
index 0684d209d37669f56f40de538801efe15e73452b..c161bcc9045dca18f0ce50b6225c1f79a8bd241d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep select
+; RUN: opt %s -instcombine -S | grep select
 
 define double @fold(i1 %a, double %b) {
 %s = select i1 %a, double 0., double 1.
index 0c984356c9bc96751cd91e492f6dcb31e05cecd1..28a94ce07ad2080269c1a23bafdfda61c92f0297 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep {a.off}
+; RUN: opt %s -instcombine -S | not grep {a.off}
 ; PR1949
 
 define i1 @test1(i32 %a) {
index c10128e33f24687b245bc3dcdc467d0b889d00a1..a88c510972475872cac31e40375651d39b6088d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep rem
+; RUN: opt %s -instcombine -S | grep rem
 ; PR1933
 
 define i32 @fold(i32 %a) {
index f6ba64d938e72629f97597e1618b677d1808bcbb..af61c150a7f8f69bc3e32a46982e90242cea6196 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i.* 0} | count 2
+; RUN: opt %s -instcombine -S | grep {ret i.* 0} | count 2
 ; PR2048
 
 define i32 @i(i32 %a) {
index 706a82a86d1ebd9952dc12ed6f22d07716798589..d26dec11e25d836d7b198c827f75f671c006467b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {sdiv i8 \%a, 9}
+; RUN: opt %s -instcombine -S | grep {sdiv i8 \%a, 9}
 ; PR2048
 
 define i8 @i(i8 %a) {
index a89e83b7e34261e7792a0da8055d4cf228143589..bb21c4b034176bbb568fb267f7e45ca6d6f93986 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep mul
+; RUN: opt %s -instcombine -S | not grep mul
 
 define i26 @test(i26 %a) nounwind  {
 entry:
index 9c3f477937f0c60a536c1491960dd1cc16d09da1..7f8bd4fb8a90ff08092a6b5724eb3f728a55bd48 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; rdar://5771353
 
 define float @test(float %x, x86_fp80 %y) nounwind readonly  {
index 8bdfac7345f03a8d11f19f0b2514946390a73b59..da7e49ee847523935d8715640ac31ccae9565291 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {16} | count 1
+; RUN: opt %s -instcombine -S | grep {16} | count 1
 
 define i8* @bork(i8** %qux) {
   %tmp275 = load i8** %qux, align 1
index 47b9d50ef9679e8c9047cb033da92b6fc67668cf..aa38065a71499f8f7f196e18aaee25a9aaa748ef 100644 (file)
@@ -1,6 +1,6 @@
 ;; The bitcast cannot be eliminated because byval arguments need
 ;; the correct type, or at least a type of the correct size.
-; RUN: opt %s -instcombine -S | grep bitcast
+; RUN: opt %s -instcombine -S | grep bitcast
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9"
        %struct.NSRect = type { [4 x float] }
index e7d2d931a0d67ba7c2b5a1cf3e11377d43b2f9ab..626564da936a4f1140c61c07f0d5883f2590bbc2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {volatile store}
+; RUN: opt %s -instcombine -S | grep {volatile store}
 
 define void @test() {
        %votf = alloca <4 x float>              ; <<4 x float>*> [#uses=1]
index 469492b6548ebf37b39ef8ee2612bf81bfe6394e..f2cc7254a325533112a0f8b39ae50148f75621b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {volatile load} | count 2
+; RUN: opt %s -instcombine -S | grep {volatile load} | count 2
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
 @g_1 = internal global i32 0           ; <i32*> [#uses=3]
index 7ca62ba2d563866dc49da5dcc001a1eeb42fbc79..176162d3863632fbc4f12acc102351b0d4a2290b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {volatile load} | count 2
+; RUN: opt %s -instcombine -S | grep {volatile load} | count 2
 ; PR2262
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index 2b2e2aae114d369645e4ba836a2cab130c1a2440..bbd004213d0adfc78f2cf17a17fa71728ca57917 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {store i8} | count 3
+; RUN: opt %s -instcombine -S | grep {store i8} | count 3
 ; PR2297
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index 4fe7746503eaee48c0aaa164b3cffaaf2f393a5e..d56a1a0b786ae3dbeec565beb38bcc4675c46671 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR2303
        %"struct.std::ctype<char>" = type { %"struct.std::locale::facet", i32*, i8, i32*, i32*, i16*, i8, [256 x i8], [256 x i8], i8 }
        %"struct.std::locale::facet" = type { i32 (...)**, i32 }
index 366d48360dd72ef4c10cb3c90115d3eb87cdc0cc..2939a48216547c20cc6eab5698e94bf86f8e0536 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR2339
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-s0:0:64-f80:32:32"
 target triple = "i686-pc-linux-gnu"
index 8e508d01ce20951d985a674e7f6b0fbf779bb426..b34fc1e991d4e522649cfa7bdc0a6d684f19743f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i1 false} | count 2
+; RUN: opt %s -instcombine -S | grep {ret i1 false} | count 2
 ; PR2329
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index f627a348937885af17f4a508f36938e89a219d16..f7ba99c6b44995a291b4002a821e70923fa7ca07 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define <3 x i8> @f(<3 x i8> %i) {
   %A = sdiv <3 x i8> %i, %i
index 94e63c86495bac0e13d9b757ff1003a559738507..bf92faf2fec58d67127c16e3f21a036790240f27 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep sub
+; RUN: opt %s -instcombine -S | not grep sub
 
 define <3 x i8> @f(<3 x i8> %a) {
   %A = sub <3 x i8> zeroinitializer, %a
index f61fb2553326e1e52f4d50b3da41a7f9bb3517df..2de5af7357372f7dd213ae127b786d1489d2c446 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i1 false}
+; RUN: opt %s -instcombine -S | grep {ret i1 false}
 ; PR2359
 define i1 @f(i8* %x) {
 entry:
index 9cbf0504e2a14b445dcaec1f06c2cf418424ad10..541669365bdb3c9719b76cdf62f101d386c307b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {xor}
+; RUN: opt %s -instcombine -S | grep {xor}
 ; PR2389
 
 define i1 @test(i1 %a, i1 %b) {
index b87136a690d6120bee844cb08cc6ea0f334f5376..a0fe47a6257b71d66ca59d806f08a5bf45352ccf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S > %t
+; RUN: opt %s -instcombine -S > %t
 ; RUN: grep {xor} %t
 ; RUN: grep {and} %t
 ; RUN: not grep {div} %t
index e40b0f5ce97699a5218d1982d54898869af95fb8..5e4a9d0e5b30501dcabfb192928de0b2cf0e3f1a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 
 define i65 @foo(i65 %x) nounwind  {
 entry:
index e6214ab505c1a9203ff1660ca714c160ddcf3cf1..917d3ae1f84383c351951f4108be7eab1848a3af 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {phi i32} | count 2
+; RUN: opt %s -instcombine -S | grep {phi i32} | count 2
 
 define void @test() nounwind  {
 entry:
index 5440c36d623cb0cc78e8db70555164446dd9b4a2..08959c9c7c088da844a532d85cc30ec0671c21f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {store i32} | count 2
+; RUN: opt %s -instcombine -S | grep {store i32} | count 2
 
 @g_139 = global i32 0           ; <i32*> [#uses=2]
 
index 9b32b00e299a1212fe7d968c651b010b47fbe382..aed1b14ce316595658b5b4a88fe4b74c6500b3a8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {store i8} | count 2
+; RUN: opt %s -instcombine -S | grep {store i8} | count 2
 
 define i32 @a(i8* %s) nounwind  {
 entry:
index 4307baa5b51a3ca3024780c7fa31e9ccd51159eb..05f1c52000814352ffd7cfd5303e8e9c1be94866 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep load | count 3
+; RUN: opt %s -instcombine -S | grep load | count 3
 ; PR2471
 
 declare i32 @x(i32*)
index d88ff16090b832463c427be3e18d2ec2b2cd8e0e..c3371c6ae73d512efd6d2c3b609a1b65298f167d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {icmp eq i32 %In, 15}
+; RUN: opt %s -instcombine -S | grep {icmp eq i32 %In, 15}
 ; PR2479
 ; (See also PR1800.)
 
index fa91cf124b66a98e0a0ceca53eef8f6039075192..830783455189c97c3f1d6694aacae14b9d5bcfd5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {call.*llvm.stackrestore}
+; RUN: opt %s -instcombine -S | grep {call.*llvm.stackrestore}
 ; PR2488
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i386-pc-linux-gnu"
index 4244b4ba2f081e01ce03f6c9731b9fdef0bef447..a12f4bdf1084cb3ea6a829291d070e3563605337 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep icmp | count 1
+; RUN: opt %s -instcombine -S | grep icmp | count 1
 ; PR2330
 
 define i1 @foo(i32 %a, i32 %b) nounwind {
index 2bb22ee03cee6c36957d1287d02e943403ea22a6..8245b4d017b094f4ee8dfc9b58bdea0a8da5d133 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {icmp ne i32 \%a}
+; RUN: opt %s -instcombine -S | grep {icmp ne i32 \%a}
 ; PR2330
 
 define i1 @foo(i32 %a) nounwind  {
index 299891fb2c842f4132672256fe0805f8650af099..009115966f5845775b721d2251d80229c1487c90 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep -v {i32 8}
+; RUN: opt %s -instcombine -S | grep -v {i32 8}
 ; PR2330
 
 define i32 @a(i32 %a) nounwind  {
index 93613718daaf9937c1663725941df59b07b6d5a6..ccfb1182769f6832102d4b34eb24ddf1996779b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {volatile load} | count 2
+; RUN: opt %s -instcombine -S | grep {volatile load} | count 2
 ; PR2496
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index b60d190fb7421bd453802b9c4802b5c9ee9b48a7..47a7590076c7b94d6669487a2dabe9b0a84be836 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep {sub i32 0}
+; RUN: opt %s -instcombine -S | not grep {sub i32 0}
 ; PR2330
 
 define i32 @foo(i32 %a) nounwind {
index 2c18a533dc6e6ab131305341e4a385b7414ffe27..e91153202519a06ea2917c6674d2850d0fcf8fdb 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep {%C = xor i1 %A, true}
-; RUN: opt %s -instcombine -S | grep {ret i1 false}
+; RUN: opt %s -instcombine -S | grep {%C = xor i1 %A, true}
+; RUN: opt %s -instcombine -S | grep {ret i1 false}
 ; PR2539
 
 define i1 @test1(i1 %A) {
index 20c7760e5b3b89afb97767813c9b57d257675d39..76e30399a66680fa259b10d398166d7e72582a85 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | not grep add
-; RUN: opt %s -instcombine -S | not grep mul
+; RUN: opt %s -instcombine -S | not grep add
+; RUN: opt %s -instcombine -S | not grep mul
 ; PR2330
 
 define i1 @f(i32 %x, i32 %y) nounwind {
index 34b604e49a47e9b14f1a619e769d8a6ebcc80788..bf53451d66cf71a82f8e3258b64f77c4b16194b9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep rem
+; RUN: opt %s -instcombine -S | not grep rem
 ; PR2330
 
 define i32 @a(i32 %b) nounwind  {
index 77ca9c62eb8e3cea9f7f13ad041f86ef3a359ce2..be1f8c294375093d0bce4cc6d25b688f45ff1cbe 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep {lshr.*3}
-; RUN: opt %s -instcombine -S | grep {call .*%cond}
+; RUN: opt %s -instcombine -S | grep {lshr.*3}
+; RUN: opt %s -instcombine -S | grep {call .*%cond}
 ; PR2506
 
 ; We can simplify the operand of udiv to '8', but not the operand to the
index fad21f11bdd3491be73c3e91ae904d2c314eafe4..672b4e955262b562c8025a94828f13580b902279 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep sub
+; RUN: opt %s -instcombine -S | grep sub
 ; PR2553
 
 define double @test(double %X) nounwind {
index 8922635bc5047a274a0dc0482528015d4461d1c6..501d8a66c3e64340c1c5a6dc9ae565e20695d004 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep {store }
+; RUN: opt %s -instcombine -S | not grep {store }
 ; PR2296
 
 @G = common global double 0.000000e+00, align 16
index 4359c0ad4752b818e8a3f6952822f6f53c2e9e79..e9081f0fa94cc378645688f798aee3049d7114c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep xor
+; RUN: opt %s -instcombine -S | not grep xor
 
 define i1 @test1(i8 %x, i8 %y) {
   %X = xor i8 %x, 128
index ef3a901b776e310fb205c5824c1aa065fdc0ddc9..7c50141421dcf3e29a6320d5e79d5549a7782a0d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 
 define void @entry(i32 %m_task_id, i32 %start_x, i32 %end_x, i32 %start_y, i32 %end_y) {
        br label %1
index 44429ae7a88e3409f4bb3e8dce4ca3a2921d5ef8..31ea94a5d832c21df8358b6b30e11a11f15018e9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {or i1}
+; RUN: opt %s -instcombine -S | grep {or i1}
 ; PR2844
 
 define i32 @test(i32 %p_74) {
index 59622527d66cbbdb05c3386ebc85339c08e3a4a3..fd36d86a94844d2734cdcdfe4c1666481c87b3b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i1 false}
+; RUN: opt %s -instcombine -S | grep {ret i1 false}
 ; PR2697
 
 define i1 @x(i32 %x) nounwind {
index 3c07babe61e35b9fb0fdbfc3be1d4ab143c669bd..d70d05293e8fc458443ad4774007dab5ad7f2516 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 ; PR2940
 
 define i32 @tstid() {
index 81258349870c04b3ae083e59b3b801ac9ad0c7d5..aa077e2ac3b324177d481a8458333964a6eaeb96 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i1 true}
+; RUN: opt %s -instcombine -S | grep {ret i1 true}
 ; PR2993
 
 define i1 @foo(i32 %x) {
index 517d30f3fd2267c3dc40297b95813f983f128071..c747e9c77c6826be3f91a9e84caf7b8a5f243242 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S > %t
+; RUN: opt %s -instcombine -S > %t
 ; RUN: grep {icmp eq} %t
 ; RUN: grep {ret i1 false} %t | count 2
 ; RUN: grep {ret i1 true} %t | count 2
index 94859cc039ef991f8f6a567a5b79e16c5e980a22..b2774d6522dfc7d641c4a9427db98a953a7b80a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S > %t
+; RUN: opt %s -instcombine -S > %t
 ; RUN: grep urem %t | count 3
 ; RUN: grep srem %t | count 1
 ; RUN: grep sub %t | count 2
index 12855b8a47fc2215f4b45ed9f8ce248c8fdbca29..318a80cbc2a472a104c3c50ad8fb67b3e591b42f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep div
+; RUN: opt %s -instcombine -S | not grep div
 
 define <2 x i8> @f(<2 x i8> %x) {
   %A = udiv <2 x i8> %x, <i8 1, i8 1>
index a2578a8bf8bee15b5c9dec695f572d6a4128c33a..d8c53fac49e0d073cb6dce43cf59c0b1362391e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep mul
+; RUN: opt %s -instcombine -S | not grep mul
 
 define <2 x i8> @f(<2 x i8> %x) {
   %A = mul <2 x i8> %x, <i8 1, i8 1>
index a50e1e87a4717570203bcd91566bf56e240a0eed..fc90bba770864eee2396c15650069aef150b16f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep div
+; RUN: opt %s -instcombine -S | not grep div
 
 define i8 @test(i8 %x) readnone nounwind {
   %A = udiv i8 %x, 250
index 46c9ff2c6929408ef57def08f5645863560cec85..e4c7ebcefc7ef14254260eef966cb57abb257b28 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {i8 2, i8 2}
+; RUN: opt %s -instcombine -S | grep {i8 2, i8 2}
 ; PR2756
 
 define <2 x i8> @foo(<2 x i8> %x) {
index 1676eb6d0f04e61c8dfaa7aacbc51f822125df5e..d355e0aff8a7f298b675768e194c05045db4b272 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; PR3235
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index ab8c7a556bce15136d16a853a9fba5f75d6ec154..a61a94ecbf3a36abb19c79609921bc2125dc6cb6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S > %t
+; RUN: opt %s -instcombine -S > %t
 ; RUN: grep {, align 4} %t | count 3
 ; RUN: grep {, align 8} %t | count 3
 ; rdar://6480438
index 75bdb1e3f886ed54226cb8380b4978b8dc26e67c..ce62f35c10353396f8adc2f016f74fc63b28282d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {store.*addrspace(1)}
+; RUN: opt %s -instcombine -S | grep {store.*addrspace(1)}
 ; PR3335
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.6"
index 7ab0e3e2d0c4ca67b34389c58b3ae68cbedef3c5..79a2f1fd8eb0f630f7449b14603ad82af0badf58 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: opt %s -simplifycfg -instcombine -S | grep 0x7FF8000000000000 | count 7
-; RUN: opt %s -simplifycfg -instcombine -S | grep 0x7FF00000FFFFFFFF | count 5
-; RUN: opt %s -simplifycfg -instcombine -S | grep {0\\.0} | count 3
-; RUN: opt %s -simplifycfg -instcombine -S | grep {3\\.5} | count 1
+; RUN: opt %s -simplifycfg -instcombine -S | grep 0x7FF8000000000000 | count 7
+; RUN: opt %s -simplifycfg -instcombine -S | grep 0x7FF00000FFFFFFFF | count 5
+; RUN: opt %s -simplifycfg -instcombine -S | grep {0\\.0} | count 3
+; RUN: opt %s -simplifycfg -instcombine -S | grep {3\\.5} | count 1
 ;
 
 ; ModuleID = 'apf.c'
index 1f4b2d272bc66e8276995ebc55e4f555f640f8ff..6bc7ce34d1c2239b2df9578779167ef2bf67a24e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -simplifycfg -instcombine -S | grep 0x3FB99999A0000000 | count 2
-; RUN: opt %s -simplifycfg -instcombine -S | grep 0xBFB99999A0000000 | count 2
+; RUN: opt %s -simplifycfg -instcombine -S | grep 0x3FB99999A0000000 | count 2
+; RUN: opt %s -simplifycfg -instcombine -S | grep 0xBFB99999A0000000 | count 2
 ; check constant folding for 'frem'.  PR 3316.
 
 ; ModuleID = 'tt.c'
index 85d7c44b45736f85b7ba46fac652bdbe0eb24f67..4b64b4872918e9d762b852607fada07f73009b3d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 ; PR3381
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index 1aecad1800edb4fdbfb41e32e1392ef7281ec3de..815c1a91936a9eba6da61706b11b5798f9f73656 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; PR3452
 define i128 @test(i64 %A, i64 %B, i1 %C, i128 %Z, i128 %Y, i64* %P, i64* %Q) {
 entry:
index 36bfb412641a4a883f9d0a2bb2ba91ba41518dc2..c3ee9a35ba39782d0a4d2f4b9d70ea2bc62368e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {%B = add i8 %b, %x}
+; RUN: opt %s -instcombine -S | grep {%B = add i8 %b, %x}
 ; PR2698
 
 declare void @use1(i1)
index 9385f45ede159038a4d4934f19b47633a4e559d0..bc6a2045fa0cfc3577228631c4b749668b698c2b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 ; PR3468
 
 define x86_fp80 @cast() {
index d4c98b5d32dc0f153d51179edf3bf9822f017a52..b29d8d23bc07fcccfc64fd98149c0cf7607276f1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -scalarrepl -S | not grep { = alloca}
+; RUN: opt %s -instcombine -scalarrepl -S | not grep { = alloca}
 ; rdar://6417724
 ; Instcombine shouldn't do anything to this function that prevents promoting the allocas inside it.
 
index 9c77a69eba9f43aa5a364333b110a26484707455..f56fc388eb5b06354e64f5f1429692974442de1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i32 3679669}
+; RUN: opt %s -instcombine -S | grep {ret i32 3679669}
 ; PR3595
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index fd86042d2ad3d716aa36ec30fa4d86a4c03de8bb..a8349f042e42cd88bdb56b132e05f1d5d92ce418 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; PR3667
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i386-pc-linux-gnu"
index 493b8d0f587d5885fb559c1524b4f546d389abe7..c617ca4fcad3f579f2b1d33ecca31b78e4856969 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; PR3826
 
 define void @0(<4 x i16>*, <4 x i16>*) {
index 6b21296ea569dedefa1758d2ea51d6c7db66d958..0a07bf34bac917c71a519ef3e1f0040c9d90f4d3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ashr i32 %val, 31}
+; RUN: opt %s -instcombine -S | grep {ashr i32 %val, 31}
 ; PR3851
 
 define i32 @foo2(i32 %val) nounwind {
index 9ee4014e4cbbe795c24c6c49f40a6cffac1ab438..4ce04a1eb5429333aa1af48b16dec2ce7d4d2c84 100644 (file)
@@ -1,5 +1,5 @@
 ; PR3874
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
   define i1 @test(i32 %x) {
     %A = lshr i32 3968, %x
     %B = and i32 %A, 1
index 417cc4ef92f0e852509b9e2ba9438e8d1355036a..244b22a14dec00fffdbf116fc840dbacd204571b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {mul i64}
+; RUN: opt %s -instcombine -S | grep {mul i64}
 ; rdar://6762288
 
 ; Instcombine should not promote the mul to i96 because it is definitely
index dcbf5cc5345a7d94ab5e7515b90c9ec3b8f8b1cc..dd14c6beec4c6145be6cbccd56edf152ed376742 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep cmp
+; RUN: opt %s -instcombine -S | not grep cmp
 ; rdar://6903175
 
 define i1 @f0(i32 *%a) nounwind {
index cce14e985eb65bc48af2282137d3ef0294398750..e5355b8d3c56b1513cb81eb02836a1a8940ed45d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {store i32 0,}
+; RUN: opt %s -instcombine -S | grep {store i32 0,}
 ; PR4366
 
 define void @a() {
index 5b959d75cb155b0369e088dbb2d1d9bc20288b71..6beedf83cd6a2278fbcfc48f23788ff6ca81f557 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep srem
+; RUN: opt %s -instcombine -S | grep srem
 ; PR3439
 
 define i32 @a(i32 %x) nounwind {
index 2b0967c969ff29a7d0f4522d027dc0fcfd24dfef..41940fe885e5d1aa2fa58e7e4eb9f0ec66af6c87 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; PR4495
 
 define i32 @test(i64 %test) {
index d1e39b81c3e6bd1c9f254e18821f4f477615b25a..531ce2b07b30614b9e5e42e25375c7e3b2779128 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep select | not grep {i32\\*}
 
 ; This testcase corresponds to PR362, which notices that this horrible code
index 5a997e01540c25e2ed3e960cad116716a6a5f848..448c58d56205233cbf233b6b703d369beadeb4a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | notcast
+; RUN: opt %s -instcombine -S | notcast
 target datalayout = "e-p:32:32"
 
 define i32* @test(i32* %P) {
index bb38ad49edc88746f62b462a3038791c7b78d1c8..7d0edb84d1eb5d22c129d9e66fd26dee61db228f 100644 (file)
@@ -1,7 +1,7 @@
 ; This is the sequence of stuff that the Java front-end expands for a single 
 ; <= comparison.  Check to make sure we turn it into a <= (only)
 
-; RUN: opt %s -instcombine -S | grep {%c3 = icmp sle i32 %A, %B}
+; RUN: opt %s -instcombine -S | grep {%c3 = icmp sle i32 %A, %B}
 
 define i1 @le(i32 %A, i32 %B) {
         %c1 = icmp sgt i32 %A, %B               ; <i1> [#uses=1]
index b0ad522fb7d90ed5d20ab2c4eec9098670084992..52b8e327dbaeecf0c7147848eab60a9da78ec02e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep {add i32}
-; RUN: opt %s -instcombine -S | grep sext | count 1
+; RUN: opt %s -instcombine -S | grep {add i32}
+; RUN: opt %s -instcombine -S | grep sext | count 1
 
 ; Should only have one sext and the add should be i32 instead of i64.
 
index b2befdd0842b476bd91905e4337426d55cc57478..24319df0b76208bcd29581b8632769e48814ec9a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {add i32}
+; RUN: opt %s -instcombine -S | grep {add i32}
 
 define double @x(i32 %a, i32 %b) nounwind {
   %m = lshr i32 %a, 24
index d95ab5dc6d095aa4fa0cb21ec835d9b2e99f16a9..cde3e24215f8b693c8d1c4ea07b058b0c58d86b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep inttoptr | count 2
+; RUN: opt %s -instcombine -S | grep inttoptr | count 2
 
 ;; Target triple for gep raising case below.
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index 0f39d71294565ab54259c694aa49e2bdea399cfd..a3a09f27ed957511a3d974d39ba57e5f641ca948 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep { sub } | count 1
+; RUN: opt %s -instcombine -S | grep { sub } | count 1
 ; PR2047
 
 define i32 @l(i32 %a, i32 %b, i32 %c, i32 %d) {
index afe2f8fc88c74ab88292a09a49f7ad32a53f620d..b9b6f702eb6276c33a1234627149c23f99f7128b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {icmp s\[lg\]t i32 %n, 0} | count 16
+; RUN: opt %s -instcombine -S | grep {icmp s\[lg\]t i32 %n, 0} | count 16
 
 ; Instcombine should recognize that this code can be adjusted
 ; to fit the canonical smax/smin pattern.
index b5d25d3aa78f48c55ce55e816b67c0ea4a12b1dd..80aacbce130ec737ac5b9da71f814f68e5334030 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {align 16} | count 1
+; RUN: opt %s -instcombine -S | grep {align 16} | count 1
 
 ; A multi-dimensional array in a nested loop doing vector stores that
 ; aren't yet aligned. Instcombine can understand the addressing in the
index da2faabc18fa9ec06db5158f13b595742cf77f37..425393711625eeba43876f1b291697cc858a5d59 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {align 16} | count 1
+; RUN: opt %s -instcombine -S | grep {align 16} | count 1
 
 ; Instcombine should be able to prove vector alignment in the
 ; presence of a few mild address computation tricks.
index 025d54e7e8285c3fa0568dbbb9e84e425f1e68e2..6e8ad87f19e057a02b78311d2be2146855568d6f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | FileCheck %s
+; RUN: opt %s -instcombine -S | FileCheck %s
 
 ; Don't assume that external global variables have their preferred
 ; alignment. They may only have the ABI minimum alignment.
index 545da15a205684054f8a76ee621c93bb5665e5b4..0260ca2c65f54285cddc93e359fe74e1f16a3150 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep {GLOBAL.*align 16}
-; RUN: opt %s -instcombine -S | grep {tmp = load}
+; RUN: opt %s -instcombine -S | grep {GLOBAL.*align 16}
+; RUN: opt %s -instcombine -S | grep {tmp = load}
 
 @GLOBAL = internal global [4 x i32] zeroinitializer
 
index 8f2a130168700681d21a0e8e1bf00453fcec2521..216cd46775a5ff61e2a7485d29927f4b9f3554e1 100644 (file)
@@ -9,7 +9,7 @@
 ;
 ; Which corresponds to test1.
 
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep {or }
 
 define i32 @test1(i32 %X, i32 %Y) {
index fe770f78fd6655e957a65208ed9415b66acfe0c3..b4224b38b1c24ed5536dda8bf49f380948722870 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep {and i32 %a, 1} | count 4
-; RUN: opt %s -instcombine -S | grep {or i32 %0, %b} | count 4
+; RUN: opt %s -instcombine -S | grep {and i32 %a, 1} | count 4
+; RUN: opt %s -instcombine -S | grep {or i32 %0, %b} | count 4
 
 
 define i32 @func1(i32 %a, i32 %b) nounwind readnone {
index 6aad6f0693d2904c68fc1d228a6a4d47f9cd5944..17d29b601e69e65f5553e588e2797dc26a74d660 100644 (file)
@@ -11,7 +11,7 @@
 ; 
 ; This tests arbitrary precision integers.
 
-; RUN: opt %s -instcombine -S | not grep {or }
+; RUN: opt %s -instcombine -S | not grep {or }
 ; END.
 
 define i17 @test1(i17 %X, i17 %Y) {
index 9fcdee54661ffad45af54f432360a0a7dd320ba8..cd4cbb9cf45449bfd23d12000cc246767e956b1a 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that and instructions are properly eliminated.
 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
 
-; RUN: opt %s -instcombine -S | not grep {and }
+; RUN: opt %s -instcombine -S | not grep {and }
 ; END.
 
 define i39 @test0(i39 %A) {
index 16afb7bab439832e47314be06349971b52d138ae..ae74472b3d086a0db068e022a0dbd98e39f627ee 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that and instructions are properly eliminated.
 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
 
-; RUN: opt %s -instcombine -S | not grep {and }
+; RUN: opt %s -instcombine -S | not grep {and }
 ; END.
 
 
index ca2440cb8b550e542f86b15325b0623adb33d74a..fe336de7524240fc254e4d651436efbaebe2c322 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep call | not grep bitcast
+; RUN: opt %s -instcombine -S | grep call | not grep bitcast
 
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index 6dc73098df30eda40647b57437cf03c837fafd24..251d78f59bee5dfb327f802fe5cff9a3d936e1f4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep bitcast
+; RUN: opt %s -instcombine -S | not grep bitcast
 
 define i19 @test1(i43 %val) {
   %t1 = bitcast i43 %val to i43 
index ccd030689fe6286ae8d84bf7533528d444c8b125..b2069a93ac4c811fcccb760239dd364aed055b70 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep i41
+; RUN: opt %s -instcombine -S | not grep i41
 
 define i61 @test1(i61 %X) {
         %Y = trunc i61 %X to i41 ;; Turn i61o an AND
index c507375fb700f5fa1611465ce5e5f2fbddc9e1b5..ec60e45d54916f4ec20c20cb16bbaa90e6fcfb7f 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that elimination of logical operators works with 
 ; arbitrary precision integers.
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep {(and\|xor\|add\|shl\|shr)}
 ; END.
 
index 49af162202affbebc43afeb95bd7868c07d9ed4c..488b7f2c98e182551909e2445339032d4555d4b0 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that the xor instructions are properly eliminated
 ; when arbitrary precision integers are used.
 
-; RUN: opt %s -instcombine -S | not grep xor
+; RUN: opt %s -instcombine -S | not grep xor
 
 define i33 @test1(i33 %A) {
        %B = xor i33 %A, -1
index be9720d04e1db16e5aefb8a086119ff977de28e8..8163e6d527d77f399149555798d29ec2e91625a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep shl
+; RUN: opt %s -instcombine -S | grep shl
 ; END.
 
 define i1 @test0(i39 %X, i39 %A) {
index c7007e968493d8f2939d2cafb4f3a28ad7bf303b..849c6598332824215cc8ffaf9c24be03554a0278 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that xor instructions are properly eliminated.
 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
 
-; RUN: opt %s -instcombine -S | not grep {xor }
+; RUN: opt %s -instcombine -S | not grep {xor }
 
 
 define i47 @test1(i47 %A, i47 %B) {
index b6227470424bca42f5fb4f5ac274d1449194386e..cacc17958eb9dc5b5cf9ccd26c64e4cc1123545b 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that xor instructions are properly eliminated.
 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
 
-; RUN: opt %s -instcombine -S | not grep {xor }
+; RUN: opt %s -instcombine -S | not grep {xor }
 ; END.
 
 
index 529a33b6b7cb458866ae9d3ef107971204321334..2b596936409336bc3c226d817f9c7478862d122f 100644 (file)
@@ -1,6 +1,6 @@
 ; Tests to make sure elimination of casts is working correctly
 ; This test is for Integer BitWidth <= 64 && BitWidth % 2 != 0.
-; RUN: opt %s -instcombine -S | notcast {} {%c1.*}
+; RUN: opt %s -instcombine -S | notcast {} {%c1.*}
 
 define i47 @test_sext_zext(i11 %A) {
     %c1 = zext i11 %A to i39
index ebc427f1c9bd256c209ef6067f01a4c7103b32d8..264b4b2e36e26d69d80b1bf515a9f3b07364b6c1 100644 (file)
@@ -1,6 +1,6 @@
 ; Tests to make sure elimination of casts is working correctly
 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
-; RUN: opt %s -instcombine -S | notcast {} {%c1.*}
+; RUN: opt %s -instcombine -S | notcast {} {%c1.*}
 
 define i1024 @test_sext_zext(i77 %A) {
     %c1 = zext i77 %A to i533
index d375bdfd6c37cff1f335c28c65879c5cc5f39749..51bbc0888836ee69259b7595c8df02b8eed8615f 100644 (file)
@@ -1,6 +1,6 @@
 ; This file contains various testcases that require tracking whether bits are
 ; set or cleared by various instructions.
-; RUN: opt %s -instcombine -instcombine -S |\
+; RUN: opt %s -instcombine -instcombine -S |\
 ; RUN:   not grep %ELIM
 
 ; Reduce down to a single XOR
index 1448fc6f483d5126a0668af608af5970f282e7dc..4e9dfbb53b4964f819d04b216780ff5603b0d6ab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i32 0}
+; RUN: opt %s -instcombine -S | grep {ret i32 0}
 ; PR4487
 
 ; Bitcasts between vectors and scalars are valid, despite being ill-advised.
index 194fdea52b2e3e2fa9adb63aa34c5dec2cdd8103..d27765e89424f3a63f6941f833a48127032e9fab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep element | count 4
+; RUN: opt %s -instcombine -S | grep element | count 4
 
 define double @a(<1 x i64> %y) {
   %c = bitcast <1 x i64> %y to double
index 3c10120393ea4dde6ca8f347bdec75d36583eff2..f75ca2df69d1a35680fddf213e0b2c2db9f8e5b7 100644 (file)
@@ -1,6 +1,6 @@
 ; Tests to make sure bit counts of constants are folded
-; RUN: opt %s -instcombine -S | grep {ret i32 19}
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | grep {ret i32 19}
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep -v declare | not grep llvm.ct
 
 declare i31 @llvm.ctpop.i31(i31 %val) 
index c4819f8127ad12450359fecb590b3a57db11c0e0..92863d59470aace14dd9c0756fa1ea1b12735adf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -simplifycfg -S |\
+; RUN: opt %s -instcombine -simplifycfg -S |\
 ; RUN:    not grep {call void @abort}
 
 @b_rec.0 = external global i32          ; <i32*> [#uses=2]
index 35b23e84557e69c667b1af19d92537594b6369ef..3e56951c6077cae0bca403d9a2316ab2d29fde03 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep ret | count 6
-; RUN: opt %s -instcombine -S | not grep call.*bswap
+; RUN: opt %s -instcombine -S | grep ret | count 6
+; RUN: opt %s -instcombine -S | not grep call.*bswap
 
 define i1 @test1(i16 %tmp2) {
         %tmp10 = call i16 @llvm.bswap.i16( i16 %tmp2 )          ; <i16> [#uses=1]
index 8428e6b342a422ca71111376211d6a0fbe6ffdbc..c5aa8bede1784d342fdccf979e0e7ad8acaa80cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {call.*llvm.bswap} | count 6
 
 define i32 @test1(i32 %i) {
index 9610ea9215cea7711dfdf85ce49cc268b61bd4a9..7addc8abc84f2f6bc5652646aeaba9ae58deba18 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep call | not grep bitcast
 
 target datalayout = "e-p:32:32"
index 24d0ad3d52610ad88c640b9840cdc5401bb4f992..f9d108058063c5fa073345b8c560bcfe00da3ee8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 
 @X = global i8 0                ; <i8*> [#uses=3]
 @Y = global i8 12               ; <i8*> [#uses=2]
index 03d9a6a9087ecb8fff0eb2bc4330d9168a539d28..393a567e2e5c790100e75ce153cddd6aee76555d 100644 (file)
@@ -1,5 +1,5 @@
 ; Ignore stderr, we expect warnings there
-; RUN: opt %s -instcombine 2> /dev/null -S | \
+; RUN: opt %s -instcombine 2> /dev/null -S | \
 ; RUN:    grep call | notcast
 ; END.
 
index e2bcbd8a19c645f759936e04c285dd26ddf56efc..3a6bd67ce569ec16ef030b63dea7ea74f1aade3c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 
 ; This used to crash trying to do a double-to-pointer conversion
 define i32 @bar() {
index 1a9e966edb19ef9048bb9f06e5298f99eb751e90..52aff3dcd475cbc3320ef5072efdc674f9709e1f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep {icmp ne\|icmp ule\|icmp uge}
 
 define i32 @test1(i32 %X, i32 %Y) {
index 8ac649fb6282598f1072bd9df621de8f9adfc576..eda9d998be9cb3b02d9a508cb27e74f0d49f2b84 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep bitcast
 
 define i1 @test1(i32 %val) {
index 521e9b462d37e6cad5ccfaf96688490e2e105d01..1e591ccf493c18d4b56b503309a30f566ba3b9fc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep i8 
 
 define i32 @test1(i32 %X) {
index 0f90bd55c437ee283c0fa08257caf731f349ca6c..57f021cc8de56d72cb29e447c8cde6c36a2cb1d7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -globaldce -S | \
+; RUN: opt %s -instcombine -globaldce -S | \
 ; RUN:   not grep Array
 
 ; Pulling the cast out of the load allows us to eliminate the load, and then 
index 8e1c6b9297a7f5e1b20da3c6ad08a648e0849142..3754032cc2f791d31031b5d758e385f81b1fceb1 100644 (file)
@@ -1,5 +1,5 @@
 ; test that casted mallocs get converted to malloc of the right type
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep bitcast
 
 ; The target datalayout is important for this test case. We have to tell 
index 87acb45cd8b1339ccef319bf25227d5ff0f84536..95c040b140d20c63769b8e42abc7a52ed1180ba0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -mem2reg -S | \
+; RUN: opt %s -instcombine -mem2reg -S | \
 ; RUN:    not grep load
 
 define i32 @test1(i32* %P) {
index 79bd5aa655db667f91a76715ca215c8da4174c84..0fecc1ce127d56b0facf118700a66d930222560b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep sext
+; RUN: opt %s -instcombine -S | not grep sext
 ; XFAIL: *
 
 define zeroext i16 @t(i8 zeroext %on_off, i16* nocapture %puls) nounwind readonly {
index 048106d0ccde89b986b2e8cd9a3dfe3ea7b61f9f..59d7cd051d3810793a528957bed92ec525809cca 100644 (file)
@@ -1,5 +1,5 @@
 ; Tests to make sure elimination of casts is working correctly
-; RUN: opt %s -instcombine -S | grep %c | notcast
+; RUN: opt %s -instcombine -S | grep %c | notcast
 
 @inbuf = external global [32832 x i8]           ; <[32832 x i8]*> [#uses=1]
 
index c9119480b4d5fe8a2a65fbfd300025921524f2c1..bc60f55c48c86595595c0d43f577b580f3aac2bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep getelementptr
+; RUN: opt %s -instcombine -S | not grep getelementptr
 ; PR2831
 
 ; Don't raise arbitrary inttoptr+arithmetic+ptrtoint to getelementptr.
index 3ae2580f461512c22951acbeb5fac806e463ee65..e94dce7e906ba07dcfa6ba6a53afbbf678838c78 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep bitcast | count 1
+; RUN: opt %s -instcombine -S | grep bitcast | count 1
 
 ; InstCombine can not 'load (cast P)' -> cast (load P)' if the cast changes
 ; the address space.
index c1bf81cacc7a10775692887fe1275f1e165e8ad6..6544e7d735a44d1bef7b8cd57f4f32effc6cee0a 100644 (file)
@@ -1,5 +1,5 @@
 ; Tests to make sure elimination of casts is working correctly
-; RUN: opt %s -instcombine -S | FileCheck %s
+; RUN: opt %s -instcombine -S | FileCheck %s
 
 target datalayout = "p:32:32"
 
index 281d3b359194087b0dcb15345e5c802350d52887..5a7aef3d397a0212f55da2bbe0ace3513d0124a5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | FileCheck %s
+; RUN: opt %s -instcombine -S | FileCheck %s
 
 ; Constant folding should fix notionally out-of-bounds indices
 ; and add inbounds keywords.
index 8550d6563782de14dc2b336295f1c8db3ebebefb..9b6c6c3f58f29dad1e81b011bb886fb23b53b46c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i32 2143034560}
+; RUN: opt %s -instcombine -S | grep {ret i32 2143034560}
 
 ; Instcombine should be able to completely fold this code.
 
index f1c136b968e4aff380ac35c9374adc95ce97ad99..1d2cc53210feaaa686cbbf67ec073354333b9d78 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret double .sy}
+; RUN: opt %s -instcombine -S | grep {ret double .sy}
 
 define internal double @ScaleObjectAdd(double %sx, double %sy, double %sz) nounwind {
 entry:
index 8f1158b7fe05c3402574108115fd6fb86f99bc44..52af0ef4e8d4e15212c9751e0c22085135872409 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep {ret i32 %A}
-; RUN: opt %s -die -S | not grep call.*llvm.stacksave
+; RUN: opt %s -instcombine -S | grep {ret i32 %A}
+; RUN: opt %s -die -S | not grep call.*llvm.stacksave
 
 define i32 @test(i32 %A) {
        %X = or i1 false, false         
index 8b91e24e10bebd42712e31c725cc7ea76402b1a2..6f63adcd2e171175c70e35e8c2e06f0e3eee7053 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep sdiv
+; RUN: opt %s -instcombine -S | not grep sdiv
 ; PR2740
 
 define i1 @func_75(i32 %i2) nounwind {
index 89b01f5ac6c9f38491a3d670185700f337d5df2a..9e9be7f56575dc5a977888900b327f4268d2332e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep alloca | grep {align 16}
+; RUN: opt %s -instcombine -S | grep alloca | grep {align 16}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.6"
 
index 698e658240e2543ebc539b19ac3d99d0c6e89acc..e5677541e95243cdf69db257f797757419df2a95 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | FileCheck %s
+; RUN: opt %s -instcombine -S | FileCheck %s
 
 ; CHECK: define i32 @foo
 ; CHECK: sdiv i32 %x, 8
index 263088eee4b915678d16fd3ed7b32b24f5ca484b..b837985a263be9021334bc9c7880f32acd27f13a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep icmp
+; RUN: opt %s -instcombine -S | not grep icmp
 
 define i1 @f(i1 %x) {
        %b = and i1 %x, icmp eq (i8* inttoptr (i32 1 to i8*), i8* inttoptr (i32 2 to i8*))
index dc25156880eece53ecb90b90906bb6d1e8074cc6..e1d86b6cd07cb7bbe6047206dbbbe17f0971aaad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep zeroinitializer
+; RUN: opt %s -instcombine -S | not grep zeroinitializer
 
 define void @foo(i64 %A, i64 %B) {
 bb8:
index 8669082957bf74516e11aae9ff662a1185d83692..169340abf360a6ce530cb3203a0cf0fe0473e87c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {call float bitcast} | count 1
        %struct.NSObject = type { %struct.objc_class* }
        %struct.NSArray = type { %struct.NSObject }
index 037190da3f5d34ee1872d563ad48464a9bfceb6d..ffaa6afa85e355a718ca54824e6a79e56ed655ea 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | FileCheck %s
+; RUN: opt %s -instcombine -S | FileCheck %s
 
 target datalayout = "e-p:64:64"
 %intstruct = type { i32 }
index d60363e6665a7e95bab455e3b9be7147c7d71aa0..fa451bcc727323f61de4678bcf3bb560fdf8f9a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | FileCheck %s
+; RUN: opt %s -instcombine -S | FileCheck %s
 
 ;; This tests that the div is hoisted into the then block.
 define i32 @foo(i1 %C, i32 %A, i32 %B) {
index 91fcc0c08692ce4bafadde8f4f9ae8aa96e1f36a..5382abf821254f99e64e0aa8ef3d6f7c6923e783 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {align 1}
+; RUN: opt %s -instcombine -S | grep {align 1}
 ; END.
 
        %struct.p = type <{ i8, i32 }>
index 368b300452aefd25ddb1b430782bafcf201a250c..ff3401727b9c1aa3f124617707516fdfbde07ecd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {, align 16} | count 14
+; RUN: opt %s -instcombine -S | grep {, align 16} | count 14
 
 @x = external global <2 x i64>, align 16
 @xx = external global [13 x <2 x i64>], align 16
index 88a003a1daa3ce6f0217ad9a9a1bbcf974ef70df..b6ebbeaf57530b886e65ba6945ef9eaac695082d 100644 (file)
@@ -1,5 +1,5 @@
 ; test that malloc's with a constant argument are promoted to array allocations
-; RUN: opt %s -instcombine -S | grep getelementptr
+; RUN: opt %s -instcombine -S | grep getelementptr
 
 define i32* @test() {
        %X = malloc i32, i32 4
index d95ed83f21772e288cf42aca85d52008da3f8c30..cd407ffb02f34df43849283dc8966b59d10f1582 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {malloc.*struct.foo} | count 2
+; RUN: opt %s -instcombine -S | grep {malloc.*struct.foo} | count 2
 ; PR1728
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index 4817a25e13c56b69a676acf54ed5021884a2a8a6..ebb8711af9f1e722f21b78f5a6de78dfaa57e373 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {load double}
+; RUN: opt %s -instcombine -S | grep {load double}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin8"
 
index e8939fa16ca4fa2bc5b37a9f6e87713ec1d913dc..1806cfcb54fb79ccbc51b96440ceb3514483ef5f 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that memmove instructions are properly eliminated.
 ;
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep {call void @llvm.memmove}
 
 @S = internal constant [33 x i8] c"panic: restorelist inconsistency\00"                ; <[33 x i8]*> [#uses=1]
index 99f6c493b2b61b43de9e48601d0fb0aa4317ea6a..8e85694d9ad9b4b22e31cd3b6c5f7558e5140488 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep {call.*llvm.memset}
+; RUN: opt %s -instcombine -S | not grep {call.*llvm.memset}
 
 declare void @llvm.memset.i32(i8*, i8, i32, i32)
 
index d8bcfaf7c3500ed632782baedcd20c465ffb0a89..a43d5f20beaaeede2cb1754e3f2ec0f0d825c569 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep ashr
+; RUN: opt %s -instcombine -S | grep ashr
 
 define i32 @foo(i32 %x, i32 %y) {
   %a = and i32 %x, 7
index 6357e466d01814a016877d0602de63af077cac30..9bbef2383bb2a64f751a995b285f304d2dba7852 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {add double .sx, .sy}
+; RUN: opt %s -instcombine -S | grep {add double .sx, .sy}
 ; The 'or' has multiple uses, make sure that this doesn't prevent instcombine
 ; from propagating the extends to the truncs.
 
index ebe20db1ea690a918e00f89659434a37b08fc561..1b96a06eeb7ff02e6a08f4a13f667af0a5796ee0 100644 (file)
@@ -1,6 +1,6 @@
 ; This file contains various testcases that check to see that instcombine
 ; is narrowing computations when possible.
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {ret i1 false}
 
 ; test1 - Eliminating the casts in this testcase (by narrowing the AND
index 57440f67af442bc6eda47ba40b21a0e100040289..ad01a6bdf1bc160a9fea1b684e992f80c95d71b0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep "fcmp uge"
+; RUN: opt %s -instcombine -S | grep "fcmp uge"
 ; PR1570
 
 define i1 @f(float %X, float %Y) {
index 0442ebb8f439d7933bcd8bbec798d5fe2013a0ff..c58ce11b438f621d04d43a26dd45fb80cb9b9325 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: opt %s -instcombine -S | not grep xor
+; RUN: opt %s -instcombine -S | not grep xor
 
 define i32 @test1(i32 %A) {
         %B = xor i32 %A, -1             ; <i32> [#uses=1]
index e2a35e44394e3ecf6dbf80b86661c6aca49b206d..08d90bfbd7d4fabd506cb3ac5e72fbe9d8997024 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep call
+; RUN: opt %s -instcombine -S | not grep call
 ; rdar://6880732
 declare double @t1(i32) readonly
 
index 3662df0fbc753d0c8ea5c610bcd6bb394c0fbe7f..821cebed30bba047068dc80115a464a96e3be613 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | FileCheck %s
+; RUN: opt %s -instcombine -S | FileCheck %s
 
 ; CHECK: define i32 @foo
 ; %y = sub i32 0, %x
index e72576bcb90a6035bbfc59c418fc192c6956ef1b..a64ef289a4b6553b9785434b35bf78b8b3f67145 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i32 10}
+; RUN: opt %s -instcombine -S | grep {ret i32 10}
 
 @g1 = available_externally constant i32 1
 @g2 = linkonce_odr constant i32 2
index 1911234561fa817a77c39f0e0880cf309af1c626..37f934bd9670142439567a2ae420392fb0e6a6d0 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep -v xor | not grep {or }
 ; END.
 
index 0a5666f333fcc8ea17a0dc733233e1cfe0f5c8e2..c01229a78a0dd835d5ddeea65383d250d8dfb4e3 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: opt %s -instcombine -S | grep -v xor | not grep {or }
+; RUN: opt %s -instcombine -S | grep -v xor | not grep {or }
 
 ; PR1738
 define i1 @test1(double %X, double %Y) {
index 490ecde98e50d08fd5de05e66aacba56dcb23e1b..c41f50325d6f9995dbde6b22e734d3996ed04d53 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep {phi i32}
+; RUN: opt %s -instcombine -S | not grep {phi i32}
 ; PR1777
 
 declare i1 @rrr()
index 56adb839092bc5f22f2c63be0ee679848797b726..9bcaa43a80baee9e6d2da051deefd8dc2a695130 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {insertelement <4 x float> undef}
+; RUN: opt %s -instcombine -S | grep {insertelement <4 x float> undef}
 
 ; Instcombine should be able to prove that none of the
 ; insertelement's first operand's elements are needed.
index 2972f6040cfdb0883343d5cd5083eaf9cfa0212b..d320dafcd252cc881bb9ffabd9cd1c59ce50842f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep shufflevector
+; RUN: opt %s -instcombine -S | grep shufflevector
 ; PR2645
 
 ; instcombine shouldn't delete the shufflevector.
index f49835c4f593badd8e5e02da5bfe6ca352c034a1..ff3245d8668cf343c3dc8504633820cc3bfe0cc8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 ; PR2996
 
 define void @func_53(i16 signext %p_56) nounwind {
index df4ed8dbabffe6c9045ecc51b5a012566d2c9b77..dbfd56acc58b1df3ccb58b5462c3dd35c4c0b9e6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep { i32 \[%\]sd, \[\[:alnum:\]\]* \\?1\\>} | count 4
+; RUN: opt %s -instcombine -S | grep { i32 \[%\]sd, \[\[:alnum:\]\]* \\?1\\>} | count 4
 
 ; Instcombine normally would fold the sdiv into the comparison,
 ; making "icmp slt i32 %h, 2", but in this case the sdiv has
index 781b2ffacd9126a95ac0671f406d81c1d60b63de..2f64d8ba0e1d622b3f42008f7e4196dc8a77561e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S > %t
+; RUN: opt %s -instcombine -S > %t
 
 define i1 @test1(i32 *%x) nounwind {
 entry:
index b62dff27ca34c9c8ae85d732625b332697081959..c46b5eaef4a87f2cdc7bb26a4cb204169c42d7d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -inline -S | not grep '-715827882'
+; RUN: opt %s -instcombine -inline -S | not grep '-715827882'
 ; PR3142
 
 define i32 @a(i32 %X) nounwind readnone {
index 40c5350dbe977d4c23179cd43dc96faee375fe17..0e4c008020103ee4da2ee49112bc56ae811f1d9b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR3144
 
 define fastcc i32 @func(i32 %length) nounwind {
index c134030e6189f1f21766c99dc921d309b5f3d9e1..bef0cf841bfaa3b37cc1a8ae2059b6c16561decb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i32 1}
+; RUN: opt %s -instcombine -S | grep {ret i32 1}
 
 declare void @test2()
 
index 39cb00a98e9e152f424560a3799e733397f8dac7..daa9148f6ad974f9a8a977bbb103f9a51ae0d23e 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: opt %s -instcombine -S | not grep icmp
+; RUN: opt %s -instcombine -S | not grep icmp
 ; END.
        
 @X = external global i32                ; <i32*> [#uses=2]
index 9e24ecafecf52033ecb9c181cee49274b9403553..b2681ea29863377b1b4d8b73e26b68685ee83457 100644 (file)
@@ -1,7 +1,7 @@
 ; This test case was reduced from MultiSource/Applications/hbd. It makes sure
 ; that folding doesn't happen in case a zext is applied where a sext should have
 ; been when a setcc is used with two casts.
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep {br i1 false}
 ; END.
 
index fde8b2e441154c722d82068350d40f35bba156f8..62ab116367fe09b3e3ac9c6a21a9799c225c8a63 100644 (file)
@@ -2,7 +2,7 @@
 ; working.  Basically this boils down to converting setlt,gt,le,ge instructions
 ; into equivalent setne,eq instructions.
 ;
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep -v {icmp eq} | grep -v {icmp ne} | not grep icmp
 ; END.
 
index f4c73a0179766cc5bc2b8802cca78ac330b99920..449278544d1f1cda302efe8d8ad2ae039dc01c5e 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {lshr i32} | count 2
-; RUN: opt %s -instcombine -S | not grep ashr
+; RUN: opt %s -instcombine -S | not grep ashr
 
 
 define i32 @test1(i32 %X, i8 %A) {
index f4f4ce9becf5018036165883626cc210aa1bcb71..7133d299a2bdedaa062243bf862c6722165173e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep lshr.*63
+; RUN: opt %s -instcombine -S | grep lshr.*63
 
 define i32 @t1(i64 %d18) {
 entry:
index a517e655cd9e507383abd9789919d842a78442e2..787fab52bc7d68641ac696e3310befe307d3ce4e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -stats -disable-output |& \
+; RUN: opt %s -instcombine -stats -disable-output |& \
 ; RUN:   grep {Number of insts combined} | grep 5
 
 define i8 @t1(i8 zeroext %x, i8 zeroext %y) zeroext nounwind {
index 08569d37179f7a1715eccfa5bd599e81ca4afb2a..84af2e3361038fccdb156b885a6cdd61f11c06d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep shl
+; RUN: opt %s -instcombine -S | grep shl
 
 define i1 @test(i32 %X, i8 %A) {
         %shift.upgrd.1 = zext i8 %A to i32              ; <i32> [#uses=1]
index d7a6bc6d8ff54ef10737a9d2e52e82a2884a673c..cf87aef7df465e3a5551a5936158e00488d19516 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep {shufflevector.\*i32 8}
+; RUN: opt %s -instcombine -S | not grep {shufflevector.\*i32 8}
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9"
index b37be5946c21e302b260754df761e883ff32b10c..2c667903b1ebf335c45cb0fb2ca447fc684a666e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep "2 x float"
+; RUN: opt %s -instcombine -S | grep "2 x float"
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9"
index 8a16b7e89c0ee8282cb811f22f6884319ea4c3a8..9a08c6446c528d8f1f5a99b2c3550f3d3df010db 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S > %t
+; RUN: opt %s -instcombine -S > %t
 ; RUN: not grep zext %t
 ; RUN: not grep slt %t
 ; RUN: grep {icmp ult} %t
index d67a04a6488907ee3d8c36e143fc15eda25286b7..008662e04e9df1052e16ba82c9f04268a69f7611 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep {(and\|xor\|add\|shl\|shr)}
 ; END.
 
index fdd8dc391bc7aa959aa91a1a9090725e33736c64..6d2193fe448aeb5b891365e161397703a98e9ad3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 ; SimplifyDemandedBits should cope with pointer types.
 
index 3afbbe26c71d223ae10904c37eda29a55c59e92e..af824a445df0ece08d2962a06b9b0f4334a16c83 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i1 false}
+; RUN: opt %s -instcombine -S | grep {ret i1 false}
 ; PR2276
 
 define i1 @f(i32 %x) {
index 32aa9575f5dc09314072ef7be7879ee2b198544d..beefe4fb8d3fa712a0e895a83c9382a53bef0131 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep srem
+; RUN: opt %s -instcombine -S | grep srem
 
 define i64 @foo(i64 %x1, i64 %y2) {
        %r = sdiv i64 %x1, %y2
index 2f74cf504cf56ad6bc2a9bd4fa0279b4c64e7a21..f18690c3fff273138502c29452dc814ab159ea7b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 ; PR2670
 
 @g_127 = external global i32           ; <i32*> [#uses=1]
index f221544b44e913c7563c8d34a5910575892b95d1..88b4114d58850e2319d8c83a46e4772cca824a56 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {align 32} | count 1
+; RUN: opt %s -instcombine -S | grep {align 32} | count 1
 
 ; It's tempting to have an instcombine in which the src pointer of a
 ; memcpy is aligned up to the alignment of the destination, however
index c86f884ee485518301627d2e19b6c7bd46ae830f..0fcaefac6224857e8d1122d97615d9bb1ba09e0e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {call.*stackrestore} | count 1
+; RUN: opt %s -instcombine -S | grep {call.*stackrestore} | count 1
 
 declare i8* @llvm.stacksave()
 declare void @llvm.stackrestore(i8*)
index e334c90c9bee005d63e2638de464a92e09a80156..06d497d10dbf41ff163498b428c6a7089eaa10b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    grep {ret i32 %.toremerge} | count 2
 ;; Simple sinking tests
 
index 666ce369378b99de1e80ff0c0dfb2acc050d04af..93e3753cf50234e760006330d2de0aa0392515d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S > %t
+; RUN: opt %s -instcombine -S > %t
 ; RUN: not grep zext %t
 ; RUN: not grep sext %t
 
index c649955bc92acced5b311164c6f5dab15ec67345..bfdd98cddfafad1319d685e20eb1b918e3e1328d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i64 0} | count 2
+; RUN: opt %s -instcombine -S | grep {ret i64 0} | count 2
 
 define i64 @foo(i32 %x) nounwind {
   %y = lshr i32 %x, 1
index 475a19a4447eff8d39d869ca6a8157cb23043cda..56877e30f9cf3f56a751f3c4da34575423c71e34 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep zext
+; RUN: opt %s -instcombine -S | not grep zext
 ; PR4548
 
 define i8 @udiv_i8(i8 %a, i8 %b) nounwind {
index f6c9df265086abf4ae17a5ed0c5f6b9ef092dbe4..7c2b4b01ca6675d180375ca96d206333c302017e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {= or i32 %x, -5 }
+; RUN: opt %s -instcombine -S | grep {= or i32 %x, -5 }
 
 @.str = internal constant [5 x i8] c"foo\0A\00"                ; <[5 x i8]*> [#uses=1]
 @.str1 = internal constant [5 x i8] c"bar\0A\00"               ; <[5 x i8]*> [#uses=1]
index 6ecbbc68b1788352968a15f8fca9ae953eaffaac..51084224a734a29c20c0111f80d58b9b94244fd0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep urem
+; RUN: opt %s -instcombine -S | grep urem
 
 define i64 @rem_unsigned(i64 %x1, i64 %y2) {
        %r = udiv i64 %x1, %y2
index 978c162212bb3a870f8b5c0b3db4031fd30a5847..41593612e55f1c1bb7419b08716ca4cbbca06c51 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep extractelement
+; RUN: opt %s -instcombine -S | not grep extractelement
 
 define void @get_image() nounwind {
 entry:
index 4e42e6654e5899f847dc888a95e3d99458f4dfa0..62e43701d24e7dc80f98bf7af7d1060d2d1e21bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep load
+; RUN: opt %s -instcombine -S | not grep load
 ; PR4340
 
 define void @vac(<4 x float>* nocapture %a) nounwind {
index 62ea02a04ad5fa391a9d3895261740e0aa065298..2009a776b15110e45b9f969215eebd739f0e758d 100644 (file)
@@ -1,12 +1,12 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {fadd float}
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {fmul float}
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep {insertelement.*0.00}
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep {call.*llvm.x86.sse.mul}
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep {call.*llvm.x86.sse.sub}
 ; END.
 
index 5a078f1acf529fa44e903dd96539af6b19058f80..63e4ee2112d819e247d16cbdb1be8e878779792f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep extractelement
+; RUN: opt %s -instcombine -S | not grep extractelement
 
 define i32 @test(float %f) {
         %tmp7 = insertelement <4 x float> undef, float %f, i32 0                ; <<4 x float>> [#uses=1]
index 34c89d82d6cd06155ccd483d166716cd1bf5dde7..ba5a734dec792a487aaa9a6b0b024ec78915cc3f 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep shufflevec | count 1
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep insertelement
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   not grep extractelement
 ; END.
 
index 2ebf3ff3a72ca49862e30bcb662315a1df4b9dbf..eedf882518bf35912e78f6a2c1c04697fbd7ec6a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret <4 x i32> %A}
+; RUN: opt %s -instcombine -S | grep {ret <4 x i32> %A}
 
 ; PR1286
 define <4 x i32> @test1(<4 x i32> %A) {
index fcb64c77c19363aef215644c00a26c7022037da5..daf7bcf297c1de89eaf4040ac74e9c9d904846ea 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {add float}
 
         %V = type <4 x float>
index 24930c35a8ae6882e2aa91832d32b8a0b96ffead..0a096d49c0dbaf2184e94ab3b5242a6a63139c94 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep vector_shuffle
+; RUN: opt %s -instcombine -S | not grep vector_shuffle
 ; END.
 
 %T = type <4 x float>
index 2e53665ec49ec716104f3356b466eac5dc6e538c..5f437b30f5b8b09e8d7a005b4c4b41613a81dfb5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep undef | count 1
+; RUN: opt %s -instcombine -S | grep undef | count 1
 ; END.
 
 ; Test fold of two shuffles where the first shuffle vectors inputs are a
index 8baa9345e8ed44121177b1cc2fa496a8d7ce8ed2..470d48547532f4129c8f435c7a14e1bf9233b5a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | FileCheck %s
+; RUN: opt %s -instcombine -S | FileCheck %s
 
 ; This turns into a&1 != 0
 define <2 x i1> @test1(<2 x i64> %a) {
index 0a7c677cc830cf4d8b1bfd0dc0dc471c52ba56e8..acb11c52adb39c5d88d636c1c1aa5968a155a526 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {srem <4 x i32>}
+; RUN: opt %s -instcombine -S | grep {srem <4 x i32>}
 
 define <4 x i32> @foo(<4 x i32> %t, <4 x i32> %u)
 {
index c9f3c53405e75d4d8563eb471105fe09387d4c4d..5316bd772e13ad6a28365ad763aea2d149722cb2 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -instcombine -S | grep {volatile store}
-; RUN: opt %s -instcombine -S | grep {volatile load}
+; RUN: opt %s -instcombine -S | grep {volatile store}
+; RUN: opt %s -instcombine -S | grep {volatile load}
 
 @x = weak global i32 0         ; <i32*> [#uses=2]
 
index 6b5b2a2f3079cfa45f9ffee4cccea62fe6edbd76..3383845fb3611ad984db00a2303e190a084b699c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | not grep {= or}
+; RUN: opt %s -instcombine -S | not grep {= or}
 ; PR3266
 ; XFAIL: *
 
index 8616a421c9d431fb8597141141965043baee91d0..cf72955b66b3139f07b9f4f071fcaeef9b2cd57b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep zeroinitializer
+; RUN: opt %s -instcombine -S | grep zeroinitializer
 
 define <2 x i64> @f() {
        %tmp = xor <2 x i64> undef, undef
index e5dfa5bff28bfff1b329b85b16da19d19b813776..a7bcdac08bd89c43dd87971d45e0385757f0ab7a 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:    not grep {xor }
 ; END.
 @G1 = global i32 0             ; <i32*> [#uses=1]
index 424d1b157fd63150d3aa8ad3cdddda7f44bcf55e..0f17ca96cb51bd18f2881774fa0530fe0c1cae79 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: opt %s -instcombine -S | not grep {xor }
+; RUN: opt %s -instcombine -S | not grep {xor }
 
 ; PR1253
 define i1 @test0(i32 %A) {
index b01a7134db90b2aade293e2f04f8c058254e0a41..d07a9f4b9de0605c822794e3644d65f02903e8d4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep 0.0 | count 1
+; RUN: opt %s -instcombine -S | grep 0.0 | count 1
 
 declare double @abs(double)
 
index cdbb7b1a05394dcbc44ff70419e1ac7311c6fad7..592b8a172f8e1fcb93a16f3d6716f99744e77f0f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {and i32 %Y, 8}
 
 define i32 @test1(i8 %X) {
index 008c5d0bb41fca4f007e38d6078018798d219e1a..9521101e736a923f24cdde8e321719952119626c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {zext } | count 1
+; RUN: opt %s -instcombine -S | grep {zext } | count 1
 ; PR1570
 
 define i32 @test2(float %X, float %Y) {
index c926a65065350fdfd23e4b00682826322431cfdc..9aacd3a281e08f162d8e827c98f67b625c8fa77d 100644 (file)
@@ -1,5 +1,5 @@
 ; Tests to make sure elimination of casts is working correctly
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   notcast {} {%c1.*}
 
 define i64 @test_sext_zext(i16 %A) {
index 5464c37e9e58fb2a8d4325abc050576615681a45..a85e834582d7e161442a8fbde21f3e0c8cafd037 100644 (file)
@@ -1,12 +1,12 @@
 ; No arguments means internalize all but main
-; RUN: opt %s -internalize -S | grep internal | count 4
+; RUN: opt %s -internalize -S | grep internal | count 4
 ; Internalize all but foo and j
-; RUN: opt %s -internalize -internalize-public-api-list foo -internalize-public-api-list j -S | grep internal | count 3
+; RUN: opt %s -internalize -internalize-public-api-list foo -internalize-public-api-list j -S | grep internal | count 3
 ; Non existent files should be treated as if they were empty (so internalize all but main)
-; RUN: opt %s -internalize -internalize-public-api-file /nonexistent/file 2> /dev/null -S | grep internal | count 4
-; RUN: opt %s -internalize -internalize-public-api-list bar -internalize-public-api-list foo -internalize-public-api-file /nonexistent/file 2> /dev/null -S | grep internal | count 3
+; RUN: opt %s -internalize -internalize-public-api-file /nonexistent/file 2> /dev/null -S | grep internal | count 4
+; RUN: opt %s -internalize -internalize-public-api-list bar -internalize-public-api-list foo -internalize-public-api-file /nonexistent/file 2> /dev/null -S | grep internal | count 3
 ; -file and -list options should be merged, the .apifile contains foo and j
-; RUN: opt %s -internalize -internalize-public-api-list bar -internalize-public-api-file %s.apifile -S | grep internal | count 2
+; RUN: opt %s -internalize -internalize-public-api-list bar -internalize-public-api-file %s.apifile -S | grep internal | count 2
 
 @i = weak global i32 0          ; <i32*> [#uses=0]
 @j = weak global i32 0          ; <i32*> [#uses=0]
index 0f0dac178277f6b94fd9a5e387202a47771c4eaa..7b18a04e1160f3f6f4bdad2f44933d5a57b0f92d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -internalize -S | grep internal | count 3
+; RUN: opt %s -internalize -S | grep internal | count 3
 
 @A = global i32 0
 @B = alias i32* @A
index 6bae0ec52eec94c4e7e6c02bacdeea3adbbb2698..2a2f01383478668a8d81a6de7562d3cabe7616cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading -disable-output
+; RUN: opt %s -jump-threading -disable-output
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9"
 @Link = global [1 x i32] [ i32 -1 ]            ; <[1 x i32]*> [#uses=2]
index 0f6431dba74099c5949f86cebef0bbe750bb2aa2..b1f9656f6de6dc260452f1fc804a1adf66ab7303 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading -disable-output
+; RUN: opt %s -jump-threading -disable-output
 ; PR2285
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index 08bf190d8b304d02a1536490cdf2fa7e41ac7452..dfb6251c6764eb1a7cfa0bcb179a5b3aa6f62ef0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading | llvm-dis
+; RUN: opt %s -jump-threading | llvm-dis
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.5"
index 03983348cb0d2ed52244003ec2274d38684abb54..208c8229875eaf309a393eba4782737f2f9b2b7d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading | llvm-dis
+; RUN: opt %s -jump-threading | llvm-dis
 ; PR3298
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index b02ff548c54ff527d652ead97432a421e1e5159c..5c1f77b6eea04ab752115442d33d61ca1e85ff57 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading | llvm-dis
+; RUN: opt %s -jump-threading | llvm-dis
 ; PR3353
 
 define i32 @test(i8 %X) {
index 58ca17700ee3332c27c614b387ef6ffce791e04c..e6db9ee5a325933eafd5671aa4f99f2b5b250e31 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  -S | grep {ret i32 %v1}
+; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  -S | grep {ret i32 %v1}
 ; There should be no uncond branches left.
-; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  -S | not grep {br label}
+; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  -S | not grep {br label}
 
 declare i32 @f1()
 declare i32 @f2()
index be0d68434af2b08e9559502fbcf62b14e7219f8d..58dbec72a76ed079642af16a0054664e0317fc6f 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  -S | grep {ret i32 %v1}
+; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  -S | grep {ret i32 %v1}
 ; There should be no uncond branches left.
-; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  -S | not grep {br label}
+; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  -S | not grep {br label}
 
 declare i32 @f1()
 declare i32 @f2()
index 4d3b4ae68f1489a5a111c4a307a3fa1b9d1763b1..0a6155fa8f4b344a318a12e37ea8854e4648050a 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -jump-threading -simplifycfg -mem2reg -S | grep {ret i32 %v1}
+; RUN: opt %s -jump-threading -simplifycfg -mem2reg -S | grep {ret i32 %v1}
 ; There should be no uncond branches left.
-; RUN: opt %s -jump-threading -simplifycfg -mem2reg -S | not grep {br label}
+; RUN: opt %s -jump-threading -simplifycfg -mem2reg -S | not grep {br label}
 
 declare i32 @f1()
 declare i32 @f2()
index a354056086046cf85b9aae36c68a1f7e28865842..16867b07c2e436cf007ffe9976cf3b7e942f593c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading -S | not grep phi
+; RUN: opt %s -jump-threading -S | not grep phi
 
 declare i8 @mcguffin()
 
index fdbfaffe1d7af0f5e4b533163fb4586b9721c384..8784b3ffedab939a36fafbbe7c43248d57d7ad08 100644 (file)
@@ -1,5 +1,5 @@
 ; There should be no phi nodes left.
-; RUN: opt %s -jump-threading -simplifycfg -mem2reg -S | not grep {phi i32}
+; RUN: opt %s -jump-threading -simplifycfg -mem2reg -S | not grep {phi i32}
 
 declare i32 @f1()
 declare i32 @f2()
index 4681276a6a607aa9a5835efe5884985e921b2e6e..0d14c8a54e1fe4fdac0863e67292cb9b3d444483 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading -die -S | grep icmp | count 1
+; RUN: opt %s -jump-threading -die -S | grep icmp | count 1
 
 declare void @f1()
 declare void @f2()
index 3e283f71541648c5c4e4febc097e9a6f39a09d2f..b4d44187f5e9b66ac650617d84a3207402d4c5b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading -loop-rotate -instcombine -indvars -loop-unroll -simplifycfg -S > %t
+; RUN: opt %s -jump-threading -loop-rotate -instcombine -indvars -loop-unroll -simplifycfg -S > %t
 ; RUN: grep {volatile store} %t | count 3
 ; RUN: not grep {br label} %t
 
index d0ca05fb39fcb2a301c8beb8de2cd4219d46bebc..c8e10cae1a695b2885efd3114c5a4073dda98895 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -jump-threading -mem2reg -simplifycfg -S | grep {ret i32 1}
+; RUN: opt %s -jump-threading -mem2reg -simplifycfg -S | grep {ret i32 1}
 ; rdar://6402033
 
 ; Test that we can thread through the block with the partially redundant load (%2).
index e09af0aa9ff14c0af32a7c3f1cf926e7705c376e..404aecf8613aebaf0bc12498054424e7ee3af39b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -jump-threading -S | not grep {br }
-; RUN: opt %s -jump-threading -S | grep {ret i32} | count 1
+; RUN: opt %s -jump-threading -S | not grep {br }
+; RUN: opt %s -jump-threading -S | grep {ret i32} | count 1
 
 define i32 @test(i1 %cond) {
        br i1 undef, label %T1, label %F1
index 46df60a8ab4d387d16c58e95417091f001a179e2..7545641f1aee62ce198c8419ddb383cc1e9a9e6a 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -lcssa -S | \
+; RUN: opt %s -lcssa -S | \
 ; RUN:   grep {%%SJE.0.0.lcssa = phi .struct.SetJmpMapEntry}
-; RUN: opt %s -lcssa -S | \
+; RUN: opt %s -lcssa -S | \
 ; RUN:   grep {%%SJE.0.0.lcssa1 = phi .struct.SetJmpMapEntry}
 
         %struct.SetJmpMapEntry = type { i8*, i32, %struct.SetJmpMapEntry* }
index 4108d181a35cd3cbbd50d13868874b7847157727..ad4f1447b29285d253792d7ff9c038d0fcf0a7ca 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -lcssa -S | \
+; RUN: opt %s -lcssa -S | \
 ; RUN:    grep {%X.1.lcssa}
-; RUN: opt %s -lcssa -S | \
+; RUN: opt %s -lcssa -S | \
 ; RUN:    not grep {%X.1.lcssa1}
 
 declare i1 @c1()
index 4a94f49904ce34e8b34585be90270858a3442372..b03f09ac20e55348dad0d30c3c46f73149a113ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lcssa
+; RUN: opt %s -lcssa
 
        %struct.SetJmpMapEntry = type { i8*, i32, %struct.SetJmpMapEntry* }
 
index 8629b7a3939d179589d4878fc559ab3197dfef4c..6f583f47ce89230c69af9e9da22dda26472f5a6e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lcssa -disable-output -verify-dom-info
+; RUN: opt %s -lcssa -disable-output -verify-dom-info
 ; PR977
 ; END.
 declare i32 @opost_block()
index 280409c6481febc347991dce76d4825e18408e22..ecb1be5c674ed1550d067289260bff94ef8d7eb8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lcssa -disable-output
+; RUN: opt %s -lcssa -disable-output
 ; PR977
 ; END.
 
index c6c3e34fad8a2b5c29f11210aad19e12ad0025d8..2c5815cef33a49ca7dc86311d01d24992aae4b6e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output
+; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output
 define i32 @main(i32 %argc, i8** %argv) {
 entry:
        br label %bb7
index 1dd97919fed32852324aaab92871a5cc9ad7632b..7e0d3c63b13c88c791097a38f0fa09ef41cb102e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output
+; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output
 
 define i32 @main(i32 %argc, i8** %argv) {
 entry:
index 082050ff467444823cf7b686a0c0110f11bbf6c0..8c07aa2ec3522cb93a8b3d92ebd7ae7c4279dfbd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output
+; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output
 define i32 @main(i32 %argc, i8** %argv) {
 entry:
        br label %bb7
index 087d7da5478442dc1873e376f49beb5fe84b7799..23ab2c0ce056c3a616cc7280de66e97c657f7b36 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -lcssa -S | \
+; RUN: opt %s -lcssa -S | \
 ; RUN:   grep {X3.lcssa = phi i32}
-; RUN: opt %s -lcssa -S | \
+; RUN: opt %s -lcssa -S | \
 ; RUN:   grep {X4 = add i32 3, %X3.lcssa}
 
 define void @lcssa(i1 %S2) {
index 034d94ff380a5dd4db18785daee9d966ac8eacd5..454715089c3b64af64948f757ed545715a301121 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lcssa
+; RUN: opt %s -lcssa
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 
index 90a78cfcb4752683123bae927771f291c447697f..ff20312ec372b00c9b0d3afaa4bf061da8a9006e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -licm -disable-output
+; RUN: opt %s -basicaa -licm -disable-output
 
 ;%MoveArray = external global [64 x ulong]
 
index f2e3bea567589ea253d6bf43aac64baa7efb1d2a..4782bd17f8933e6cdaafe5094567e076bf38ca2a 100644 (file)
@@ -1,6 +1,6 @@
 ; Exit blocks need to be updated for all nested loops...
 
-; RUN: opt %s -loopsimplify
+; RUN: opt %s -loopsimplify
 
 define i32 @yyparse() {
 bb0:
index 63f2cf3304b58f7b552d7b195e0348f350f82ed9..2718cb10537736348dab84f580898a2bef4e9022 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase fails because preheader insertion is not updating exit node 
 ; information for loops.
 
-; RUN: opt %s -licm
+; RUN: opt %s -licm
 
 define i32 @main(i32 %argc, i8** %argv) {
 bb0:
index b2db1695b5c086c3e570061676cc2c3b35f2c6ab..70a04c73b1d3e2d09ccee6f2d8ed202ead361207 100644 (file)
@@ -3,7 +3,7 @@
 ; happens because preheader insertion doesn't insert a preheader for this
 ; case... bad.
 
-; RUN: opt %s -licm -loop-deletion -simplifycfg -S | \
+; RUN: opt %s -licm -loop-deletion -simplifycfg -S | \
 ; RUN:   not grep {br }
 
 define i32 @main(i32 %argc) {
index 4790de7127450b7b23b599c8bb0ee5c62b838bde..a9c6b856f8ea51514ab3da5e6b4c8e6e0f327223 100644 (file)
@@ -1,6 +1,6 @@
 ; LICM is adding stores before phi nodes.  bad.
 
-; RUN: opt %s -licm
+; RUN: opt %s -licm
 
 define i1 @test(i1 %c) {
 ; <label>:0
index c1f27125e93d7dcad9fd937c202ccd09ff81576c..c759e6eff8e7e9d8b5077ec9a1f8670d3ab74e65 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that hoisting is disabled for pointers of different types...
 ;
-; RUN: opt %s -licm
+; RUN: opt %s -licm
 
 define void @test(i32* %P) {
        br label %Loop
index 022da994e80252c8792741aeb7da64ed0e3027c4..71d3e789aa0837a957fc48c5b854dc8000cf4946 100644 (file)
@@ -3,7 +3,7 @@
 ; loaded from.  Basically if the load gets hoisted, the subtract gets turned
 ; into a constant zero.
 ;
-; RUN: opt %s -licm -gvn -instcombine -S | grep load
+; RUN: opt %s -licm -gvn -instcombine -S | grep load
 
 @X = global i32 7              ; <i32*> [#uses=2]
 
index 3e50ca08215b66e3a39329d50b54f03d5d57b470..67c3951d74e4a125153b337d44b8e9b92c8b7c4b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm | lli
+; RUN: opt %s -licm | lli
 
 define i32 @main() {
 entry:
index 0db41ece2d15b7c19304dfb128913ed7ec06a350..16f4fed34ec37f5a2a78aee7f56289885af86551 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalsmodref-aa -licm -disable-output
+; RUN: opt %s -globalsmodref-aa -licm -disable-output
 
 @PL_regcomp_parse = internal global i8* null           ; <i8**> [#uses=2]
 
index 84b5933a0d9815b5085ccc9e98e499916f29fd29..a119865f05199f182a00e711cf5c867b280a8b19 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -disable-output
+; RUN: opt %s -licm -disable-output
        %struct.roadlet = type { i8*, %struct.vehicle*, [8 x %struct.roadlet*], [8 x %struct.roadlet* (%struct.roadlet*, %struct.vehicle*, i32)*] }
        %struct.vehicle = type { %struct.roadlet*, i8*, i32, i32, %union.._631., i32 }
        %union.._631. = type { i32 }
index 724c1fa71bf0e73758ee042520dc6a700db6294a..91740cf0eb71720c3aea0a7348dd3a4d678794cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -disable-output
+; RUN: opt %s -licm -disable-output
 
 define void @test({ i32 }* %P) {
        br label %Loop
index 10cdb6d103a66623613e34081b94967944ec133b..9763660ffb0bee4daa9406d496a87c74ed4b5f67 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -disable-output
+; RUN: opt %s -licm -disable-output
 ; PR908
 ; END.
 
index 72e509797a95d4f39edddaad00b26909dcc7277b..c12e13beccf59eb0a7fb7b6fd356b29dbca0eeb3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -S | grep {volatile store}
+; RUN: opt %s -licm -S | grep {volatile store}
 ; PR1435
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-apple-darwin8"
index 64919eafc1fb60b1c639773d4ab65761af896f20..8ecd1bcee48663c7ffc14e89d0ddb2d8c23f234b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -loop-unswitch -disable-output
+; RUN: opt %s -licm -loop-unswitch -disable-output
        %struct.III_scalefac_t = type { [22 x i32], [13 x [3 x i32]] }
        %struct.gr_info = type { i32, i32, i32, i32, i32, i32, i32, i32, [3 x i32], [3 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32*, [4 x i32] }
 
index c8d321b61634a04415398deae738356e4f59b0a2..31abd8c180a5026842610f849ab89faa4cb5773a 100644 (file)
@@ -2,7 +2,7 @@
 ; Do not promote getelementptr because it may exposes load from a null pointer 
 ; and store from a null pointer  which are covered by 
 ; icmp eq %struct.decision* null, null condition.
-; RUN: opt %s -licm -S | not grep promoted
+; RUN: opt %s -licm -S | not grep promoted
        %struct.decision = type { i8, %struct.decision* }
 
 define i32 @main() {
index 4b428acaf2964bf043219e54ff0e8470afaa084d..916f479cba1496c405b1448dd02340c11d931cd4 100644 (file)
@@ -1,5 +1,5 @@
 ; Do not promote null value because it may be unsafe to do so.
-; RUN: opt %s -licm -S | not grep promoted
+; RUN: opt %s -licm -S | not grep promoted
 
 define i32 @f(i32 %foo, i32 %bar, i32 %com) {
 entry:
index 796830f5fb2c057aa82b4eec019c31ad3662b06b..59f1dcbe2d7b12198ed7995a2ee75382e8f15195 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -S | grep promoted
+; RUN: opt %s -licm -S | grep promoted
 ; Promote value if at least one use is safe
 
 
index 56202b655ebb9e0d4c5c7ab74a76759aa539c7e0..a5a7bf85f10d4b27b5591d05b3f26562fa949d6b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -disable-output
+; RUN: opt %s -licm -disable-output
 ; PR2346
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-pc-linux-gnu"
index d40ae940470fe6938267bb7616a835269d1c3194..78103093843863bcec6589852699d1d8d4267a50 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -enable-licm-constant-variables -S | grep -A 1 entry | grep load.*@a
+; RUN: opt %s -licm -enable-licm-constant-variables -S | grep -A 1 entry | grep load.*@a
 @a = external constant float*
 
 define void @test(i32 %count) {
index 0ccd167c9b7728927c77ff9890f465332620bd4a..d1fe48c2357ae64bc972d249766cabe65628b769 100644 (file)
@@ -1,5 +1,5 @@
 
-; RUN: opt %s -licm -loop-index-split -instcombine -disable-output
+; RUN: opt %s -licm -loop-index-split -instcombine -disable-output
 
        %struct.FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct.FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
        %struct._IO_marker = type { %struct._IO_marker*, %struct.FILE*, i32 }
index 000ead10aa0240d48f5e02f891675c780c3cd481..24c4ad1da42de1d84c57c9d2be0ec92b86d29e9c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output
+; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output
 
 define i32 @stringSearch_Clib(i32 %count) {
 entry:
index b4442d1c243fa1f257f6051b9eafd0151f5b95a6..1dbb4dc6b4993350ae2f4bf093da0b7b4f5f3867 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm | llvm-dis
+; RUN: opt %s -licm | llvm-dis
 
 define void @testfunc(i32 %i) {
 ; <label>:0
index 677bd88d7d85a0d7928b00696206284d5abf37ee..e7d36afb91b15667785bfed609b1dbf23e6ed68a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -S | FileCheck %s
+; RUN: opt %s -licm -S | FileCheck %s
 
 @X = global i32 0              ; <i32*> [#uses=1]
 
index 969a83c80c1a6b3c40a79546ce9f52b39144f0fd..bd3eea38ef3ebec0525b93f4c233526186856120 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that LICM works when there is not a loop-preheader
-; RUN: opt %s -licm | llvm-dis
+; RUN: opt %s -licm | llvm-dis
 
 define void @testfunc(i32 %i.s, i1 %ifcond) {
        br i1 %ifcond, label %Then, label %Else
index 9b28f1099f26392e3494f4c91db9cb2a11a7ec7e..ef28c38ca6071b88aa5e9dffe704cf7f3466117c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s  -licm -S | FileCheck %s
+; RUN: opt %s  -licm -S | FileCheck %s
 @X = global i32 7              ; <i32*> [#uses=4]
 
 define void @test1(i32 %i) {
index e6baed23d948333c8163be979051164f5c4f7f61..11112eb74443fe40cf8ccd3c134159f695472754 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -basicaa -licm -S | FileCheck %s
+; RUN: opt %s -basicaa -licm -S | FileCheck %s
 
 declare i32 @strlen(i8*) readonly
 
index dbd2b9b0196a019f107babd458b36da633ab9721..bcc73fdfab83b89915f2dbcc3c702d58f18b1aed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-deletion -S | grep switch
+; RUN: opt %s -loop-deletion -S | grep switch
 ; PR 1564
   
 define fastcc void @out() {
index 820a8a89281279f7351f21dd6a1c40ea6e4dedb9..4fc6378ee254ae20698f5bd8f2c67e09108e81e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -tailduplicate -instcombine -jump-threading -licm -loop-unswitch -instcombine -indvars -loop-deletion -gvn -simplifycfg -verify -disable-output
+; RUN: opt %s -inline -tailduplicate -instcombine -jump-threading -licm -loop-unswitch -instcombine -indvars -loop-deletion -gvn -simplifycfg -verify -disable-output
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9"
index 1c7252fd68fad957b9117c6b610eec60f18db019..d922ecbd4f5fe3fbcef92d223976d143bbe672ef 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1692
-; RUN: opt %s -loop-index-split -disable-output 
+; RUN: opt %s -loop-index-split -disable-output 
        %struct.CLAUSE_HELP = type { i32, i32, i32, i32, i32*, i32, %struct.LIST_NODE*, %struct.LIST_NODE*, i32, i32, %struct.LITERAL_HELP**, i32, i32, i32, i32 }
        %struct.LIST_NODE = type { %struct.LIST_NODE*, i8* }
        %struct.LITERAL_HELP = type { i32, i32, i32, %struct.CLAUSE_HELP*, %struct.term* }
index 47f4fe3160cf4b82591ac7c024db83f5b941489e..3ebd9b3401f55177d0574508dfea32d8fdd41319 100644 (file)
@@ -1,6 +1,6 @@
 
 ; Update loop iteraton space to eliminate condition inside loop.
-; RUN: opt %s -loop-index-split -S | not grep bothcond
+; RUN: opt %s -loop-index-split -S | not grep bothcond
 define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) {
 entry:
        %tmp519 = icmp sgt i32 %xmin, %xmax             ; <i1> [#uses=1]
index c7b11caf05ed4bdf59c9ca8bea52998799958d22..8f4ee24c12331e376c1757a42bfb93a160f6c9e6 100644 (file)
@@ -1,6 +1,6 @@
 ; PR714
 ; Update loop iteraton space to eliminate condition inside loop.
-; RUN: opt %s -loop-index-split -S | not grep bothcond
+; RUN: opt %s -loop-index-split -S | not grep bothcond
 
 define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) {
 entry:
index 0152c7f989d0a54c25fdeadf6b404b9a96f4a1cb..1550bc7abb5daa26626fa1ab7ebbda594f8ce5d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt %s -loop-index-split -disable-output -stats |& \
 ; RUN: not grep "loop-index-split" 
 
 ; Induction variable decrement is not yet handled.
index dddb9fbd415f4fe7bcb617b518904e66c4f35f78..084746494357e8a343e1ab543a8e99cf7ef94a6d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
 ; PR 1995
 
 define void @add_blkdev_randomness(i32 %major) nounwind  {
index ab2ed8488e7748c08032a45348804207b068b1ba..980a42f20aa91bffd384b7882c2808a1fccb7a65 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -loop-index-split
+; RUN: opt %s -disable-output -loop-index-split
 ; PR 2011
        %struct.CLAUSE_HELP = type { i32, i32, i32, i32, i32*, i32, %struct.LIST_NODE*, %struct.LIST_NODE*, i32, i32, %struct.LITERAL_HELP**, i32, i32, i32, i32 }
        %struct.LIST_NODE = type { %struct.LIST_NODE*, i8* }
index bf8baa72d688da3f07d5a6adedac58e2e9b38018..9351cafcf646fbb1145063f3fd2e19ed59095357 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
 ; PR 2011
        %struct.CLAUSE_HELP = type { i32, i32, i32, i32, i32*, i32, %struct.LIST_NODE*, %struct.LIST_NODE*, i32, i32, %struct.LITERAL_HELP**, i32, i32, i32, i32 }
        %struct.LIST_NODE = type { %struct.LIST_NODE*, i8* }
index 72b25f920368472b120ab94de1ce9548b2a0b631..6d6defa85de0a1af765793350dc1f9c926dcb456 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
 ; PR 2011
        %struct.CLAUSE_HELP = type { i32, i32, i32, i32, i32*, i32, %struct.LIST_NODE*, %struct.LIST_NODE*, i32, i32, %struct.LITERAL_HELP**, i32, i32, i32, i32 }
        %struct.LIST_NODE = type { %struct.LIST_NODE*, i8* }
index 7bab623861d9ab2bc04a28823e3eff9e8267d253..f1a03e2f18a96bdb09ee3ca56554b046ff7c7b5b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
 ; PR 2030
        %struct.FULL = type { i32, i32, [1000 x float*] }
 
index d862f9c1f1b86460133691c27c4c3b90135cd853..ca22e50eadfcfaa0f4eac0936160c1ffa2474e65 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
 ; Handle Exit block phis that do not have any use inside the loop.
 
        %struct.ATOM = type { double, double, double, double, double, double, i32, double, double, double, double, i8*, i8, [9 x i8], double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, [200 x i8*], [32 x i8*], [32 x i8], i32 }
index bab3a130c7647038d626b4c4b6f4bf7ad5c9d1d0..7447e6d4d4f02cd4884ea0d0dae38ab8507da0ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats -disable-output | not grep "loop-index-split"
+; RUN: opt %s -loop-index-split -stats -disable-output | not grep "loop-index-split"
 ;PR2294
 @g_2 = external global i16             ; <i16*> [#uses=4]
 @g_5 = external global i32             ; <i32*> [#uses=1]
index c35b66de957e47ada2c66de06b37ba4295097de6..6f691de537b131b9367a2ab4b2deada5e906618c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -loop-unswitch -loop-index-split -instcombine -disable-output
+; RUN: opt %s -loop-rotate -loop-unswitch -loop-index-split -instcombine -disable-output
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9"
        %struct.__CFData = type opaque
index 061e444596873574d95ac30170f55010e21021e9..1fcd960e0511ff92f428901ef4a04894c5fb6a66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats -disable-output | not grep "1 loop-index-split"
+; RUN: opt %s -loop-index-split -stats -disable-output | not grep "1 loop-index-split"
 ; PR 2487
 @g_6 = external global i32             ; <i32*> [#uses=1]
 
index 1757391759aac96bda0bd64281737476b69fe96c..ee8e7a3eb8635a5c8573a0cc7173b6ba54146490 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats -disable-output | not grep "loop-index-split"
+; RUN: opt %s -loop-index-split -stats -disable-output | not grep "loop-index-split"
 ; PR 2791
 @g_40 = common global i32 0            ; <i32*> [#uses=1]
 @g_192 = common global i32 0           ; <i32*> [#uses=2]
index 43acc7f01b144fb1cf1e330360c5edfeae35f7ac..ef677369cc4793c97a8b87309a7d4e242ef7f63a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
 ; PR 2805
 @g_330 = common global i32 0           ; <i32*> [#uses=1]
 
index 165821817887f7e480d8ad36184002e42a012635..cca54adb19556820f9954ab5bba34add1389ad1f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
        %struct.RExC_state_t = type { i32, i8*, %struct.regexp*, i8*, i8*, i8*, i32, %struct.regnode*, %struct.regnode*, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
        %struct.SV = type { i8*, i32, i32 }
        %struct.reg_data = type { i32, i8*, [1 x i8*] }
index c55ac24330cc5909afa085ca9aab78420549beaa..372fee51a09b93cc6cc5e484f5af3aac8bfb6d14 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats -disable-output |& grep "1 loop-index-split" 
+; RUN: opt %s -loop-index-split -stats -disable-output |& grep "1 loop-index-split" 
 ; PR 2869
 
 @w = external global [2 x [2 x i32]]           ; <[2 x [2 x i32]]*> [#uses=5]
index 70960c3625d91c75d1442b351a9c838254d21874..217ff52bb2c54847a2d22098a2cd6c018d6fcd49 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats | not grep "loop-index-split"
+; RUN: opt %s -loop-index-split -stats | not grep "loop-index-split"
 ; PR3029
 
 @g_138 = common global i32 0           ; <i32*> [#uses=3]
index d5b8f2c9f1914665a3c77f7da392719c99c8fdf3..9acf3915c0a29919b9589e3b350347b88a8d6c96 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
        %struct.CGPoint = type { double, double }
        %struct.IBCFMutableDictionary = type { %struct.NSMutableArray, %struct.__CFDictionary*, %struct.NSSortDescriptor*, %struct.NSSortDescriptor* }
        %struct.IBInspectorMode = type opaque
index 26b4870e846999dbe9a41a11fb9f17bd5d264ee5..ad2b794218cc189cc7bb9fc09f03660788eaa827 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output 
+; RUN: opt %s -loop-index-split -disable-output 
 
         %struct._edit_script = type { %struct._edit_script*, i32, i8 }
 
index 9bca6e7057479d0bec2b6322f794fe02f2164149..187484ad0bd0dcaff242d71970ad8fbcf89e04a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output 
+; RUN: opt %s -loop-index-split -disable-output 
 ; PR1828.bc
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i686-pc-linux-gnu"
index f746981a92794354393b74760cb26f56e03ad393..098e407a33002d8c5a1ae096b5bd096e1b80ec9e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output 
+; RUN: opt %s -loop-index-split -disable-output 
 
         %struct._edit_script = type { %struct._edit_script*, i32, i8 }
 
index 8e3254c0075fe60314beede3fbfee3341bc08c1d..a04715a7e952fe242ff1e6fcdd02583bd72c1f20 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output 
+; RUN: opt %s -loop-index-split -disable-output 
 
 @k = external global i32               ; <i32*> [#uses=2]
 
index fc4047d9fcc0e086d48597161e005d7857892bd5..d18b3b71aeda09f33b8991ca18709ad8bed9ff63 100644 (file)
@@ -1,5 +1,5 @@
 ; Loop is elimianted
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt %s -loop-index-split -disable-output -stats |& \
 ; RUN: grep "loop-index-split" | count 1
        %struct.anon = type { i32 }
 @S1 = external global i32              ; <i32*> [#uses=1]
index 92e1a3f6df405d08a79ce68aecfe331d6d7a9176..ff73a5b44b3ebcc00f491af1cf18999eadbfaa14 100644 (file)
@@ -1,5 +1,5 @@
 ; Loop is elimianted. Save last value assignment.
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt %s -loop-index-split -disable-output -stats |& \
 ; RUN: grep "loop-index-split" | count 1
 
        %struct.anon = type { i32 }
index b2bf19e4b1adb02d53f172a7562122dc02df464d..6adb26877680bb20746f4ff8099a6d15c62509a1 100644 (file)
@@ -1,5 +1,5 @@
 ; Loop is elimianted. Save last value assignments, including induction variable.
-; RUN: opt %s -loop-index-split -disable-output -stats | not grep "loop-index-split"
+; RUN: opt %s -loop-index-split -disable-output -stats | not grep "loop-index-split"
 
 declare i32 @foo(i32)
 declare i32 @bar(i32, i32)
index d3a93205e55f597e3f5d8afc81d71ab3dc4feec0..a2bf57c05162dc4401b2af7161742e2c4235dbba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -S | not grep "icmp ne"
+; RUN: opt %s -loop-index-split -S | not grep "icmp ne"
 
 define i32 @main() {
 entry:
index 2271d3d297367eeb4b64196375070953bb5b0744..fc7d9e9862cb15a087d4e5c6bfb079c5d01bde34 100644 (file)
@@ -1,5 +1,5 @@
 ; Split loop. Save last value.
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt %s -loop-index-split -disable-output -stats |& \
 ; RUN: grep "loop-index-split" | count 1
 
 @k = external global i32               ; <i32*> [#uses=2]
index c163522a10bbc146d80b05a5f353618a1d75c5a2..09a6423bc0c3042d701a673e57e2333cc75a56ea 100644 (file)
@@ -1,5 +1,5 @@
 ; Split loop. Save last value. Split value is off by one in this example.
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt %s -loop-index-split -disable-output -stats |& \
 ; RUN: grep "loop-index-split" | count 1
 
         %llvm.dbg.anchor.type = type { i32, i32 }
index 1ba2e0e65311c2cb9944d6ed8dc8d8a8c9b0cef6..f61d9671409fa243916744e9621c644bbba6a9ca 100644 (file)
@@ -1,5 +1,5 @@
 ; Split loop. Save last value. Split value is off by one in this example.
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt %s -loop-index-split -disable-output -stats |& \
 ; RUN: grep "loop-index-split" | count 1
 
 @k = external global i32               ; <i32*> [#uses=2]
index 6047cbcdcb82c412df28f796ea0f1a75eebafde1..17f75d7509e700dded1d9547c9ceb402f9e0639d 100644 (file)
@@ -1,6 +1,6 @@
 ; Split loop. Split value is a constant and greater then exit value. 
 ; Check whether optimizer inserts proper checkfor split value or not.
-; RUN: opt %s -loop-index-split -S | grep select
+; RUN: opt %s -loop-index-split -S | grep select
 
 @k = external global i32               ; <i32*> [#uses=2]
 
index cf970848143e6566ac7c89bf3770f79140992951..6eed98177d092630e769b0064982a00fd141eacb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -reassociate -loop-rotate -loop-index-split -indvars -simplifycfg -verify
+; RUN: opt %s -inline -reassociate -loop-rotate -loop-index-split -indvars -simplifycfg -verify
 ; PR4471
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index 0a634fa4cd36dac63971ee0b4872a7b77174a620..3e170dce71546d626e8b81ace3d13866fbd42b8a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate | llvm-dis
+; RUN: opt %s -loop-rotate | llvm-dis
 ; PR3408
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index 50bdf1c9b11c882a81ec92bc0dde2381e40e2bec..7d148e79c9d2cbb7d43798df577d414c7e3f0cf2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 
        %struct.relation = type { [4 x i16], i32, [4 x i16], i32, i32 }
 
index d1d1d7e7dfa8e4918a4d8c0b7b2b715014f6c3e0..e117c11b6296a4333ccdf53ec9c9f667e872817f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 
 define void @findAllPairs() {
 entry:
index d1f49a9829307f83f4efacbcace892ccf1948214..617dd8e42dd03fac95d7cbc8b9be601e88b46a2d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 
 define void @_ZN9Classfile4readEv() {
 entry:
index 60b48fec31474a8fc40294f22cf4a87c3ace135f..b2f32244505abff46d6457d343fc0ceb22f344ab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 
 define void @InterpretSEIMessage(i8* %msg) {
 entry:
index 71a296185a90ef972cfc91437a1a339bae5f8eff..7b6085d266baea948089cc561a5afbe804ecfe4b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-apple-darwin9"
        %struct.NSArray = type { %struct.NSObject }
index 94d96d94d59b9d92629c03feebf77c31d702babf..fe7eaf9a83c8fac183383e0ee57866ddb2a55bd9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -S | not grep {\\\[ .tmp224} 
+; RUN: opt %s -loop-rotate -S | not grep {\\\[ .tmp224} 
 ; END.
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 
index 2427b7633dd3f0f6cb037494b97e74a52148dfa7..b0d31bd911e5b68d705962bac6164cf9224f6868 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 ; ModuleID = 'PhiSelfRefernce-1.bc'
 
 define void @snrm2(i32 %incx) {
index e746672f2cb2a7cd72f387f2e9df96ee4a8edad9..96f87d56032d0fda39292a30bbcb160becb1712c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-deletion -loop-rotate -disable-output
+; RUN: opt %s -loop-deletion -loop-rotate -disable-output
 ; PR 2639
 
        %struct.HexxagonMove = type { i8, i8, i32 }
index 1305e3a4ebdaf962d8fe795990663461ee16b4b3..bf862f69e94bcef48ee68daeac8d945bd6d29e7a 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase exposed a problem with the loop identification pass (LoopInfo).
 ; Basically, it was incorrectly calculating the loop nesting information.
 ;
-; RUN: opt %s -loopsimplify
+; RUN: opt %s -loopsimplify
 
 define i32 @yylex() {
        br label %loopentry.0
index f32366814c40a7148fff882fa6b8d2ff785df8e7..cd9749bbf6d0f7174fb9c9eec87f2bad4997b878 100644 (file)
@@ -2,7 +2,7 @@
 ; inserted for the "fail" loop, but the exit block of a loop is not updated
 ; to be the preheader instead of the exit loop itself.
 
-; RUN: opt %s -loopsimplify
+; RUN: opt %s -loopsimplify
 define i32 @re_match_2() {
        br label %loopentry.1
 loopentry.1:           ; preds = %endif.82, %0
index 60b55f7fd493ff887b231c32071e402d65da8c54..11be6941d8b826ec3182025a7ecdec531b41d521 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -instcombine -simplifycfg -licm -disable-output
+; RUN: opt %s -tailduplicate -instcombine -simplifycfg -licm -disable-output
 target datalayout = "e-p:32:32"
 @yy_base = external global [787 x i16]         ; <[787 x i16]*> [#uses=1]
 @yy_state_ptr = external global i32*           ; <i32**> [#uses=3]
index 0318ccc7d62bba7dc2f4a960ae0a6030babcda3b..fb39f05c6dbb501891680cbf3bdee35dca35c4c9 100644 (file)
@@ -4,7 +4,7 @@
 ;
 ; This is distilled from a monsterous crafty example.
 
-; RUN: opt %s -licm -disable-output
+; RUN: opt %s -licm -disable-output
 
 
 @G = weak global i32 0         ; <i32*> [#uses=7]
index 1e44cbb1d0a033c7aa3885ee542a22fc5c424dcd..a5d0ba7ad76a81500f120d30a43ffc10a46a1423 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify -verify -licm -disable-output
+; RUN: opt %s -loopsimplify -verify -licm -disable-output
 
 define void @.subst_48() {
 entry:
index e8d3eeb4b87156a2253c429af746be6e3e127f78..dc5c313546410425106a9688d80fd7ca28741d74 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify -licm -disable-output
+; RUN: opt %s -loopsimplify -licm -disable-output
 define void @main() {
 entry:
        br i1 false, label %Out, label %loop
index 903937bc9b0a132b440c32f3bc9f2abd4c0c74d5..721f9b3a0340518289072c551e3470f12c1aca91 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify -licm -disable-output
+; RUN: opt %s -loopsimplify -licm -disable-output
 
 ; This is PR306
 
index f8153fd5721a1ac25c8a82a29b48e5cf946777d2..cbdfe8bbc0ae25bb99a6491d2df3ada1c8dd72a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify -disable-output
+; RUN: opt %s -loopsimplify -disable-output
 
 define void @test() {
 loopentry.0:
index d27c9925b406ce22214bb232bb91bea4ed8cc5cf..f4ecbea3ab075739628a765b535391b6b929a8b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -loopsimplify -licm -disable-output -verify-dom-info
+; RUN: opt %s -scalarrepl -loopsimplify -licm -disable-output -verify-dom-info
 
 define void @inflate() {
 entry:
index 0322ac1a8a7d2ff05728e14bee4174547d83aecb..10202dcf98ce3f6f37a9823460d13ca61fced3bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify -disable-output
+; RUN: opt %s -loopsimplify -disable-output
 ; PR1752
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-s0:0:64-f80:32:32"
 target triple = "i686-pc-mingw32"
index a6f03d69b675f3bac5c028e3dad0f7118c627906..4241d8ad08957e4a79de525cc9649b554be16946 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify
+; RUN: opt %s -loopsimplify
 
 ; This function should get a preheader inserted before BB3, that is jumped
 ; to by BB1 & BB2
index 9fe3a5f6516b0e40e6bd5ad18cb391ecb7a6ed14..e0a7f81603b08ff1e1727cf9daecf9d620030e60 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify
+; RUN: opt %s -loopsimplify
 
 define void @foo(i1 %C) {
        br i1 %C, label %T, label %F
index 1d6562a79cc7e90f3101360be40a5bf39af9ef52..45f506a498c9fbf3f10f3416873828fa5ee234a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify -loop-rotate -instcombine -indvars -S > %t
+; RUN: opt %s -loopsimplify -loop-rotate -instcombine -indvars -S > %t
 ; RUN: not grep sext %t
 ; RUN: grep {phi i64} %t | count 1
 
index a965fb4e9ebe4b18b6fa32a6f6a374476cb0a712..f9567f124291ebeea035427ec6f3997571bc6623 100644 (file)
@@ -2,7 +2,7 @@
 ; for all loops.  This allows the -indvars pass to recognize the %IV 
 ; induction variable in this testcase.
 
-; RUN: opt %s -indvars -S | grep indvar
+; RUN: opt %s -indvars -S | grep indvar
 
 define i32 @test(i1 %C) {
 ; <label>:0
index c2045ce9e5928741d6c49789383675084da69424..1f08a4367bde7ab104351b9d440bfaee6b23cdbe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 define void @try_swap() {
 entry:
index ab80f38f27df8d3f72bfe9ee918044984eda2a6a..f1c523ae6c60811783b05c761436310759c611f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 define i32 @image_to_texture(i32 %indvar454) {
 loopentry.1.outer:
index 3f0d78bcb88ae5959feabca2c18609e9afa819d0..f56a55379c848a10a71fdeb25f775388f923993b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 define void @main() {
 entry:
index 3c28a539e45dfd1efd57c7433b0769c16d4d6f7b..8c2cfaf32107ed23b9323e20dbb765baf6be0d83 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 
index 949e73e94640c8e04454bbcaf7acd82ac2dcb1ec..7c7a21c013f269e17e3b8d96f96f2f74a21fce87 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | grep ugt
+; RUN: opt %s -loop-reduce -S | grep ugt
 ; PR2535
 
 @.str = internal constant [4 x i8] c"%d\0A\00"
index 7df857319bacdef052ed2502d1967f3581280229..90477d1069744ba068e11a531d4ec97d4cea2b79 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | grep add | count 2
+; RUN: opt %s -loop-reduce -S | grep add | count 2
 ; PR 2662
 @g_3 = common global i16 0             ; <i16*> [#uses=2]
 @"\01LC" = internal constant [4 x i8] c"%d\0A\00"              ; <[4 x i8]*> [#uses=1]
index c15529f3a8ba634d57c4d15630e685d748d4469a..c650d8cf76d8de2d3cc40f7ee1646fc9c75d6b64 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | grep "phi double" | count 1
+; RUN: opt %s -loop-reduce -S | grep "phi double" | count 1
 
 define void @foobar(i32 %n) nounwind {
 entry:
index 70cba5c7519923d1c3747b0041f46820d0da7524..1ee6b5cdf18ea25ffb8f035500486b1b80055893 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | grep phi | count 2
+; RUN: opt %s -loop-reduce -S | grep phi | count 2
 ; PR 2779
 @g_19 = common global i32 0            ; <i32*> [#uses=3]
 @"\01LC" = internal constant [4 x i8] c"%d\0A\00"              ; <[4 x i8]*> [#uses=1]
index 64314eacf78972beb9b3b379a7ceb8996a9a3087..b2cf818dc45d3e97011221ecf3b5132085f2016e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -loop-reduce -S | grep phi | count 1
-; RUN: opt %s -loop-reduce -S | grep mul | count 1
+; RUN: opt %s -loop-reduce -S | grep phi | count 1
+; RUN: opt %s -loop-reduce -S | grep mul | count 1
 ; ModuleID = '<stdin>'
 ; Make sure examining a fuller expression outside the loop doesn't cause us to create a second
 ; IV of stride %3.
index 93900802a1966cf574acf93170f65d531fa82bb4..3a7496ed6c7f0fa98c524ca25141be929f692070 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S \
+; RUN: opt %s -loop-reduce -S \
 ; RUN:   | grep {getelementptr.*%lsr.iv.*%lsr.iv.*<i32\\*>}
 ; The multiply in bb2 must not be reduced to an add, as the sext causes the
 ; %1 argument to become negative after a while.
index 0dfd082ec7e96b551008a944173e325664f669fd..8cdd264591c88593c395cbc3b20a39a7b11882a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 ; Test to make sure that loop-reduce never crashes on IV's 
 ; with different types but identical strides.
 
index 126fbaefea3b57c4ce99d7cf3af1e7abb9ee1ade..4136486fef45189fa008d70e25a8c3a4352bad45 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | \
+; RUN: opt %s -loop-reduce -S | \
 ; RUN:   not grep {bitcast i32 1 to i32}
 ; END.
 ; The setlt wants to use a value that is incremented one more than the dominant
index d8702031b153dfcc6fbc7c3d53e87c5ccdaa7b17..90051e3542c221072687945081820a19123c500f 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that this test makes INDVAR and related stuff dead.
-; RUN: opt %s -loop-reduce -S | grep phi | count 2
+; RUN: opt %s -loop-reduce -S | grep phi | count 2
 
 declare i1 @pred()
 
index 14e16fdcdf7577e55bff266fe47bbc1db78c4f82..20300002eb39933ed26f0faa3fe63eaf0af43d8a 100644 (file)
@@ -1,7 +1,7 @@
 ; Don't reduce the byte access to P[i], at least not on targets that 
 ; support an efficient 'mem[r1+r2]' addressing mode.
 
-; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 
 declare i1 @pred(i32)
index 71d417d1309e6991dc1d8c59a349103b73027b1d..214f15a7746098ffd8a2dde39837d72bcc929bf7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S \
+; RUN: opt %s -loop-reduce -S \
 ; RUN:    | grep {icmp eq i2 %lsr.iv.next, %xmp4344}
 
 ; Don't reverse the iteration if the rhs of the compare is defined
index bdb8d360306c04aab97c3d9e07abb3ae8f7aa64b..f86638b0a829030b633e3f4f0df62aff07ece324 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: opt %s -loop-reduce -S | \
+; RUN: opt %s -loop-reduce -S | \
 ; RUN:   not grep {getelementptr.*%outer.*%INDVAR}
 
 declare i1 @pred()
index fbbaad4ca98a4e85166ebcb1fdc12561c2522e81..37acf0f61dbab502d2cdcd9208542910bf7bb5a2 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: opt %s -loop-reduce -S | \
+; RUN: opt %s -loop-reduce -S | \
 ; RUN:   not grep {getelementptr.*%outer.*%INDVAR}
 
 declare i1 @pred()
index 89ea0d0c7a70fde5622a3b81c4280e45863d80a3..58b8d3eecd030fba4a8a930bb6955533c87a0354 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | not grep mul
+; RUN: opt %s -loop-reduce -S | not grep mul
 
 ; Make sure we don't get a multiply by 6 in this loop.
 
index 51f8bdcbec5260da94d5c7114147de07bf5352bd..a032cc97355af4f4b1e4605a84d4d25076a308fd 100644 (file)
@@ -1,7 +1,7 @@
 ; Check that this test makes INDVAR and related stuff dead, because P[indvar]
 ; gets reduced, making INDVAR dead.
 
-; RUN: opt %s -loop-reduce -S | not grep INDVAR
+; RUN: opt %s -loop-reduce -S | not grep INDVAR
 
 declare i1 @pred()
 
index 4d7d1afc8d2a0b04def6f083d13acee3cb053ebe..7ef494debdda58e916b782f47f087b6c46da7701 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 ; LSR should not crash on this.
 
 define fastcc void @loadloop() {
index a19cb434905a93bb7adf8c47a8ef73b684627332..73c3152d30e7505e8d927859952591c4c1c5a03b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 ; PR 2537
 
 define void @a() {
index eb825d17dddffe66bf042176b6adce7d932a4dc5..aafd24ebba1eb7ae0f3a62c29a97823620eb5aae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | grep {phi\\>} | count 10
+; RUN: opt %s -loop-reduce -S | grep {phi\\>} | count 10
 ; PR2570
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index 4ab1cb9c80a5fd60f5a71b0c08f604d08b52891f..9a5911f1df492daffac705c19dd521c6b76a0200 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -loop-reduce -disable-output
-; RUN: opt %s -analyze -scalar-evolution -disable-output
+; RUN: opt %s -loop-reduce -disable-output
+; RUN: opt %s -analyze -scalar-evolution -disable-output
 ; PR 3086
 
        %struct.Cls = type { i32, i8, [2 x %struct.Cls*], [2 x %struct.Lit*] }
index fde0526e591ba8bec9a189e2719617c821ac1065..b809007fea8f934756b250d2fe712c3c95b65c2a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce | llvm-dis
+; RUN: opt %s -loop-reduce | llvm-dis
 ; PR3399
 
 @g_53 = external global i32            ; <i32*> [#uses=1]
index 1566ec4116e30f346a1b235acedb88e911da2fd2..9ad27d5ff11464d8927bf7b7aa10e150ad469bc8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce | llvm-dis
+; RUN: opt %s -loop-reduce | llvm-dis
 ; PR3571
 
 target triple = "i386-mingw32"
index 59068596d3fa241d60a4540bc612a0c1a0901885..2302dba913f263e087ec158bb991a01479495ff2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -analyze -iv-users -disable-output | grep {Stride i64 {3,+,2}<loop>:}
+; RUN: opt %s -analyze -iv-users -disable-output | grep {Stride i64 {3,+,2}<loop>:}
 
 ; The value of %r is dependent on a polynomial iteration expression.
 
index 4386aeb4010a45b871156fd0ca7bb7f009180bff..24943788076963aafb764f31d31c337fae802bb8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | grep phi | count 1
+; RUN: opt %s -loop-reduce -S | grep phi | count 1
 
 ; This should only result in one PHI node!
 
index 57e11595faab8949dde8559e4faf20d4d619d9ed..53f4b9d5b9fff2a5c0e2e87a28b768d06fc63f52 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that this test makes INDVAR and related stuff dead.
-; RUN: opt %s -loop-reduce -S | not grep INDVAR
+; RUN: opt %s -loop-reduce -S | not grep INDVAR
 
 declare i1 @pred()
 
index ff6a0d9d8e2a46e0d9a91ecc997a44803d1d3969..412a716bc4312826bc6d3475e0d2e9c2a253fceb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | grep mul | count 1
+; RUN: opt %s -loop-reduce -S | grep mul | count 1
 ; LSR should not make two copies of the Q*L expression in the preheader!
 
 define i8 @test(i8* %A, i8* %B, i32 %L, i32 %Q, i32 %N.s) {
index 1e6a95187b1da47a95ed5fb661a195a6794b393c..0459bc849bfb303967a60f43dd0618f99ac83c5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | grep phi | count 1
+; RUN: opt %s -loop-reduce -S | grep phi | count 1
 
 ; This testcase should have ONE stride 18 indvar, the other use should have a
 ; loop invariant value (B) added to it inside of the loop, instead of having
index 23f6b61d17f3965a45fb2f60e9e26dbb55a8fdad..a99a823a3b76a41a25a8c34b8703b35a08d9790e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce -S | \
+; RUN: opt %s -loop-reduce -S | \
 ; RUN:   grep {add i32 %lsr.iv.next, 1}
 ;
 ; Make sure that the use of the IV outside of the loop (the store) uses the 
index fd88c3ae2039381929153226272852a9a94e1da1..0a9fab0d5ea8d6564f31883b6084768e7efbc609 100644 (file)
@@ -1,9 +1,9 @@
 ; Base should not be i*3, it should be i*2.
-; RUN: opt %s -loop-reduce -S | \
+; RUN: opt %s -loop-reduce -S | \
 ; RUN:   not grep {mul.*%i, 3}
 
 ; Indvar should not start at zero:
-; RUN: opt %s -loop-reduce -S | \
+; RUN: opt %s -loop-reduce -S | \
 ; RUN:   not grep {phi i32 .* 0}
 ; END.
 
index e82a496081238f13e1e811ef67ec5b183218e3f0..7c0f053e4c345a65f0b5be0f80a5c20540729b8e 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that variable strides are reduced to adds instead of multiplies.
-; RUN: opt %s -loop-reduce -S | not grep mul
+; RUN: opt %s -loop-reduce -S | not grep mul
 
 declare i1 @pred(i32)
 
index 86e70216fe997c2e0b83cc35cf539e2b2ae6ab5f..3141bf1900cbad7a6a85ec176698f0f517300d1e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unroll -disable-output
+; RUN: opt %s -loop-unroll -disable-output
 
 define i32 @main() {
 entry:
index 5831262fb56a7af5c2ffe2a27063da884574f813..a26346b2eb40d3d1a71607fa62f187108ec6a788 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unroll -loopsimplify -disable-output
+; RUN: opt %s -loop-unroll -loopsimplify -disable-output
 
 define void @print_board() {
 entry:
index 9a1684012c62ff56c58def9a3246e75a2bf3c147..8219a0c23050e5635a525a305cd14acadb0e605d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unroll -S | grep bb72.2
+; RUN: opt %s -loop-unroll -S | grep bb72.2
 
 define void @vorbis_encode_noisebias_setup() {
 entry:
index 9bfe148a2bcc16fe2a8f4aceb26d75787e5d3127..40c9ce0e50b5dae00517593b4aa4c8fe14999b0b 100644 (file)
@@ -1,5 +1,5 @@
 ; PR 1334
-; RUN: opt %s -loop-unroll -disable-output
+; RUN: opt %s -loop-unroll -disable-output
 
 define void @sal__math_float_manipulator_7__math__joint_array_dcv_ops__Omultiply__3([6 x float]* %agg.result) {
 entry:
index 2601290d4111b163a73b66e828f5ca33964f40a5..d4c8402bd2c660f67a933486331484650e511dfc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unroll -S | not grep undef
+; RUN: opt %s -loop-unroll -S | not grep undef
 ; PR1385
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
index 15249e4f7e8ab5c61278d7518879da852f21a6c1..68842a41957c59daa3e18f1cd7a1dbb7d4574e20 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unroll -unroll-count=3 -S | grep bb72.2
+; RUN: opt %s -loop-unroll -unroll-count=3 -S | grep bb72.2
 
 define void @foo(i32 %trips) {
 entry:
index 11958300c3b3669c40a24dd0693fa8a8510adf6f..1711f11999743d292b377bd2247dc938fc010aee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -loop-unroll
+; RUN: opt %s -disable-output -loop-unroll
 ; PR1770
 ; PR1947
 
index ed8e0cccb543e93aa9bc59e732a40954fa80dd39..b4cf4062309eed39d94f032f7db8a33a4f98cae0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 ; END.
 
 target datalayout = "E-p:32:32"
index 80c8deb160535e3a4812dff6083f2cfa2a73f381..a50bd54e7870843079f9d57c3b202073ace8f283 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 define void @sort_Eq(i32* %S2) {
 entry:
index 5ed4874daa60e7b9b672b625e3a27bc8a6038077..e0301572821a64183c79dfc7a8d187e5c3115696 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
        %struct.BLEND_MAP = type { i16, i16, i16, i32, %struct.BLEND_MAP_ENTRY* }
        %struct.BLEND_MAP_ENTRY = type { float, i8, { [5 x float], [4 x i8] } }
index 32d031d7ce3f2125666cf01dc84e37bcea364fd4..fd4d7300b44a6c93ab1a8ef07bdd73cdb46d3d1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 define void @init_caller_save() {
 entry:
index 0edfd37c7954f8138a30bfbfbf278b2ff445288c..468b194306961d7719375dbea1b886bb52aa1122 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1333
-; RUN: opt %s -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-pc-linux-gnu"
index 48f5969206b42022857ba220d9ca1e28c9a80599..bf5a61b36300eeff53bebca260275329d4c0fa3d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -instcombine -disable-output
+; RUN: opt %s -loop-unswitch -instcombine -disable-output
 
 @str3 = external constant [3 x i8]             ; <[3 x i8]*> [#uses=1]
 
index a7b38b8357e2d1a511e1a8c29cb96a800fd22da6..5ae335bb666a8e901e6273bf0c2f312bc4c898fb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 define i32 @main(i32 %argc, i8** %argv) {
 entry:
index 9bacc4898f051ba747727dfc28e16af4a594ca09..dfca15403bfada6b27b50f3e6dc41561a9e3e749 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 ; PR1559
 
 target triple = "i686-pc-linux-gnu"
index a8a70557a9038490b5282215e25cc019e740c5fc..fc92579933bd9edfc391ec5989169f0efeac1b66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -loop-unswitch -disable-output 
+; RUN: opt %s -licm -loop-unswitch -disable-output 
 ; PR 1589
 
        %struct.QBasicAtomic = type { i32 }
index bbeb7bba4c0ef6152069283c3b21415115fd6001..f83acaa6b0b589831d2aab2a76ef88c0e14729b9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -instcombine -disable-output
+; RUN: opt %s -loop-unswitch -instcombine -disable-output
        %struct.ClassDef = type { %struct.QByteArray, %struct.QByteArray, %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", i8, i8, %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QMap<QByteArray,QByteArray>", %"struct.QList<ArgumentDef>", %"struct.QMap<QByteArray,QByteArray>", i32, i32 }
        %struct.FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct.FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
        %struct.Generator = type { %struct.FILE*, %struct.ClassDef*, %"struct.QList<ArgumentDef>", %struct.QByteArray, %"struct.QList<ArgumentDef>" }
index 617c39374ff67858c27156535daebe6f8a3417b6..efbb7619591e3ce86b4f946d0079bec9996de470 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -loop-unroll -disable-output
+; RUN: opt %s -licm -loop-unroll -disable-output
 
 @resonant = external global i32                ; <i32*> [#uses=2]
 
index a2263ea4f043ec896fd8c15eadc63371bbcfc9ea..906c2c581e1fc489384534dc9cf2e4793829e421 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -instcombine -gvn -disable-output
+; RUN: opt %s -loop-unswitch -instcombine -gvn -disable-output
 ; PR2372
 target triple = "i386-pc-linux-gnu"
 
index 6a1b2aed065e32a650263fc65ab08cbeea6a5fa7..f74054a0589cc12771e893e422a8397cfa8eadf5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -loop-unswitch -disable-output
+; RUN: opt %s -licm -loop-unswitch -disable-output
 @g_56 = external global i16            ; <i16*> [#uses=2]
 
 define i32 @func_67(i32 %p_68, i8 signext  %p_69, i8 signext  %p_71) nounwind  {
index 7174968e926cef38eabab6efe85975b525596233..20f2c2bfd7429f36198f7cb3f4015141d2634846 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -stats -disable-output |& grep "1 loop-unswitch - Number of branches unswitched" | count 1
+; RUN: opt %s -loop-unswitch -stats -disable-output |& grep "1 loop-unswitch - Number of branches unswitched" | count 1
 ; PR 3170
 define i32 @a(i32 %x, i32 %y) nounwind {
 entry:
index 40fe7f8429119b7be3ca022dc12e98fe39af8891..1e6f2cf15ee140a1f4f7874b3bce2d473f870e57 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 define i32 @test(i32* %A, i1 %C) {
 entry:
index 87a330ec0fec29b1b5a205d3ce6834b1cc0a770e..31f3d42225ab67808652c5b7fd2ca28de6e6f611 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase was reduced from Shootout-C++/reversefile.cpp by bugpoint
 
-; RUN: opt %s -lowerinvoke -disable-output
+; RUN: opt %s -lowerinvoke -disable-output
 
 declare void @baz()
 
index 569ba265487fe8d2b9bdcaa739158fce4f1c0a0c..bddb70248ed89686a325acdda22ef56712cc516c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
+; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
 
 define void @_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() {
 entry:
index 1256d492ee30826710b2debc836daa4c9b30393d..1057ad7057cc05491609202a34a53c62d3f05424 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
+; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
 
 declare void @ll_listnext__listiterPtr()
 
index 60b4544bf44b04d4b01a70620ed8c78213b59ebc..940204649c74e2db7967e36df904b91e99ecd4b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
+; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
 
 declare fastcc i32 @ll_listnext__listiterPtr()
 
index 3d24b8679422661d1b95699c0c206473459fc058..b46ccfbb79a8cf15950df0b3104c408da0855b42 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
+; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
 ; PR2029
 define i32 @main(i32 %argc, i8** %argv) {
 bb470:
index 22cbc469973d079db76fc515843df58c343f163b..f0ca5f425311c9e79f2315916ad1a417febbc009 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerinvoke -disable-output -enable-correct-eh-support
+; RUN: opt %s -lowerinvoke -disable-output -enable-correct-eh-support
 
 
 define i32 @foo() {
index f93539d89e32a4660e2864962f57884617c25b04..9180c15b18f2bc76f69527324d68c56b6eb06f52 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowersetjmp -disable-output
+; RUN: opt %s -lowersetjmp -disable-output
 
        %struct.jmpenv = type { i32, i8 }
 
index 8ca18ff240932650c46072f48ae6c1996221f49a..1430dffdfe3fc829d6728ff43ca330e80671fae5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowersetjmp -S | grep invoke
+; RUN: opt %s -lowersetjmp -S | grep invoke
 
        %JmpBuf = type i32
 @.str_1 = internal constant [13 x i8] c"returned %d\0A\00"             ; <[13 x i8]*> [#uses=1]
index c4d07080e17a64c7762f0b9d7f96cad43f3079c6..d143ab0503587f67776d73ca83a476d83d2b2952 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerswitch
+; RUN: opt %s -lowerswitch
 
 define void @child(i32 %ct.1) {
 entry:
index c01da0c63091f54bf045c4978a439f666ca5953a..61e1dcd345bdca810b86ff79a90300aeed3e4b3e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerswitch
+; RUN: opt %s -lowerswitch
 
 define void @test() {
        switch i32 0, label %Next [
index 57d2efe80efdf064c798cd323220ba6c0b7c7ad0..964b07e30669bb575e4a3cd75a0c7e0127649462 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerswitch -disable-output
+; RUN: opt %s -lowerswitch -disable-output
 
 define void @solve() {
 entry:
index 7a62c9a206d67ab0c8a29a97c3c759ae7b0089fd..777f3757bb8910ac867575ed5f7700e799788852 100644 (file)
@@ -1,6 +1,6 @@
 ; Uninitialized values are not handled correctly.
 ;
-; RUN: opt %s -mem2reg -disable-output
+; RUN: opt %s -mem2reg -disable-output
 ;
 
 define i32 @test() {
index 46524873948ff18832b2ce0bd290242074d7262c..89bd4928a476f690f16cb73aa9c8f33826b0adf1 100644 (file)
@@ -1,7 +1,7 @@
 ; This input caused the mem2reg pass to die because it was trying to promote
 ; the %r alloca, even though it is invalid to do so in this case!
 ;
-; RUN: opt %s -mem2reg
+; RUN: opt %s -mem2reg
 
 define void @test() {
        %r = alloca i32         ; <i32*> [#uses=2]
index 798ed816ca8541d37036d70e4b44e3e4c1442df9..3665483458cce3bc6e164961f1ca65bff4ea3110 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mem2reg
+; RUN: opt %s -mem2reg
 
 define void @_Z3barv() {
        %result = alloca i32            ; <i32*> [#uses=1]
index 93a3468d58a6cdf5f262a0cbd7b8a8062796b53e..36bd9e64991e604ff4fa7a32eed3545d8a7dc59a 100644 (file)
@@ -1,5 +1,5 @@
 ; This testcases makes sure that mem2reg can handle unreachable blocks.
-; RUN: opt %s -mem2reg
+; RUN: opt %s -mem2reg
 
 define i32 @test() {
        %X = alloca i32         ; <i32*> [#uses=2]
index 3009b30904cc30ed0f8167a7999388337a65bb49..f5f1ee34365d4f835b646a4fc61ad0b79d65e5a9 100644 (file)
@@ -1,7 +1,7 @@
 ; Mem2reg used to only add one incoming value to a PHI node, even if it had
 ; multiple incoming edges from a block.
 ;
-; RUN: opt %s -mem2reg -disable-output
+; RUN: opt %s -mem2reg -disable-output
 
 define i32 @test(i1 %c1, i1 %c2) {
        %X = alloca i32         ; <i32*> [#uses=2]
index fc53456b03773ed9a8541c9c9e5d902f8fd42d4b..e82caa9fe0f6f766c7d1a3fbaa66afb1a696e6e5 100644 (file)
@@ -1,5 +1,5 @@
 ; Promoting some values allows promotion of other values.
-; RUN: opt %s -mem2reg -S | not grep alloca
+; RUN: opt %s -mem2reg -S | not grep alloca
 
 define i32 @test2() {
        %result = alloca i32            ; <i32*> [#uses=2]
index 4481d70fa621ab285292d99a03c9b7774d25f206..1d38efc74576a1d4cf6387d3083d841f850894fc 100644 (file)
@@ -1,7 +1,7 @@
 ; Mem2reg should not insert dead PHI nodes!  The naive algorithm inserts a PHI
 ;  node in L3, even though there is no load of %A in anything dominated by L3.
 
-; RUN: opt %s -mem2reg -S | not grep phi
+; RUN: opt %s -mem2reg -S | not grep phi
 
 define void @test(i32 %B, i1 %C) {
        %A = alloca i32         ; <i32*> [#uses=4]
index 0414efc0774c79388ccbb63b5b6004d96f546166..74355961fbf94732ab610f78c05496045c469e9a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mem2reg -instcombine -S | grep store
+; RUN: opt %s -mem2reg -instcombine -S | grep store
 ; PR590
 
 
index c8264b91bff21137b29506eba5b2753a16e17d80..8fd3351ba42d96b99f1077f151c46423c8a23052 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mem2reg -disable-output
+; RUN: opt %s -mem2reg -disable-output
 ; PR670
 
 define void @printk(i32, ...) {
index 3701ca39b5134ea66681263412344636e2e7fa53..50683cf8baa0dc1d4e190a386eb20aa5fc6332d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts -S | grep volatile | count 3
+; RUN: opt %s -std-compile-opts -S | grep volatile | count 3
 ; PR1520
 ; Don't promote volatile loads/stores. This is really needed to handle setjmp/lonjmp properly.
 
index ada19a1f571363aaf6cc96e203e200c537f3da09..1be6b03beec6d4a396b15fd543ae4dfb33cf82ad 100644 (file)
@@ -1,5 +1,5 @@
 ; Simple sanity check testcase.  Both alloca's should be eliminated.
-; RUN: opt %s -mem2reg -S | not grep alloca
+; RUN: opt %s -mem2reg -S | not grep alloca
 
 define double @testfunc(i32 %i, double %j) {
        %I = alloca i32         ; <i32*> [#uses=4]
index b9e4b1a3f4f2ec9a579a709d4c57bf38214fbba9..5013229b77f9ba6f82f1a2df3bd5c080dbb03afa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mem2reg -S | not grep phi
+; RUN: opt %s -mem2reg -S | not grep phi
 
 define i32 @testfunc(i1 %C, i32 %i, i8 %j) {
        %I = alloca i32         ; <i32*> [#uses=2]
index 1207f26a4dfc8642f5168b78fc0f57bdd2fbf7e4..30c27137d909a24dbc723a5e4775e98d7d76a679 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -memcpyopt -dse -S | grep {call.*initialize} | not grep memtmp
+; RUN: opt %s -memcpyopt -dse -S | grep {call.*initialize} | not grep memtmp
 ; PR2077
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index 0f79fb325f0d3accc2d714e29bb0809d471de99c..13205e6854f073dbe5d886acc12d3e284794280f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -memcpyopt -S | not grep {call.*memcpy.}
+; RUN: opt %s -memcpyopt -S | not grep {call.*memcpy.}
        %a = type { i32 }
        %b = type { float }
 
index f1ae721dae2f77d263833a77e4cb25f3b5de8ba4..4fec169fd06a5e175f329fd3d067ce10d4464106 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -memcpyopt -S | grep {call.*memcpy.*agg.result}
+; RUN: opt %s -memcpyopt -S | grep {call.*memcpy.*agg.result}
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index ccdfa53b6d736b4f330f43acbe5d055319a2b690..bf5b2346757733b99eb56f2d2dab9cb3f4479d8a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -memcpyopt -disable-output
+; RUN: opt %s -memcpyopt -disable-output
 ; PR4882
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"
index 413c181244e4a2dc4a8c790c41dbe34d768c48ee..eb8dbe3a614f29f7beb595200aa830ac4ef3b366 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -memcpyopt -S | not grep store
-; RUN: opt %s -memcpyopt -S | grep {call.*llvm.memset}
+; RUN: opt %s -memcpyopt -S | not grep store
+; RUN: opt %s -memcpyopt -S | grep {call.*llvm.memset}
 
 ; All the stores in this example should be merged into a single memset.
 
index 8f31bfc823f8535933483501b1506c9697379bcf..c90af9c73ca3e04c9e1fc7f70692e2f10e12e707 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -memcpyopt -S | not grep store
-; RUN: opt %s -memcpyopt -S | grep {call.*llvm.memset} | count 3
+; RUN: opt %s -memcpyopt -S | not grep store
+; RUN: opt %s -memcpyopt -S | grep {call.*llvm.memset} | count 3
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index 71a6cd0ff456df9f809b559c93ce346e5b61a8b8..724acfab4750a40bc179d0d3086b28956b7ada35 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -memcpyopt -dse -S | grep {call.*memcpy} | count 1
+; RUN: opt %s -memcpyopt -dse -S | grep {call.*memcpy} | count 1
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin9"
index a1d42de4d5c0361b47386ea918c4fe41d8fec28f..73bbf0bd2e4ee665dae833d288ac04340efcce93 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -memcpyopt -S | FileCheck %s
+; RUN: opt %s -memcpyopt -S | FileCheck %s
 ; These memmoves should get optimized to memcpys.
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index 28391780692b0b83d3adfc41ef02f56e07123a13..5002875ae3287991d817c9dc28b7a9dc55c4af0b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -memcpyopt -S | not grep {call.*memcpy}
+; RUN: opt %s -memcpyopt -S | not grep {call.*memcpy}
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin9"
index 195c379a05ab52b374a564b5c330f262d66cba7e..e12473125c785966f3bf775b4dd7dc8c572355fb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mergefunc -S > %t
+; RUN: opt %s -mergefunc -S > %t
 ; RUN: grep {define weak} %t | count 2
 ; RUN: grep {call} %t | count 2
 
index a658daeca1f1c2e5dac83a5076bf60e155ff01df..7b2a2fe5d52fb5948c8900c4f5722f857ee5be2a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mergefunc -stats -disable-output |& not grep {functions merged}
+; RUN: opt %s -mergefunc -stats -disable-output |& not grep {functions merged}
 
 define i32 @foo1(i32 %x) {
 entry:
index ce9b04b8468ac305a20b6f47c3f71290d8825995..f080191ef860a62743580450987855d6e65c34bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mergefunc -stats -disable-output |& grep {functions merged}
+; RUN: opt %s -mergefunc -stats -disable-output |& grep {functions merged}
 
 define i32 @foo1(i32 %x) {
 entry:
index 9f7d12cc9024b961ec051dfce3da9420ee6e0bf6..356113c02135d2a8473682974610c12a1dfff708 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define fastcc void @_ov_splice(i32 %n1, i32 %n2, i32 %ch2) {
 entry:
index 63785f36e4a5429fb43ec194954b5e6d57841e53..9dd2b97891867e146c110a4f51f620d27f1e7a68 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @safe_strcpy(i32 %size1) {
 entry:
index bf1f5c5066fbd50119e98a73a6b99d60f33628e7..8e4e8a7221f1e739fee283f7f0aefa15c2c16fe1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @gs_image_next() {
 entry:
index 237d55eff23a4bc4dd591dc555cdfa1bf5e18edc..1ec1a38efdd965f52cea0aa7cd04a1e12ddec125 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -S | grep br | grep return.i.bb8_crit_edge | grep false
+; RUN: opt %s -predsimplify -S | grep br | grep return.i.bb8_crit_edge | grep false
 @str = external global [4 x i8]                ; <[4 x i8]*> [#uses=1]
 
 declare i32 @sprintf(i8*, i8*, ...)
index 00923b0af93f7a9000a1d96cf1989cdf18630b25..437106fbf19fb79089f60842949b0e458d950331 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @readMotionInfoFromNAL() {
 entry:
index 59c80ebd13936e9bf291cde63c9cc86e1a8c2d2d..71cc8bbe34e36cf6ab8d64d4c41a7f3a20bd5494 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define i32 @test_wp_B_slice(i32 %select_method) {
 entry:
index 6e1e8517dbd7fba840133004504f38718ffcf34f..5ec420c8e1c5b2517c2f0d47103bda9eb4e00627 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @diff(i32 %N) {
 entry:
index 08b09aa95bf9660ecf5ed9915028d6c7e1738b32..0b3e934abb31b47422f17c8d2ea3ec21f078bfb8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
        %struct.cube_struct = type { i32, i32, i32, i32*, i32*, i32*, i32*, i32*, i32*, i32*, i32**, i32**, i32*, i32*, i32, i32, i32*, i32, i32 }
 @cube = external global %struct.cube_struct            ; <%struct.cube_struct*> [#uses=2]
index d472b6ff78c8d338c357aef5f57f1b51b37c33eb..8db094fdddd15c2407bc2f98d86131b9cd93eec0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 ; END.
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index 7d74df2d6abc8487d76ef0b5296b06153120fc71..2d45eb31437ece0894f47ef5bf375cd605d66df3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @ercMarkCurrMBConcealed(i32 %comp) {
 entry:
index c820ae7e8bd2bd51beca8281f7d38191468ceb8f..aac8c0b3d20e270a492af0dc607f5f1002c8e608 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -S | grep -v %c
+; RUN: opt %s -predsimplify -S | grep -v %c
 define void @foo(i8* %X, i8* %Y) {
 entry:
   %A = load i8* %X
index 29e7ae4fe501c2056485a3558226300ea78ed82c..88c799cb6355ee5b1c40375b952d1bfeb9b44e10 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -S | grep unreachable | count 2
+; RUN: opt %s -predsimplify -S | grep unreachable | count 2
 ; PR1683
 
 @.str = internal constant [13 x i8] c"c36174a.adb\00\00"               ; <[13 x i8]*> [#uses=1]
index a0ce26e9efa41f611ec20358318c53a94785544c..3b4c58f2f8bd0ea6a22d7b0a087a53ee9d2293e9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -verify
+; RUN: opt %s -predsimplify -verify
 
 define void @dgefa() {
 entry:
index 5fbf99c90486d82791c7fde098223557970c41a9..fd186cd595dc7861473ecaee29cbcd2fbb9883c8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -verify
+; RUN: opt %s -predsimplify -verify
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
 deplibs = [ "c", "crtend" ]
index a674baef7ce52e8de151aa1fe83d4c3ffc40a378..048757a2413e88dc8e27596c3c34b8ec33913ca6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -simplifycfg -S | grep pass
+; RUN: opt %s -predsimplify -simplifycfg -S | grep pass
 
 define void @regtest(i32 %x) {
 entry:
index 28f343f01e077a8567f74c786825ea69ba61b7c7..4a5c80f05845cdb2a872f6d3673c06f3cf3e84fc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
 
index 2b46c76c43fc618819d1f6e5b85e52a9ee7e2a0b..679eafd5936302da87a12a3fcd0ed7431c39b0a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -prune-eh -S | grep invoke
+; RUN: opt %s -prune-eh -S | grep invoke
 
 declare void @External()
 
index fe593d2012d6cfb874457332d2cfefbc41420313..a01070308bed362b2c76f37070daa79960c8abac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -prune-eh -disable-output
+; RUN: opt %s -prune-eh -disable-output
 
 define internal void @callee() {
        ret void
index 2d6e6357ef79007d6f766b17a4b5967933dc265e..fb97ae870831c80af6a561b066577209a25a2db0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -prune-eh -S | not grep nounwind
+; RUN: opt %s -prune-eh -S | not grep nounwind
 
 define weak void @f() {
 entry:
index cbaa1176f11b2c2fc13c2494f4150cf3e1840a5a..347af8f8463c8656712bee40b3a9c8d0d25b037f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -prune-eh -inline -print-callgraph \
+; RUN: opt %s -prune-eh -inline -print-callgraph \
 ; RUN:   -disable-output |& \
 ; RUN:     grep {Calls.*ce3806g__fxio__put__put_int64__4.1339} | count 2
        %struct.FRAME.ce3806g = type { %struct.string___XUB, %struct.string___XUB, %struct.string___XUB, %struct.string___XUB }
index af215aec1da7b3808f7dd031525594d3e2caaf7e..724c7cf224c1f02ccc6953665a3ecb375b24c098 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -prune-eh -S | not grep invoke
+; RUN: opt %s -prune-eh -S | not grep invoke
 
 define internal i32 @foo() {
        invoke i32 @foo( )
index f13fef3f0f55fa945e6c56b6be3fe1fee67d0c58..6cdd42fff8493fed3c1d31ef885eb71183313554 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -prune-eh -S | not grep {ret i32}
+; RUN: opt %s -prune-eh -S | not grep {ret i32}
 
 declare void @noreturn() noreturn;
 
index e081f6fe69f59ebaf0dd87b7a35999a4ae765178..77c429dae6d60cccd5fe48fb80130bb38019415d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -prune-eh -S | not grep invoke
+; RUN: opt %s -prune-eh -S | not grep invoke
 
 declare void @nounwind() nounwind
 
index a84b71cc3dad5a79271a1fb85343f0fa0be8b152..75e02e84fac97e479fa5e0a12e9dcd4905893b27 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -raiseallocs -disable-output
+; RUN: opt %s -raiseallocs -disable-output
 
 define void @main() {
        %tmp.13 = call i32 (...)* @free( i32 32 )               ; <i32> [#uses=1]
index 2f96f569bcfdc7beac5687804814689443c073fc..1cf072910a606197628230d7dbba1c0eac3be0d4 100644 (file)
@@ -1,6 +1,6 @@
 ; This situation can occur due to the funcresolve pass.
 ;
-; RUN: opt %s -raiseallocs -S | not grep call
+; RUN: opt %s -raiseallocs -S | not grep call
 
 declare void @free(i8*)
 
index 354600b7c914ec319161b2ab18615611bd017042..5780990c76187c8cb5d2860c70e55c149bb28d90 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -instcombine -constprop -dce -S | not grep add
+; RUN: opt %s -reassociate -instcombine -constprop -dce -S | not grep add
 
 define i32 @test(i32 %A) {
        %X = add i32 %A, 1              ; <i32> [#uses=1]
index c34331cb8ced52658eabfaf7734996a03c724f1c..c18af5e07efdd8c119b043f2743564ebdcdc29ef 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate all of the constants.
 ;
-; RUN: opt %s -reassociate -constprop -instcombine -dce -S | not grep add
+; RUN: opt %s -reassociate -constprop -instcombine -dce -S | not grep add
 
 define i32 @test(i32 %A, i32 %B) {
        %W = add i32 5, %B              ; <i32> [#uses=1]
index 2350911cd6a2ef7dadd5131bbc74466f0f300690..5848821e10fdcfbf4621d95188374099da9df29f 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the two 12 constants.
 ;
-; RUN: opt %s -reassociate -constprop -dce -S | not grep 12
+; RUN: opt %s -reassociate -constprop -dce -S | not grep 12
 
 define i32 @test(i32 %A, i32 %B, i32 %C, i32 %D) {
        %M = add i32 %A, 12             ; <i32> [#uses=1]
index fe1a9cca8ea2a41f6aee9df770f83e185daa1e51..bbb08f969853525fc3f879d13c4d4e0745b150e6 100644 (file)
@@ -1,6 +1,6 @@
 ; The reassociate pass is not preserving dominance properties correctly
 ;
-; RUN: opt %s -reassociate
+; RUN: opt %s -reassociate
 
 define i32 @compute_dist(i32 %i, i32 %j) {
        %reg119 = sub i32 %j, %i                ; <i32> [#uses=1]
index a7eaff2c4bd3426c2fc311e2bfdd157d73ad3fd8..af7a821a4bab65c186d80aea84285c45007c23b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -disable-output
+; RUN: opt %s -reassociate -disable-output
 
 define i32 @test(i32 %A.1, i32 %B.1, i32 %C.1, i32 %D.1) {
        %tmp.16 = and i32 %A.1, %B.1            ; <i32> [#uses=1]
index 10e05a9910f9ab102a1fe0060fa5226abbc95925..9864de45f88efbd51a0e4e5c6e5d9facabb48c9a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -disable-output
+; RUN: opt %s -reassociate -disable-output
 
 define void @test(i32 %a, i32 %b, i32 %c, i32 %d) {
        %tmp.2 = xor i32 %a, %b         ; <i32> [#uses=1]
index c7b54b0895adbb262d7687c2ccdcd7df376a286c..33e44d4ba753ac1490397c7b398eb8fd5821433a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -instcombine -S |\
+; RUN: opt %s -reassociate -instcombine -S |\
 ; RUN:   grep {ret i32 0}
 
 define i32 @f(i32 %a0, i32 %a1, i32 %a2, i32 %a3, i32 %a4) {
index d12ce4ad9643bd8b05db3d930554f8de70b8360a..384cbc90a744c5981990b18877fc24e92503d8ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -disable-output
+; RUN: opt %s -reassociate -disable-output
 
 define void @foo() {
        %tmp162 = fsub <4 x float> zeroinitializer, zeroinitializer             ; <<4 x float>> [#uses=1]
index c3135debaf26abbdc892ccfb6c44accbcd1352b5..eca2d6310d34ca2e42193e8573012351dab003b1 100644 (file)
@@ -1,6 +1,6 @@
 ; With reassociation, constant folding can eliminate the 12 and -12 constants.
 ;
-; RUN: opt %s -reassociate -constprop -instcombine -die -S | not grep add
+; RUN: opt %s -reassociate -constprop -instcombine -die -S | not grep add
 
 define i32 @test(i32 %arg) {
        %tmp1 = sub i32 -12, %arg               ; <i32> [#uses=1]
index 64ca58f4e3ad90700e080a79e2f4c25080e92598..ba1ff9ec73fd2c6c903984d1158d3c6f43c9b273 100644 (file)
@@ -1,6 +1,6 @@
 ; With reassociation, constant folding can eliminate the +/- 30 constants.
 ;
-; RUN: opt %s -reassociate -constprop -instcombine -die -S | not grep 30
+; RUN: opt %s -reassociate -constprop -instcombine -die -S | not grep 30
 
 define i32 @test(i32 %reg109, i32 %reg1111) {
        %reg115 = add i32 %reg109, -30          ; <i32> [#uses=1]
index 447e72bc0b5e7dcb60ab7afa0e1e58fe0ca32986..92285fbbb63e39cc872d79760f209693763914d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -gvn -S | grep add | count 6
+; RUN: opt %s -reassociate -gvn -S | grep add | count 6
 ; Each of these functions should turn into two adds each.
 
 @e = external global i32               ; <i32*> [#uses=3]
index ad56339997b95db9d3a7f060378137f4b562b405..88dbdf781504e75c81ac1edd3e81c35ed35151d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -gvn -instcombine -S | not grep add
+; RUN: opt %s -reassociate -gvn -instcombine -S | not grep add
 
 @a = weak global i32 0         ; <i32*> [#uses=1]
 @b = weak global i32 0         ; <i32*> [#uses=1]
index aec84e6f8583f00f9f66b7c65b9870cbdf3e15b3..91723bc37b0154d8879d2d71e153eaafd828a6f1 100644 (file)
@@ -12,7 +12,7 @@
 ; In this case, we want to reassociate the specified expr so that i+j can be
 ; hoisted out of the inner most loop.
 ;
-; RUN: opt %s -reassociate -S | grep 115 | not grep 117
+; RUN: opt %s -reassociate -S | grep 115 | not grep 117
 ; END.
 @.LC0 = internal global [4 x i8] c"%d\0A\00"           ; <[4 x i8]*> [#uses=1]
 
index a2d92156181e0e5264a8d5f436481ca5b93d3f0d..dd6ddd9b62ec383785e09ae4e56bdc66d4380ec8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -instcombine -S |\
+; RUN: opt %s -reassociate -instcombine -S |\
 ; RUN:   not grep {sub i32 0}
 
 define i32 @test(i32 %X, i32 %Y, i32 %Z) {
index 9403ddfb1df2a8950be9b9a24765eb1900a6155d..6a3dfd3b82064c0725485d35a5a2372cf62301d3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -reassociate -instcombine -S | not grep sub
+; RUN: opt %s -reassociate -instcombine -S | not grep sub
 
 ; Test that we can turn things like X*-(Y*Z) -> X*-1*Y*Z.
 
index 267d3bd13c34305e13669dbe11244f1cd09186d1..d68d00818cb8d27f49fff215207a32c3b0c7688d 100644 (file)
@@ -1,6 +1,6 @@
 ; Reassociation should apply to Add, Mul, And, Or, & Xor
 ;
-; RUN: opt %s -reassociate -constprop -instcombine -die -S | not grep 12
+; RUN: opt %s -reassociate -constprop -instcombine -die -S | not grep 12
 
 define i32 @test_mul(i32 %arg) {
        %tmp1 = mul i32 12, %arg                ; <i32> [#uses=1]
index 96a5e4716777c9c8471c4891c531fab0fab12312..8b2cbc98c47a4a5468908ec9340a567c5be93a35 100644 (file)
@@ -1,6 +1,6 @@
 ; With shl->mul reassociation, we can see that this is (shl A, 9) * A
 ;
-; RUN: opt %s -reassociate -instcombine -S |\
+; RUN: opt %s -reassociate -instcombine -S |\
 ; RUN:    grep {shl .*, 9}
 
 define i32 @test(i32 %A, i32 %B) {
index bf43cdf0b854e1e4b159df5157f3134e2c6226f6..4c63d1238a6741583e49bee9edf40a36200d9470 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the 12 and -12 constants.
 ;
-; RUN: opt %s -reassociate -instcombine -S | not grep 12
+; RUN: opt %s -reassociate -instcombine -S | not grep 12
 
 define i32 @test(i32 %A, i32 %B) {
        %X = add i32 -12, %A            ; <i32> [#uses=1]
index 9431b9773f2fada2e9ec153481fb9fda98548b23..0513c5fc1b63ffba95618fd54822eee421994150 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the uses of %a.
 ;
-; RUN: opt %s -reassociate -instcombine -S | grep %a | count 1
+; RUN: opt %s -reassociate -instcombine -S | grep %a | count 1
 ; PR2047
 
 define i32 @test(i32 %a, i32 %b, i32 %c) nounwind  {
index c02f6eefcfc7cc9a93151735676123817aee1f6a..bb0cf04f67b1d12b63d831af8237ad73aea919ac 100644 (file)
@@ -5,7 +5,7 @@
 ; real benchmark (mst from Olden benchmark, MakeGraph function).  When SCCP is
 ; fixed, this should be eliminated by a single SCCP application.
 ;
-; RUN: opt %s -sccp -S | not grep loop
+; RUN: opt %s -sccp -S | not grep loop
 
 define i32* @test() {
 bb1:
index e6a181170e92483e145ff3a7fc52c47e6b604750..bb5b51d1bbb192ec8ccc768428835d3b47da72b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | not grep sub
+; RUN: opt %s -sccp -S | not grep sub
 
 define void @test3(i32, i32) {
        add i32 0, 0            ; <i32>:3 [#uses=0]
index 90776e65546f1951215c1db5cc387978e9779fb8..f6198025b80b50d7db25d7388538248cc41dd41d 100644 (file)
@@ -1,7 +1,7 @@
 ; This test shows a case where SCCP is incorrectly eliminating the PHI node
 ; because it thinks it has a constant 0 value, when it really doesn't.
 
-; RUN: opt %s -sccp -S | grep phi
+; RUN: opt %s -sccp -S | grep phi
 
 define i32 @test(i32 %A, i1 %c) {
 bb1:
index 39c1142cdbeb1ba75d48bce00a087e1e23144894..f02a29379b86369155372292ed0da8c2339300c0 100644 (file)
@@ -2,7 +2,7 @@
 ; this is in fact NOT the case, so the return should still be alive in the code
 ; after sccp and CFG simplification have been performed.
 ;
-; RUN: opt %s -sccp -simplifycfg -S | \
+; RUN: opt %s -sccp -simplifycfg -S | \
 ; RUN:   grep ret
 
 define void @old_main() {
index d6136005e63863d4e05e24e56e6e4b067bee24d4..6aaf33ec206c3b346b749fd1f0d46e813596a7e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | not grep %X
+; RUN: opt %s -sccp -S | not grep %X
 
 @G = external global [40 x i32]                ; <[40 x i32]*> [#uses=1]
 
index d9335a20c6da5667fd532321e7f5b26776f61569..576f5d6504d147c4540384fb201cf300439655ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -simplifycfg -S | \
+; RUN: opt %s -sccp -simplifycfg -S | \
 ; RUN:   not grep then:
 
 define void @cprop_test11(i32* %data.1) {
index 460963d2631d7329225c603e73bf1b9c1f6bbf29..9876375ae88a7e6e86fffe010b45ffc00ae64d82 100644 (file)
@@ -1,5 +1,5 @@
 ; The PHI cannot be eliminated from this testcase, SCCP is mishandling invoke's!
-; RUN: opt %s -sccp -S | grep phi
+; RUN: opt %s -sccp -S | grep phi
 
 declare void @foo()
 
index 98cced0fce9e436e9315abad177dd7ce3f0f390d..5d2c78ef874c0a5f52ff9fcf750645418bdbfc21 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -disable-output
+; RUN: opt %s -sccp -disable-output
 
 declare i32 @foo()
 
index 5699ee9b5b650dc3d93db5dccf47d11a18376502..4adfde3bfe9c1c1f58afea561899915e207c5d97 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | grep {ret i32 1}
+; RUN: opt %s -sccp -S | grep {ret i32 1}
 
 ; This function definitely returns 1, even if we don't know the direction
 ; of the branch.
index 9cec1e6e1e1450b2e8687ff7322c59a70f7ae400..47f9cb45cc6742e0c268d91faa463e7591dbb689 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -disable-output
+; RUN: opt %s -sccp -disable-output
 ; END.
 target datalayout = "E-p:32:32"
 target triple = "powerpc-apple-darwin8.7.0"
index afdf9dab2b0d05c2ccc9f0ea1ef1069630310cb2..cee334987218828a7db4896636c37b81070d083f 100644 (file)
@@ -1,7 +1,7 @@
 ; Test VectorType handling by SCCP.
 ; SCCP ignores VectorTypes until PR 1034 is fixed
 ;
-; RUN: opt %s -sccp
+; RUN: opt %s -sccp
 ; END.
 
 target datalayout = "E-p:32:32"
index 752222c6d9cdd593932bf648a5a2410396688cc0..ec69ce05fe940367cd06a2bec2398183105f3d77 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | \
+; RUN: opt %s -sccp -S | \
 ; RUN:   grep {ret i1 false}
 
 define i1 @foo() {
index 6ab44acdaa4fe834faf511c46c6eb1d48932e56d..aa613dca5d11b849e756542e36e0dc7781fe7dec 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | grep undef | count 1
+; RUN: opt %s -sccp -S | grep undef | count 1
 ; PR1938
 
 define i32 @main() {
index 879a99a54ef6b7e9963262bde1d8fbc88699909a..cd6cf9704a58f06e6e02f028872e9aa5b0ef5c8c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | not grep {ret i32 undef}
+; RUN: opt %s -sccp -S | not grep {ret i32 undef}
 ; PR2358
 target datalayout =
 "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index 040aaacfcbed2e0c1fd8d4c9e5ebc1412f13d30c..d23ee2b23d763aa2c2995341d1718fb785689046 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -ipsccp -S | grep {ret i32 42}
-; RUN: opt %s -ipsccp -S | grep {ret i32 undef}
+; RUN: opt %s -ipsccp -S | grep {ret i32 42}
+; RUN: opt %s -ipsccp -S | grep {ret i32 undef}
 ; PR3325
 
 define i32 @main() {
index 3d1b29450223651d524a69aa7dbb8c6ef5a2ae52..7aced663527219187cecaeb45d92a56f29a07ff7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -disable-output
+; RUN: opt %s -sccp -disable-output
 ; PR4277
 
 define i32 @main() nounwind {
index a3365fa832a4d89bdb7fec410b0694bf81610f62..1e75878f3aeb5675063f7e30b4e63ebc65ffec75 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | grep {ret i101 12}
+; RUN: opt %s -sccp -S | grep {ret i101 12}
 
 @Y = constant [6 x i101] [ i101 12, i101 123456789000000, i101 -12,i101 
 -123456789000000, i101 0,i101 9123456789000000]
index a7c4bf6f91d070e847b94d3d68111fd65e944182..c03bfef74301da07a0c57c75d3365ae980a0d0cd 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: opt %s -sccp -S | not grep add
+; RUN: opt %s -sccp -S | not grep add
 
 define i128 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2
index 7ec3997f82d20b925ea8374ed4821cfc83575ddf..173482786f201230bc200b5eb130754c43807bca 100644 (file)
@@ -1,8 +1,8 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; and phi instruction should be eliminated.
 
-; RUN: opt %s -sccp -S | not grep phi
-; RUN: opt %s -sccp -S | not grep add
+; RUN: opt %s -sccp -S | not grep phi
+; RUN: opt %s -sccp -S | not grep add
 
 define i128 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2
index f74b459a72ada2f1a66bfcb2d8ebdf4f2b8cf14a..47671bf46b31ad428d80fc87f17ea97915dfb593 100644 (file)
@@ -2,8 +2,8 @@
 ; arithmatic operations.
 
 
-; RUN: opt %s -sccp -S | not grep mul
-; RUN: opt %s -sccp -S | not grep umod
+; RUN: opt %s -sccp -S | not grep mul
+; RUN: opt %s -sccp -S | not grep umod
 
 define i128 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2
index 2539b5d0de064535d8ae1eccd48bd4894e8f61c9..0dd9ad331a077de5f88087469ccc10aa4d76fa84 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | not grep %X
+; RUN: opt %s -sccp -S | not grep %X
 
 @G =  global [1000000 x i10000] zeroinitializer
 
index 3b26d5b041e0d902e77244c12fdd36abc866ed6e..fda40f53fe1f721c6b26ad080dde74f4cbd0e3ab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipsccp -S | grep -v {ret i512 undef} | \
+; RUN: opt %s -ipsccp -S | grep -v {ret i512 undef} | \
 ; RUN:   grep {ret i8 2}
 
 define internal i512 @test(i1 %B) {
index 9a7fc6da623b95511581a0c42f5dab8c9745227e..3c02e05548db8ac8d75bd6b0f4a7f0ca7073705c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipsccp -S | grep -v {ret i101 0} | \
+; RUN: opt %s -ipsccp -S | grep -v {ret i101 0} | \
 ; RUN:    grep -v {ret i101 undef} | not grep ret
 
 
index 6ef6c30877f19ad3ef10bc463309fc5bea0020b8..75875ff642d252225a9f26e23641b43efe3f6ec5 100644 (file)
@@ -1,8 +1,8 @@
 ; This test makes sure that these instructions are properly constant propagated.
 
-; RUN: opt %s -ipsccp -S | not grep load
-; RUN: opt %s -ipsccp -S | not grep add
-; RUN: opt %s -ipsccp -S | not grep phi
+; RUN: opt %s -ipsccp -S | not grep load
+; RUN: opt %s -ipsccp -S | not grep add
+; RUN: opt %s -ipsccp -S | not grep phi
 
 
 @Y = constant [2 x { i212, float }] [ { i212, float } { i212 12, float 1.0 }, 
index bc68ce44ba403084390418305bd2b844cf1e512a..dc0f702bcd96884becda5325ddaf737086cff748 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: opt %s -sccp -S | not grep add
+; RUN: opt %s -sccp -S | not grep add
 
 define i32 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2
index 185d70fd41e2d8715a0ce7f32f1af5fbb77fca66..7f0772e53d930822a330414d959f4eec86c1cd0a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipsccp -S | \
+; RUN: opt %s -ipsccp -S | \
 ; RUN:   grep -v {ret i32 17} | grep -v {ret i32 undef} | not grep ret
 
 define internal i32 @bar(i32 %A) {
index 1c48c6aaf453ab9e960f06a87219cdb4fdf6af1b..07a427ea91f1de6554ac0c5a25f3b43a1a2dc191 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipsccp -S | \
+; RUN: opt %s -ipsccp -S | \
 ; RUN:   grep -v {ret i32 0} | grep -v {ret i32 undef} | not grep ret
 
 define internal i32 @bar(i32 %A) {
index e83574fdaeb2ada76d73d58a2723743c33e20f9c..ecbd9596952130bf55c33f3c37292b1b89592272 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ipsccp -S | not grep global
+; RUN: opt %s -ipsccp -S | not grep global
 
 @G = internal global i32 undef         ; <i32*> [#uses=5]
 
index b1c234eff1cfd98285cd51bc59aa576f758d8da9..b3d845c7eec53b22739183c5b5253a57f963885c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -S | grep {ret i32 0}
+; RUN: opt %s -sccp -S | grep {ret i32 0}
 
 ; Test that SCCP has basic knowledge of when and/or nuke overdefined values.
 
index 7606d85635fb2aa53470f944649ce58f48e56e51..6f422f07d66161d9f5c21ba59c5e75519c975615 100644 (file)
@@ -1,7 +1,7 @@
 ; This is the test case taken from appel's book that illustrates a hard case
 ; that SCCP gets right. BB3 should be completely eliminated.
 ;
-; RUN: opt %s -sccp -constprop -dce -simplifycfg | \
+; RUN: opt %s -sccp -constprop -dce -simplifycfg | \
 ; RUN:   llvm-dis | not grep BB3
 
 define i32 @testfunction(i32 %i0, i32 %j0) {
index a9cf372a4612336e43ce1e92127354cf24587ac0..55abec55ed0376f8093aac47f2049f046cb7c465 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sretpromotion -disable-output
+; RUN: opt %s -sretpromotion -disable-output
        %struct.ObjPoint = type { double, double, double, double, double, double }
 
 define void @RotatePoint(%struct.ObjPoint* sret  %agg.result, %struct.ObjPoint* byval  %a, double %rx, double %ry, double %rz) nounwind  {
index 7697085d16df27b646646617894810ef53fcc649..1168b0b2e9d6f11c091897a954ea6e7aac94b4d8 100644 (file)
@@ -5,7 +5,7 @@
 
 ; We're mainly testing for opt not to crash, but we'll check to see if the sret
 ; attribute is still there for good measure.
-; RUN: opt %s -sretpromotion -S | grep sret
+; RUN: opt %s -sretpromotion -S | grep sret
 
 %struct.S = type <{ i32, i32 }>
 
index 69e2021513c7e36226a121907f99a3e59b0a3afb..26c6a6e5077b516e5ba88b14a9623fd95dd1ec09 100644 (file)
@@ -4,7 +4,7 @@
 
 ; We're mainly testing for opt not to crash, but we'll check to see if the sret
 ; attribute is still there for good measure.
-; RUN: opt %s -sretpromotion -S | grep sret
+; RUN: opt %s -sretpromotion -S | grep sret
 
 %struct.S = type <{ i32, i32 }>
 
index 97e6e49dcae42607d8d8a9d0f7c0ebccf22b9a6f..ff047dc41ebaec06b969021bde192d288bf2748c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sretpromotion -S > %t
+; RUN: opt %s -sretpromotion -S > %t
 ; RUN: cat %t | grep sret | count 1
 
 ; This function is promotable
index aa5bcc8c6f3269e5a27e61c9a2134d04acc5fc2b..20a22172806ea38c7469fbfe8c3f5406b29158ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -disable-output
+; RUN: opt %s -ssi-everything -disable-output
 ; PR4511
 
        %"struct.std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >" = type { %"struct.std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_Vector_impl" }
index bd90d1f9631136fe8f884c7dc431135bb8ac5a40..0fe37ec74098d8308aea3b4a7f42de5c04546b83 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -disable-output
+; RUN: opt %s -ssi-everything -disable-output
 
 declare fastcc i32 @ras_Empty(i8** nocapture) nounwind readonly
 
index f17436005bff19d11d57e4e6d442f775c351f4fa..61bd2dc693f4f52a19e223a136b07136e72e7290 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -disable-output
+; RUN: opt %s -ssi-everything -disable-output
 
 define void @test(i32 %x) {
 entry:
index 65cd8b579bdbf79047595020a85f8ba527c7a841..64bed191def03cc612b07ea48e6a2700b73e9cca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -disable-output
+; RUN: opt %s -ssi-everything -disable-output
 
 define void @foo() {
 entry:
index 146ea9db440b5879e8f68cdcb266ec30c7733db4..a42b70c3c021198b8bd2722250b01365617162bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -S | FileCheck %s
+; RUN: opt %s -ssi-everything -S | FileCheck %s
 
 declare void @use(i32)
 declare i32 @create()
index 51f1f3d7560a8f2d4ef5dec7a9e87f868fb613c4..824e2492c04e2563245f704ceb690403af24f85a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -instcombine -S | not grep alloca
+; RUN: opt %s -scalarrepl -instcombine -S | not grep alloca
 
 ; Test that an array is not incorrectly deconstructed.
 
index 50967a612065597c799d83f70c29a23f2a73f952..b147ec960807d6618ffd17994a4771a7e7d26269 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl
+; RUN: opt %s -scalarrepl
 
 define void @main() {
        %E = alloca { { i32, float, double, i64 }, { i32, float, double, i64 } }        ; <{ { i32, float, double, i64 }, { i32, float, double, i64 } }*> [#uses=1]
index be99c9146f81c3b45b5247af22bc40095783b888..89c0b05333a2a7fcdf0823197340696ca57c8096 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl
+; RUN: opt %s -scalarrepl
 
 define i32 @test() {
        %X = alloca { [4 x i32] }               ; <{ [4 x i32] }*> [#uses=1]
index 7b921b7029c8030e6f08320f2be38ab9b44d0372..eb1c945e34eb8e53707ae5f030480d4f9e6efe6f 100644 (file)
@@ -1,6 +1,6 @@
 ; Scalar replacement was incorrectly promoting this alloca!!
 ;
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   sed {s/;.*//g} | grep {\\\[}
 
 define i8* @test() {
index 2acf2afd4531a6acc2871ae8d001780847977adf..24e6a3195f13145af6d8ee92b54658274f0bb706 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | grep {alloca %T}
+; RUN: opt %s -scalarrepl -S | grep {alloca %T}
 
 %T = type { [80 x i8], i32, i32 }
 declare i32 @.callback_1(i8*)
index a4a1aecd347a07a8eeadead6cf8dce9b18d5c133..ea23c31146824af4c034b2c4c69b6a39e4f20908 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 
 target datalayout = "E-p:32:32"
        %struct.rtx_def = type { [2 x i8], i32, [1 x %union.rtunion_def] }
index d62d4c9f5229647825949cefc1176a7d56c2f882..03c7452115c1f930e344e3a327db002ca7bfe9cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 
 target datalayout = "E-p:32:32"
 
index 81a6d2115b451f499abb25913124fd969aa1b8da..63840f1b3c03353e9f871a01ea710f8f888d685b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 
 define void @output_toc() {
 entry:
index 357d4d3bb106f2d715011f6a9415ac4e4b0cc48c..dcd7e534f10bbd2d2d14ea9f39c72ddef2ba8518 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 ; END.
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8.7.2"
index 2288c6d51244b460a6600c0b818269dce3085752..4655d1402c071af01e5be4574511e05449aaff76 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | not grep alloca
+; RUN: opt %s -scalarrepl -S | not grep alloca
 
 define i32 @func(<4 x float> %v0, <4 x float> %v1) nounwind {
        %vsiidx = alloca [2 x <4 x i32>], align 16              ; <[2 x <4 x i32>]*> [#uses=3]
index 33f560996752476e38e877117589923b585785d2..260620352f316d7559e5970353eb5b1caf5f17e9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 ; PR1045
 
 target datalayout = "e-p:32:32"
index 49a7eabf7d38807d038fd914b1c312ceddc1e94f..bd4910682f1af66de742ddfc9bc68ea334c57032 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"
 target triple = "arm-apple-darwin8"
index b0844852bba5d0e8ef0a1899b7726b3191380e88..e67b6106cfad8ccb40f56c61dd5e49d5c72e82a7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | grep {alloca.*client_t}
+; RUN: opt %s -scalarrepl -S | grep {alloca.*client_t}
 ; PR1446
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-pc-linux-gnu"
index fcf6dbb090e82e3ab991517ad623b0b8ccb63f1f..f1b8b80f8f20dc1bff9881cd9c45c86e16a9ba97 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | grep memcpy
+; RUN: opt %s -scalarrepl -S | grep memcpy
 ; PR1421
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
index 55d6cf7cc8fe8cd98d4f5555ebf91575b53a7945..81b6746345d344e1c74ab61c9c436d2f936a410c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | not grep shr
+; RUN: opt %s -scalarrepl -S | not grep shr
 
 %struct.S = type { i16 }
 
index 5fcf4a1f4f74dc97080abee1ca74e70ca9876f6a..d799bd77e458165a6694bfdc7d64f92d68cc4f9a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -instcombine -S | grep {ret i8 17}
+; RUN: opt %s -scalarrepl -instcombine -S | grep {ret i8 17}
 ; rdar://5707076
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.1.0"
index 62d791550e0e600942fc74398eafc8eba292f33f..7f8ef8310522bb66fb98271370e8ee3f9c30e66c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | not grep alloca
+; RUN: opt %s -scalarrepl -S | not grep alloca
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin8"
        %struct..0anon = type { <1 x i64> }
index 323236d7509d199da3aed0eea9b6deb1867c6f61..3ebafd072e036cfccedd7a463c2bd7f5e40ad811 100644 (file)
@@ -3,7 +3,7 @@
 ; instruction, which was not possible before aggregrates were first class
 ; values. This checks of scalarrepl splits up the struct and array properly.
 
-; RUN: opt %s -scalarrepl -S | not grep alloca
+; RUN: opt %s -scalarrepl -S | not grep alloca
 
 define i32 @foo() {
        %target = alloca { i32, i32 }           ; <{ i32, i32 }*> [#uses=1]
index 813ff9c51138431dbf6b1601d29e6040963c6f0a..b704727c11e49070bcd6658564996554545a8447 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | grep {call.*mem} 
+; RUN: opt %s -scalarrepl -S | grep {call.*mem} 
 ; PR2369
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index 414bf2d972ccac4f986d1ce48bfd457e15b393dc..1df01c1f4e3c8b51cd50216bca4442dbc8d814cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | grep {s = alloca .struct.x}
+; RUN: opt %s -scalarrepl -S | grep {s = alloca .struct.x}
 ; PR2423
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
index 80a86b117e7b73a806543bd5c46afe78e2aed111..e89be5acbbbdc65983ad40040fe6d2420da489b4 100644 (file)
@@ -3,7 +3,7 @@
 ; this would not work when there was a vector involved in the struct, preventing
 ; scalarrepl from removing the alloca below.
 
-; RUN: opt %s -scalarrepl -S > %t
+; RUN: opt %s -scalarrepl -S > %t
 ; RUN: cat %t | not grep alloca
 
 %struct.two = type <{ < 2 x i8 >, i16 }>
index a4f73be57324f45d19e14ccc477b03d6fb47ddb7..725a9b6d9c75984c35b401f7934552edea56b801 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl | llvm-dis
+; RUN: opt %s -scalarrepl | llvm-dis
 ; PR3304
 
        %struct.c37304a__vrec = type { i8, %struct.c37304a__vrec___disc___XVN }
index 3b57856f6a5b8f02c83e59dbca86046468f8a683..9c0f2030c0e4457e5c85a860e2bc984e462a89af 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -instcombine -S | grep {ret i32 %x}
+; RUN: opt %s -scalarrepl -instcombine -S | grep {ret i32 %x}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i386-pc-linux-gnu"
 
index fa49c4f860625917496fed930325b9d164cfb135..f8ab875bac4b9abbabf358f55a3b5f6544f7834a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -instcombine -inline -instcombine -S | grep {ret i32 42}
+; RUN: opt %s -scalarrepl -instcombine -inline -instcombine -S | grep {ret i32 42}
 ; PR3489
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "x86_64-apple-darwin10.0"
index 487997355172b08e60893f9762174dc7df91bcd6..d6eb75bdf8011f9f95a9b54ca9a69a248ccfe20d 100644 (file)
@@ -1,6 +1,6 @@
 ; The store into %p should end up with a known alignment of 1, since the memcpy
 ; is only known to access it with 1-byte alignment.
-; RUN: opt %s -scalarrepl -S | grep {store i16 1, .*, align 1}
+; RUN: opt %s -scalarrepl -S | grep {store i16 1, .*, align 1}
 ; PR3720
 
         %struct.st = type { i16 }
index 9d69cb642c173e5983fceaa427ced028464d0d8e..50e7f9a08e6ac37fcd0b4dcc32eac9658d3fcd32 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-output -stats |& grep "Number of aggregates converted to scalar"
+; RUN: opt %s -scalarrepl -disable-output -stats |& grep "Number of aggregates converted to scalar"
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin9.6"
        type { }                ; type %0
index fed26ad532d7e09538cf7569c8122ff52828f141..9c70aae1684d117323fba0e4060c35af3040754b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | grep store | not grep undef
+; RUN: opt %s -scalarrepl -S | grep store | not grep undef
 
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index d433e9f5b23c118fe98d4c11d2b3b718f9e8b68f..c5ebf8eb52376fbf4dbffb35d3a1fc6c2092bc1f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl | llvm-dis
+; RUN: opt %s -scalarrepl | llvm-dis
 ; rdar://6808691
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "x86_64-apple-darwin9.0"
index 37f071b681311665475bfdf3500edf56a8576a9e..aa3487b27707d88697395974ef2f56d2af468773 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl | llvm-dis
+; RUN: opt %s -scalarrepl | llvm-dis
 ; PR4146
 
  %wrapper = type { i1 }
index d93cc185f843b2ff09b2335436798728315d7a63..cecbdd4b881a9f51f7a7df96a7609ad2ad5e6c50 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl
+; RUN: opt %s -scalarrepl
 ; PR4286
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index 381d0fbc77fc08d26d9942f4b249d875e872e5cf..d69af114ad90bae39baef8f5844817063da228f1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-opt
+; RUN: opt %s -scalarrepl -disable-opt
 
        %struct.Item = type { [4 x i16], %struct.rule* }
        %struct.rule = type { [4 x i16], i32, i32, i32, %struct.nonterminal*, %struct.pattern*, i8 }
index 581421ef878297439f9e0f7a58779384fc28fad0..16b327356bbdd89ab9338f43a346f69186503450 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   not grep alloca
 
 target datalayout = "E-p:32:32"
index adc411324142b7e982ba3353dbf17024c1d73477..eb56824a317ad7c64b0ff1dcc5687b76979a59a6 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a feature test.  Hopefully one day this will be implemented.  The 
 ; generated code should perform the appropriate masking operations required 
 ; depending on the endianness of the target...
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   not grep alloca
 
 define i32 @testfunc(i32 %i, i8 %j) {
index 849b4d59bde206095222d4d91e8ad1b01af140aa..2f68af8a464a2f81ad37d1f5f801ebe668c6def7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -mem2reg -S | not grep alloca
+; RUN: opt %s -scalarrepl -mem2reg -S | not grep alloca
 
 define i32 @test() {
        %X = alloca [4 x i32]           ; <[4 x i32]*> [#uses=1]
index 92191d45e6352f90fb95ff174fdb293b296d0cc8..909966f19038c17a5aea83950f07dcd431210f8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -instcombine -S | not grep alloca
+; RUN: opt %s -scalarrepl -instcombine -S | not grep alloca
 ; PR3466
 
 define i32 @test() {
index 84baf07d2526d42288ba04a00fde0b118a29e212..a43243cabb676c23229154a007cf06aa512ff0eb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -mem2reg -S | not grep alloca
+; RUN: opt %s -scalarrepl -mem2reg -S | not grep alloca
 
 define i32 @test() {
        %X = alloca { i32, float }              ; <{ i32, float }*> [#uses=1]
index 2d9e5696ea279306a3ffb061288e7d9f3c6dd1d4..6b3d414d34f625db677ec345ef115eb795a46c0d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | not grep alloca        
+; RUN: opt %s -scalarrepl -S | not grep alloca        
 ; rdar://6532315
 %t = type { { i32, i16, i8, i8 } }
 
index 17534cf937dc984e75b85017022aad1f5ad813de..26f007b3c05a58d1c764b6b50fcb1a247266bc1c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | not grep alloca
+; RUN: opt %s -scalarrepl -S | not grep alloca
 ; PR3290
 
 ;; Store of integer to whole alloca struct.
index 6c6a396644b822274a25bf42a4b44e58ef474681..903b1a2394a45cb25ba992fc5cd3062b35dfc869 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | not grep alloca
+; RUN: opt %s -scalarrepl -S | not grep alloca
        %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*, i1, i1, i8* }
index 7990b3158d6db61b0cc5e5d860edd70583ef474a..9ea3895a22e737b9d63cbe7e35b443d48601e5e0 100644 (file)
@@ -2,7 +2,7 @@
 ; are directly loaded from or stored to (using the first class aggregates
 ; feature).
 
-; RUN: opt %s -scalarrepl -S > %t
+; RUN: opt %s -scalarrepl -S > %t
 ; RUN: cat %t | not grep alloca
 
 %struct.foo = type { i32, i32 }
index e5bf52289a93c769df29184f93929d2fa3e77a24..38a2ca05cad912fe5e73e8460eccfae57be153f2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S | not grep {call.*memcpy}
+; RUN: opt %s -scalarrepl -S | not grep {call.*memcpy}
 @C.0.1248 = internal constant [128 x float] [ float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00 ], align 32               ; <[128 x float]*> [#uses=1]
 
 define float @grad4(i32 %hash, float %x, float %y, float %z, float %w) {
index 44f094c7c0b8fbec3a6594f4f86cf54defd8c7b3..0d61e5aab6c7776017ba7daf6df99f65c75a5e39 100644 (file)
@@ -1,7 +1,7 @@
 ; PR1226
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   not grep {call void @llvm.memcpy.i32}
-; RUN: opt %s -scalarrepl -S | grep getelementptr
+; RUN: opt %s -scalarrepl -S | grep getelementptr
 ; END.
 
 target datalayout = "E-p:32:32"
index c4685bd2264b98b9fabc73efa77e5c667cc1b597..5aeefcd13180fa26a8bd049f50411b9ca7efc0b5 100644 (file)
@@ -1,7 +1,7 @@
 ; PR1226
-; RUN: opt %s -scalarrepl -S | grep {ret i32 16843009}
-; RUN: opt %s -scalarrepl -S | not grep alloca
-; RUN: opt %s -scalarrepl -instcombine -S | grep {ret i16 514}
+; RUN: opt %s -scalarrepl -S | grep {ret i32 16843009}
+; RUN: opt %s -scalarrepl -S | not grep alloca
+; RUN: opt %s -scalarrepl -instcombine -S | grep {ret i16 514}
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-apple-darwin8"
index e64d7d901c1c40c58ab4bbed94069fd805e67cdd..7eba7c019045f1a6441433eb27e47fb28c823d83 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -scalarrepl -S | not grep alloca
-; RUN: opt %s -scalarrepl -S | not grep {7 x double}
-; RUN: opt %s -scalarrepl -instcombine -S | grep {ret double %B}
+; RUN: opt %s -scalarrepl -S | not grep alloca
+; RUN: opt %s -scalarrepl -S | not grep {7 x double}
+; RUN: opt %s -scalarrepl -instcombine -S | grep {ret double %B}
 
 define double @test(double %A, double %B) {
        %ARR = alloca [7 x i64]
index c6f2525857c463633160bb1206656ed289ea8e5a..9c6e8b92f3e567c1f5aae06197c714d58fe2497f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -instcombine -mem2reg -S | not grep alloca
+; RUN: opt %s -simplifycfg -instcombine -mem2reg -S | not grep alloca
 ;
 ; This tests to see if mem2reg can promote alloca instructions whose addresses
 ; are used by PHI nodes that are immediately loaded.  The LLVM C++ front-end
index bcf84094840783721c212e44a659dfbc38dbbad1..d6b2b75327c50a336d1de87eb1a6c65603d12a7b 100644 (file)
@@ -1,7 +1,7 @@
 ; Test promotion of loads that use the result of a select instruction.  This
 ; should be simplified by the instcombine pass.
 
-; RUN: opt %s -instcombine -mem2reg -S | not grep alloca
+; RUN: opt %s -instcombine -mem2reg -S | not grep alloca
 
 define i32 @main() {
        %mem_tmp.0 = alloca i32         ; <i32*> [#uses=3]
index 9394eac23d246b5619e76ac94879ea31bc0c16db..2df3b9be1e4821c0e20e4fde6d57a073e8e5316d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl | llvm-dis
+; RUN: opt %s -scalarrepl | llvm-dis
 ; Make sure that SROA "scalar conversion" can handle first class aggregates.
 
 define i64 @test({i32, i32} %A) {
index 5d0db106fe81c6e90fcbf9114330bb3577066ecd..d8aa26dce637740e429d217b6b3f62714c1ea3a9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl | llvm-dis
+; RUN: opt %s -scalarrepl | llvm-dis
 
 define i32 @test(i32 %X) {
        %Arr = alloca [2 x i32]         ; <[2 x i32]*> [#uses=3]
index e77c3ac12c42d9b673d2c914fd1971b3b98fe6e6..0e1cd2307931b712c51c23f905a5a59b2541652d 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   not grep alloca
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   grep {bitcast.*float.*i32}
 
 define i32 @test(float %X) {
index 7ba619f9f014de2657b6b6057d36818c819e43ca..63752c8c8015b2f792a2a7cd5b3640d3343f07d7 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   not grep alloca
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   grep bitcast
 
 define <4 x i32> @test(<4 x float> %X) {
index 33075f5aad9d0bde74aee4db3dbcd57d871f69ee..fe702fa21772369a3c8e80442420ca0f6652bfb1 100644 (file)
@@ -1,7 +1,7 @@
 ; PR892
-; RUN: opt %s -scalarrepl -S | \
+; RUN: opt %s -scalarrepl -S | \
 ; RUN:   not grep alloca
-; RUN: opt %s -scalarrepl -S | grep {ret i8}
+; RUN: opt %s -scalarrepl -S | grep {ret i8}
 
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8.7.2"
index 8df27ffbcb7fe3c7e64289a35987363eb210f065..3af79bcebc794b217f9cb92ca057a85f014bdd15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -S > %t
+; RUN: opt %s -scalarrepl -S > %t
 ; RUN: grep {ret <16 x float> %A} %t
 ; RUN: grep {ret <16 x float> zeroinitializer} %t
 
index 597400d1cc4a9730be94e8eeb6215ac407fa867a..0284b3d57e3a8890a0e719db2cebc9ca782e5406 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -scalarrepl -S | not grep alloca
-; RUN: opt %s -scalarrepl -S | grep {load <4 x float>}
+; RUN: opt %s -scalarrepl -S | not grep alloca
+; RUN: opt %s -scalarrepl -S | grep {load <4 x float>}
 
 define void @test(<4 x float>* %F, float %f) {
 entry:
index 3cbcaf30ed39cf32d7828ef83841aca57071edd3..3ff322e065cbbdd5a7b4d144eb8ebb671de7c07c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -scalarrepl -S | grep {volatile load}
-; RUN: opt %s -scalarrepl -S | grep {volatile store}
+; RUN: opt %s -scalarrepl -S | grep {volatile load}
+; RUN: opt %s -scalarrepl -S | grep {volatile store}
 
 define i32 @voltest(i32 %T) {
        %A = alloca {i32, i32}
index eadafdb2e3264eeb290e48d7bc6d714dbbabafd5..414235ba7cde26d64cff6168a414627a7e10eafa 100644 (file)
@@ -1,6 +1,6 @@
 ; Basic block #2 should not be merged into BB #3!
 ;
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   grep {br label}
 ;
 
index 9f945a833a2ed501cdecd362b014ed4af097ab52..055386b3475197ea6966bc4302501abc25ca7dae 100644 (file)
@@ -4,7 +4,7 @@
 ;
 ; Which is not valid SSA
 ;
-; RUN: opt %s -simplifycfg | llvm-dis
+; RUN: opt %s -simplifycfg | llvm-dis
 
 define void @test() {
 ; <label>:0
index ef5a4f4f53329b4b067b54758beca150cfe658d2..9a1206221fb6e23f7509f2b670ced360bfffef06 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg
+; RUN: opt %s -simplifycfg
 
 define i32 @test(i32 %A, i32 %B, i1 %cond) {
 J:
index edef456a5f38db1687de7545c092f8cb380e07c9..87620461994196c2b1127df5c792522b34bb682b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @test(i32* %ldo, i1 %c, i1 %d) {
 bb9:
index 3e6b20829d7b817352fd8ef3d3214ab6e19dab72..c019931c07e756a8948c2cc2ab05d90921ce9333 100644 (file)
@@ -1,6 +1,6 @@
 ; Do not remove the invoke!
 ;
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define i32 @test() {
        %A = invoke i32 @test( )
index 610f7b55a6065bfd2a82d1793f41c8d829c84223..15cd7730449ee3bd6be7a7f5d93c261cf0d8b3ae 100644 (file)
@@ -1,6 +1,6 @@
 ; Do not remove the invoke!
 ;
-; RUN: opt %s -simplifycfg -S | grep invoke
+; RUN: opt %s -simplifycfg -S | grep invoke
 
 define i32 @test() {
        invoke i32 @test( )
index 018d21f7cc02948e6cca817a5f1873d602b44cb3..8ac9ae4437285268867a0c8575aa7c26a1406c16 100644 (file)
@@ -1,7 +1,7 @@
 ; This test checks to make sure that 'br X, Dest, Dest' is folded into 
 ; 'br Dest'
 
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep {br i1 %c2}
 
 declare void @noop()
index ebcbe2be6e7ea24c36ae937b6b7274edd640b841..888e187b6b4de770084a3b0be4df30cab9d2eb65 100644 (file)
@@ -3,7 +3,7 @@
 ; due to the fact that the SimplifyCFG function does not use 
 ; the ConstantFoldTerminator function.
 
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep {br i1 %c2}
 
 declare void @noop()
index 90a521a37cea876cef898592af1607b8da751cc9..577d65013e5e8bdbb508df36c12938cfbf7cecd8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep switch
 
 
index 8ba0ae99864d9302a0d59711ecd6c8a02c64394c..93f851c6f9eaa59cdd66eadf39c7ca8253b22178 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep switch
 
 ; Test normal folding
index f0331a46641978fd4ffe9a9a78c6ad61f54fa70d..fafe73b2b4efeefa42603ebdc9fe6d4fdc26290c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @symhash_add() {
 entry:
index 8e6bccb1dfe8ffa0a34433e6afd40c397e8a3543..90be6803a5c3a8e9f921b0e1b1cf9a6b32d8fcf4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; PR584
 @g_38098584 = external global i32              ; <i32*> [#uses=1]
 @g_60187400 = external global i32              ; <i32*> [#uses=1]
index 64e73567c488d5d62aafd97a4bc67118453f5c3e..c30bfa1379c73b35739ffe4e31fa50d97bdcf498 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
 
 define void @main() {
index 5b172b496f51e8f09e7fc7a917085d0c451c68af..477c9c9e3a0215c82076d1f650866267a494830c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
 
        %arraytype.1.Char = type { i32, [0 x i8] }
index 7f6e244b01b5e6e603c152813239154695b7ed51..778aa3b1f7b439ece1b7a9c393ce84da3a0160d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define i1 @foo() {
        %X = invoke i1 @foo( )
index 8e91e997c2e1c1a786366e820fa528a9bee0bac6..760aa139bf7bef9f293aef2bccd2376088a11b88 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure this doesn't turn into an infinite loop
 
-; RUN: opt %s -simplifycfg -constprop -simplifycfg |\
+; RUN: opt %s -simplifycfg -constprop -simplifycfg |\
 ; RUN:   llvm-dis | grep bb86
 ; END.
        
index 6ee83a48a5a076f6e5cec6ff6245a0bc5d008ee8..32f49e667883c4196372231fab07a6507ef06dfd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @polnel_() {
 entry:
index 4e975b04d9928224a55e68c5aca801a8b9b0d59c..21cfb2615ff7ff7175139c2bc15a000680ac8e96 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
 
 define void @main(i32 %c) {
index eb5a55f46cabca8b927cd5d4dd004ae8be583d6d..2c84c937ae39d5b4d18f79d7bf78a2daa80538ad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -simplifycfg \
+; RUN: opt %s -gvn -simplifycfg \
 ; RUN:   -disable-output
 ; PR867
 ; END.
index 5e54b4fe30cda98169c1e310549f4f41ccb6a1fe..009d1c8cc4da8a9e7be6f2445c822577ad9a717d 100644 (file)
@@ -1,5 +1,5 @@
 ; PR957
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep select
 
 @G = extern_weak global i32
index ecc51247e20fe79e2f9b1162c8ebada3de3f6df4..dba41c9b111fdc958007048e1997433421cbd44b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
        %struct..4._102 = type { %struct.QVectorData* }
        %struct..5._125 = type { %struct.QMapData* }
index 955a36ad3d936d13004c8774961bcfcc5df3dbda..af865ce7fac0b30ad5a0ccc8c59160f979d503b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg | llvm-dis
+; RUN: opt %s -simplifycfg | llvm-dis
 ; END.
 
 ; ModuleID = '2006-12-08-Ptr-ICmp-Branch.ll'
index 9f01d85c2a3c760fb7cb3debbb5a06d7765eade0..a20c46e1ad1f922e573eb53103f263f4b04b99a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | not grep invoke
+; RUN: opt %s -simplifycfg -S | not grep invoke
 
 declare i32 @func(i8*) nounwind
 
index 22814959d72503b4597ee25109cd9cbe81e1d819..46df0f0ed07138b5a53d37268b3e55e2c1d49c53 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: opt %s -simplifycfg -disable-output
+;RUN: opt %s -simplifycfg -disable-output
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 
 define i32 @bork() nounwind  {
index 194d2a57cac5467a2aab3ffe93dbf49a6292eed7..00f2d5bcf1350429d6c33120f024ebbb4d7b4178 100644 (file)
@@ -1,5 +1,5 @@
 ; The phi should not be eliminated in this case, because the fp op could trap.
-; RUN: opt %s -simplifycfg -S | grep {= phi double}
+; RUN: opt %s -simplifycfg -S | grep {= phi double}
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-apple-darwin8"
index 145ec556bc243e19cd49f16d03a64dfcb1f2d423..8e05a3cddca2110269aa481f0091f7950ad83483 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; rdar://5882392
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-apple-darwin9"
index c3813a0281427326ae32788031f7998f11e7fcc2..ba33d84f84aa2f20b33034a4b11a80a113fff8fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; PR2256
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-mingw32"
index 377c58466419313327b51cbec815f085f134c0e6..59e886b2ddbe546c222e256c3b5cfd4d638f6f87 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S > %t
+; RUN: opt %s -simplifycfg -S > %t
 ; RUN: not grep {^BB.tomerge} %t
 ; RUN  grep {^BB.nomerge} %t | count 2
 
index 0b01c44d2c1c708f9fd4515f5d265aa1dc260363..d025dee85f2def07c2def4f5af316c0e64f2747e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | grep {%outval = phi i32 .*mux}
+; RUN: opt %s -simplifycfg -S | grep {%outval = phi i32 .*mux}
 ; PR2540
 ; Outval should end up with a select from 0/2, not all constants.
 
index 3bbba1c5fbd79a3eeb52a6e562bdfe7d2e47ac58..ac9622d43c31e3cb04f3d36903a442e4a4b4e11c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; PR 2777
 @g_103 = common global i32 0           ; <i32*> [#uses=1]
 
index 1746fa999838e4e2d531fab24c107de720bfcdf1..f864184eb844eec5199fea04fe75e8dfdb9f721f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; PR 2800
 
 define void @foo() {
index 0006e4a5d3d441a52167d824a4371a283ba69bc6..bb137c1babcb1d90eb13d619385bca9cafd17b2a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg
+; RUN: opt %s -simplifycfg
 ; PR2855
 
 define i32 @_Z1fPii(i32* %b, i32 %f) nounwind {
index 6dffdf1598a9f2237603344d5eab59fdd96f517c..d3c7c320cee3a0289c28d2e7be5c2a93fbe1f572 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg | llvm-dis
+; RUN: opt %s -simplifycfg | llvm-dis
 define i32 @test() {
 entry:
        br label %T
index 7ad0c4b65ae3efde75face392272c3968b485d4c..727102435fc7b37fc5fbb1b57220e7155f99b987 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | not grep icmp
+; RUN: opt %s -simplifycfg -S | not grep icmp
 ; ModuleID = '/tmp/x.bc'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i686-pc-linux-gnu"
index b43ce8a3679dd404e59956a0238b1f2aef961317..7b8a9187c413486aeb51f5556eef9e8ecb7cab41 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg | llvm-dis
+; RUN: opt %s -simplifycfg | llvm-dis
 ; PR3016
 ; Dead use caused invariant violation.
 
index 1fefa0868a640be5840946d0a6b9bde2e86e811a..33167bd5c661d1aa9d9ffdd62a3c1f6db0fde07b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | grep {br i1 } | count 4
+; RUN: opt %s -simplifycfg -S | grep {br i1 } | count 4
 ; PR3354
 ; Do not merge bb1 into the entry block, it might trap.
 
index 617cdfb53b8b1dd5cb3e48a133e0aef438da302d..9caa9a1a0fb212c74816e2539d6eb1427918ed13 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | grep select
+; RUN: opt %s -simplifycfg -S | grep select
         %llvm.dbg.anchor.type = type { i32, i32 }
         %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
 
index 9d71dd8c46dfae8f21e18a68b1ef1d9646aa6439..419feb6b56a1dc4b00671a86710107211acac764 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | not grep select
+; RUN: opt %s -simplifycfg -S | not grep select
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin10.0"
index bcc4b8727b48bd9bb491b4087beaf39e7a3a3592..72a15b1c8b224c3a7c3a1207e2fec1fb2d1e8fb2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
        %struct..4._102 = type { %struct.QVectorData* }
        %struct..5._125 = type { %struct.QMapData* }
index 3afb6b262b5cabcd10edc4fd1e02ba6f8a9de881..b19a27dea048d5155d15e44467afd2bbc7fdbda9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN: not grep {br label}
 
 define void @test(i1 %C) {
index 6bc54abce90fb484872ef48ef2512116fa6a3f21..83394628cc4470fb9e006e39d51adf6919760e66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep {icmp eq}
 
 ; Check that simplifycfg deletes a dead 'seteq' instruction when it
index 8104715fcab3f32ee29abfc2a36242045e64ea96..912c7556e00654c86d282f6bc9c6acdf1484b48c 100644 (file)
@@ -1,6 +1,6 @@
 ; Test merging of blocks with phi nodes.
 ;
-; RUN: opt %s -simplifycfg -S | not grep N:
+; RUN: opt %s -simplifycfg -S | not grep N:
 ;
 
 define i32 @test(i1 %a) {
index 1e746c421f37ddae9d19c86adec8f2eb7dcb45ce..9f3bd4ee510536b3d2663e8f58914753a1109b9c 100644 (file)
@@ -3,7 +3,7 @@
 
 ; If this test is successful, the function should be reduced to 'call; ret'
 
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not egrep {\\(invoke\\)|\\(br\\)}
 
 declare void @bar()
index 3ef1fe2969d3ea1b11c37dbd378482cc34798392..a648efd1740ea9fffb84ff254cd4db5da9af13fe 100644 (file)
@@ -1,6 +1,6 @@
 ; Test merging of blocks that only have PHI nodes in them
 ;
-; RUN: opt %s -simplifycfg -S | not grep N:
+; RUN: opt %s -simplifycfg -S | not grep N:
 ;
 
 define i32 @test(i1 %a, i1 %b) {
index 89a7e598b99b66a699e8c69223d73cff4d7acb36..fb5d600f11483ed7f882de6b3251565578b1531d 100644 (file)
@@ -2,7 +2,7 @@
 ; where the mergedinto block doesn't have any PHI nodes, and is in fact 
 ; dominated by the block-to-be-eliminated
 ;
-; RUN: opt %s -simplifycfg -S | not grep N:
+; RUN: opt %s -simplifycfg -S | not grep N:
 ;
 
 declare i1 @foo()
index a877a1f1a2504469dfe82fb61c102a863a15b843..73cf466a4f7486852c866f1ed2cd30831700182d 100644 (file)
@@ -3,7 +3,7 @@
 ; nodes away allows the branches to be eliminated, performing a simple form of
 ; 'if conversion'.
 
-; RUN: opt %s -simplifycfg -S > %t.xform
+; RUN: opt %s -simplifycfg -S > %t.xform
 ; RUN:   not grep phi %t.xform 
 ; RUN:   grep ret %t.xform
 
index ccca831e09959801ceacfe28c708977f362d8075..e9902e094422592bc153b967229d8533b6fbc3be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep select
 
 ;; The PHI node in this example should not be turned into a select, as we are
index bbc8619b00622286e0c7ec7c918240b6141d2397..bf9d9535d63653ea1b6aa41b4d9cd63f7f5428d4 100644 (file)
@@ -2,7 +2,7 @@
 ; a PHI node and a return.  Make sure the simplify cfg can straighten out this
 ; important case.  This is basically the most trivial form of tail-duplication.
 
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:    not grep {br label}
 
 define i32 @test(i1 %B, i32 %A, i32 %B.upgrd.1) {
index a9623efee81d04de4ea8acd115cf7475e3cf7a11..7133d9875cafb473b0fd5df3e11b8567bea9521d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | not grep unreachable
+; RUN: opt %s -simplifycfg -S | not grep unreachable
 
 define void @test1(i1 %C, i1* %BP) {
         br i1 %C, label %T, label %F
index 8769f7954ef336854bf53eb830ff4d3db785474b..761f0d53905b17606ba9352b019c6d66faae2cca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | grep {br i1} | count 1
+; RUN: opt %s -simplifycfg -S | grep {br i1} | count 1
 
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
index 98fa8a5cd3325ece12cdd9005b5e658b0c2b1a9e..f73e01ca47671d761a979b9d898a46f480277963 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -instcombine \
+; RUN: opt %s -simplifycfg -instcombine \
 ; RUN:   -simplifycfg -S | not grep call
 
 declare void @bar()
index 1ba6226200165d1d11b1a3b78cf96203400908f1..448934e725081cce2d2785821b02df9bcbdb8c9e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | not grep call
+; RUN: opt %s -simplifycfg -S | not grep call
 
 declare void @bar()
 
index c3d51c19df47fb621e0c666a9e976581a7c10ecf..266609b52a54ae638a390e245aabe4941d431e21 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | grep {br i1} | count 1
+; RUN: opt %s -simplifycfg -S | grep {br i1} | count 1
 
 define void @test(i32* %P, i32* %Q, i1 %A, i1 %B) {
         br i1 %A, label %a, label %b
index 1d926d58dd75f4b002cb7cb30ead7eb1b0c51c14..f52d979ecd390520d175fa3fde05c3f3f654fc3f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -adce -S | \
+; RUN: opt %s -simplifycfg -adce -S | \
 ; RUN:   not grep {call void @f1}
 ; END.
 
index c9b7b86e2190c6f9a93e3c53dc6b594dbeb70181..1a9f20ac871ec4eedad1eb857a47e9b2852fcda7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | not grep "br label"
+; RUN: opt %s -simplifycfg -S | not grep "br label"
 
        %llvm.dbg.anchor.type = type { i32, i32 }
        %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 }
index 5f5a1b047492b4c1f0aebde08cc89555c3bcfe7c..a3974110576486b622dd561e405f1b8d7891c255 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | not grep bb17
+; RUN: opt %s -simplifycfg -S | not grep bb17
 ; PR1786
 
 define i32 @main() {
index 16cebc2e313e792f096b6c581431f7835f4749e6..b45477828374ee022bfb55c6e182114a80f0b384 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | grep unreachable
+; RUN: opt %s -simplifycfg -S | grep unreachable
 ; PR1796
 
 declare void @Finisher(i32) noreturn
index 6d10ebfcfbdafda0c46de950fdf469527c0e4f0c..bbc0bd78da7c86c43d66aa771422d29efeedf1c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @NewExtractNames() {
 entry:
index eff4717cc24c6170e90efffc5a36c1a0a6a2d5f6..bd85fccd5273b0e1a193978aa5c19108f6044340 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep {call void @DEAD}
 
 ; Test that we can thread a simple known condition through switch statements.
index 1596f0e03698c375c638fb3d4914738128f874b6..0c9cc8be925145efd8c64d69adcea58eebb99108 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | grep {volatile load}
+; RUN: opt %s -simplifycfg -S | grep {volatile load}
 ; PR2967
 
 target datalayout =
index 5b7ec094d7f5703c90a3e7d948fa24703e07909f..8816579a42ffc00cf122da3b05ac56f6bc63e854 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -disable-output
+; RUN: opt %s -simplify-libcalls -disable-output
 
 @G = constant [3 x i8] c"%s\00"                ; <[3 x i8]*> [#uses=1]
 
index 9b3cc59e6fd24521f48569a7c9b45fc3fad129c7..8e9f2062cded42611a48f06bab40df8e8c269f59 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1307
-; RUN: opt %s -simplify-libcalls -instcombine -S > %t
+; RUN: opt %s -simplify-libcalls -instcombine -S > %t
 ; RUN: grep {@str,.*i64 3} %t
 ; RUN: grep {@str1,.*i64 7} %t
 ; RUN: grep {ret i8.*null} %t
index 6b8574c75e6600124fcbc6dd362f76079b774202..b6874322c4c763bc1ed60dbd87503233c22321a5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S | grep i32
+; RUN: opt %s -simplify-libcalls -S | grep i32
 ; PR2341
 
 @_2E_str = external constant [5 x i8]          ; <[5 x i8]*> [#uses=1]
index 1b6a6b4ca8131d197a4e1a74cad1629ee24ef95c..73eb05b05e346ecb752b664050022c55fa42c860 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S > %t
+; RUN: opt %s -simplify-libcalls -S > %t
 ; RUN: grep noalias %t | count 2
 ; RUN: grep nocapture %t | count 3
 ; RUN: grep nounwind %t | count 3
index 9fbbb0b39d2ac6a786b130922819c17c45458a28..ac89199b0ec128ac9fc80b15c4fd7d6e68623f03 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -simplify-libcalls -functionattrs | \
+; RUN: opt %s -inline -simplify-libcalls -functionattrs | \
 ; RUN:   llvm-dis | grep nocapture | count 2
 ; Check that nocapture attributes are added when run after an SCC pass.
 ; PR3520
index 951c78bb6171083755496f855a246c401852e230..cb9819cacea6f76b31ddc083ed41d5a6810a050f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S > %t
+; RUN: opt %s -simplify-libcalls -S > %t
 ; RUN: grep nocapture %t | count 2
 ; RUN: grep null %t | grep nocapture | count 1
 ; RUN: grep null %t | grep call | grep readonly | count 1
index 984578af9bf0f72323f23da1d4671c9582c7c2e7..9056499b4c55d7e984a0f7b68c0544dcc05e626e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -instcombine -S | grep {ret i32 -65}
+; RUN: opt %s -simplify-libcalls -instcombine -S | grep {ret i32 -65}
 ; PR4284
 
 define i32 @test() nounwind {
index 7114fce4686ca5377c20abab188e4904506a1da5..7af0a261d4366dfa25046fbf33dd4557ff376731 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -disable-output
+; RUN: opt %s -simplify-libcalls -disable-output
 ; PR4641
 
        %struct.__sFILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, i8*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64, %struct.pthread_mutex*, %struct.pthread*, i32, i32, %union.anon }
index 22d817c79a90f5d44b48c76af65dcdb3bdba6605..b5a788e09735cc5965ad052e84060c2690f70786 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -disable-output
+; RUN: opt %s -simplify-libcalls -disable-output
 ; PR4645
 
 define i32 @main() {
index 5ede6e6d0df29619e122c008e789aa12dbd8e4c5..ab45f1819b291898c74db3f8702546ac0a140b02 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the ToAsciiOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*@ffs}
 
 @non_const = external global i32               ; <i32*> [#uses=1]
index 29c10dda4ba3909981b97c2c3a60749225ea8f3f..4a0d232dac3bacb6073a9c38172dbf594c5caed9 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the FPrintFOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*fprintf}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index 6f4dddced6282e5645b7411ebcf0575c70f64d80..51a769d9bb3dae2d7f2da2f6aa9662094f37dfce 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the IsDigitOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep call
 
 declare i32 @isdigit(i32)
index a1a70ec4094de57c2831b18d672a714b46657279..39662b1589af2633a6464a72a6bd5c6504189d66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop -instcombine -S | not grep {call.*llvm.memcpy.i32}
+; RUN: opt %s -constprop -instcombine -S | not grep {call.*llvm.memcpy.i32}
 
 @h = constant [2 x i8] c"h\00"         ; <[2 x i8]*> [#uses=1]
 @hel = constant [4 x i8] c"hel\00"             ; <[4 x i8]*> [#uses=1]
index bcc1c2238e09357205899f4e536d4367fc4d6c3c..858a09c96f6fe4591685c193d4cc0feb06b3d671 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -simplify-libcalls -S | grep putchar
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | grep putchar
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*printf}
 
 @str = internal constant [13 x i8] c"hello world\0A\00"         ; <[13 x i8]*> [#uses=1]
index 96a410f746219915a25091ed976da512bdd9df0a..47a33c2d98d5eef3017a160aa62d91e313e91906 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the PutsCatOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*fputs}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index 52e03b6113a0e92add97e61e2e7c1d7af21b8e09..847e363f52c11c47e75a31b3785234f6d6babb75 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the SPrintFOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*sprintf}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index e54d51f1392024fd88fb053085ed124b44148932..4e3d0ab7f40fa2d6eceda310b0c666e01ba42e8f 100644 (file)
@@ -1,8 +1,8 @@
 ; Test that the StrCatOptimizer works correctly
 ; PR3661
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*strcat}
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   grep {puts.*%arg1}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index bd73d4d03097825f1c390262a93951f74a6ccde5..50ca0a6edbf88c87d8017f5e53822bf2a12a0e42 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrChrOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*@strchr}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index e1d0bff73bf6878fffb0a2977af1b1e8895f2deb..73596351a8ccf4b7a4a459de8fa5822a503666e8 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrCmpOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*strcmp}
 
 @hello = constant [6 x i8] c"hello\00"         ; <[6 x i8]*> [#uses=1]
index e155af25b879babf8ff719ade6fc002dc5ca841f..75429842cd21b0fb66adf8cf78f4e9b138dc9df3 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrCpyOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*strcpy}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index 10de611c5408c3dc0d3d7294f92e12f8594a77ee..45b349d6840db72331b3d0e0565c3536992c0867 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrCatOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:    not grep {call.*strlen}
 
 target datalayout = "e-p:32:32"
index 41795c3dc14d6f5a98a82c478dcd695da4c2d513..d09c022fd4cd9ac48c99aac5c7ee173ca348601d 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that the StrNCatOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*strncat}
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   grep {puts.*%arg1}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index 82237245a6f3476c90048dfa8117febd650f456a..ba77385617740cce68b25d6b376f0871980a04ef 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrNCmpOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*strncmp}
 
 @hello = constant [6 x i8] c"hello\00"         ; <[6 x i8]*> [#uses=1]
index 0ce1ca9ee8268282777440f129f2dbe921a1d347..c8af3ca8c3e279e3f3f824cd46fe3df172a5133c 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrNCpyOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*strncpy}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index c583f4e7f48d4753c5c9e8904fc3150e9feadfe9..e2b5683d9d73eb205c215dac513ced56bbe77ece 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the ToAsciiOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | \
+; RUN: opt %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*toascii}
 
 declare i32 @toascii(i32)
index 637d335a4fe82d1313faf4dd39a23beb5b811d5c..6fbe0b9de44ec054898caeecb112250ebde5d7d3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S | grep {select i1 %ispos}
+; RUN: opt %s -simplify-libcalls -S | grep {select i1 %ispos}
 ; PR2337
 
 define i32 @test(i32 %x) {
index b4e23b7083ffb93652ccf709334d645ff127bfdb..2f5d910558f56a63bd2a66ce863ac63b95e24a6e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S | grep {call.*ldexp} | count 4
+; RUN: opt %s -simplify-libcalls -S | grep {call.*ldexp} | count 4
 ; rdar://5852514
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index 4c3641b78b4fb7803bbf035fba8fcc01971aa42b..a7af5a96863977cfef3c21ddf970d15118e0473b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S > %t
+; RUN: opt %s -simplify-libcalls -S > %t
 ; RUN: not grep {call.*floor(} %t
 ; RUN: grep {call.*floorf(} %t
 ; RUN: not grep {call.*ceil(} %t
index 91d0aef5ff357f1098f4692f397231c5bdbf9b9e..700873627ec22559d6d64a90dd8779c63833f014 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the memcmpOptimizer works correctly
-; RUN: opt %s -simplify-libcalls -S | not grep {call.*memcmp}
+; RUN: opt %s -simplify-libcalls -S | not grep {call.*memcmp}
 
 @h = constant [2 x i8] c"h\00"         ; <[2 x i8]*> [#uses=0]
 @hel = constant [4 x i8] c"hel\00"             ; <[4 x i8]*> [#uses=0]
index e1fddd9c4b473a914e1c7cf66ea4a159f0401226..c0c00506cdd339474132c26f39285aed51d0ab4e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S | grep {llvm.memmove}
+; RUN: opt %s -simplify-libcalls -S | grep {llvm.memmove}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i686-pc-linux-gnu"
 
index 0b1db5ae07bd6334265949e6947887757f953d88..fb752c4083af19a43889e1878160f4e1ddede08b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S | grep {llvm.memset}
+; RUN: opt %s -simplify-libcalls -S | grep {llvm.memset}
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-pc-linux-gnu"
 
index 2e25bdd9cdb965a5201fd12c4499d0b30b450fbe..0aede064cac1c9f9bb9e3c604b861c91dc979be9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S | grep {llvm.memset}
+; RUN: opt %s -simplify-libcalls -S | grep {llvm.memset}
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i686-pc-linux-gnu"
 
index ce6303d1fa9438068021340539bb30d4319b9f5a..f8364f740b2285346bb842478320bd17580b3107 100644 (file)
@@ -1,6 +1,6 @@
 ; Testcase for calls to the standard C "pow" function
 ;
-; RUN: opt %s -simplify-libcalls -S | not grep {call .pow}
+; RUN: opt %s -simplify-libcalls -S | not grep {call .pow}
 
 
 declare double @pow(double, double)
index e07fbd6733a789400504af95af5cb8d136db440b..5875b211f7767db4377e8b1663fbc902090ebc15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplify-libcalls -S | FileCheck %s
+; RUN: opt %s -simplify-libcalls -S | FileCheck %s
 ; PR4738
 
 ; SimplifyLibcalls shouldn't assume anything about weak symbols.
index 7b9545e3ed85858bdcafb239756d5d67b6be30f0..b2a9ed2813d62d4263ae004734eb22ef31b9d323 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailcallelim -S | not grep call
+; RUN: opt %s -tailcallelim -S | not grep call
 
 define i32 @factorial(i32 %x) {
 entry:
index 99eb057f53ac0b21d852d52e3069cbd32510983a..2a90cf3b22d73c6af9a2fbcb9ca1a8b3f4e6d238 100644 (file)
@@ -3,7 +3,7 @@
 ; go out to the anonymous users of the demo script for "suggesting" 
 ; optimizations that should be done.  :)
 
-; RUN: opt %s -tailcallelim -S | not grep call
+; RUN: opt %s -tailcallelim -S | not grep call
 
 define i32 @mul(i32 %x, i32 %y) {
 entry:
index 7f08a06be02c76b10d70e9cbbd033f947b86b992..5cc92e1b17306fc12b05179ec3d360cf88311df1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailcallelim -S | \
+; RUN: opt %s -tailcallelim -S | \
 ; RUN:    grep {call i32 @foo}
 
 declare void @bar(i32*)
index 9a5a8db21c5740a6a084eea0fa664675e4dce2aa..a5f246d36ce1fb19711f52ab80dcfa007dd8eeb9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailcallelim -S | grep call
+; RUN: opt %s -tailcallelim -S | grep call
 ; Don't turn this into an infinite loop, this is probably the implementation
 ; of fabs and we expect the codegen to lower fabs.
 
index 7453be5c367a6d091f8fb57ff055e26b00216c7e..0c40bd5dc50d3bf525e98e015e6ace65718fbda2 100644 (file)
@@ -1,5 +1,5 @@
 ; This function contains intervening instructions which should be moved out of the way
-; RUN: opt %s -tailcallelim -S | not grep call
+; RUN: opt %s -tailcallelim -S | not grep call
 
 define i32 @Test(i32 %X) {
 entry:
index ff97482dc0be0112cb8f0707088e8e079ca4e51d..48e5641bb57a3d99a667ce70ffb5326fc724b219 100644 (file)
@@ -1,7 +1,7 @@
 ; Though this case seems to be fairly unlikely to occur in the wild, someone
 ; plunked it into the demo script, so maybe they care about it.
 ;
-; RUN: opt %s -tailcallelim -S | not grep call
+; RUN: opt %s -tailcallelim -S | not grep call
 
 define i32 @aaa(i32 %c) {
 entry:
index c9da377755e58b52a33c4c5ae44f0c5a10bced85..3dddb013f7ce65a6b013fb1b6f2e7cfce9ba7a8e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailcallelim -S | \
+; RUN: opt %s -tailcallelim -S | \
 ; RUN:    grep {tail call void @foo}
 
 
index f12c8c01380fc8fa33db38ad6bd92d08fd038ffd..d7e45af5eceb7f1f136119acef19c136b5a08f78 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @motion_result7() {
 entry:
index 09916e8869c4585b6d4f6406a8032b3f1a2684f6..90f49909e5c103d8994bde1de24ded395623d872 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @sum() {
 entry:
index 2a5b80e04984565c2d07b67d210fcb1aa9d441e9..efe9eaed7ebdd64ae2c507a7791f51bb8de5e614 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @sell_haggle() {
 entry:
index 4fc7088b887dd7a4d2db037c303c6d435541c0e5..dc6492353b7ed27fb145f3493f3d9d6abba83bf5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @foo() {
 entry:
index efc08d63c1af13a842613ae5754cd35dd9658e5b..c1e5f738a7d98a705ab337039547007bacfd1ee5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @interpret() {
 entry:
index 9a7c4b05bf1d1627e1d0cc26006d91250958b3b3..3e4f0b78748c4685f5874d9e66b4d2654bec3239 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate | llc
+; RUN: opt %s -tailduplicate | llc
 ; PR2323
 
 define i32 @func_27(i32 %p_28) nounwind  {
index 6706527b2e449f2d24c139884029876c43423e4f..88a565684c5df74d4cd7454ce96f7e9436124253 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -taildup-threshold=3 -stats -disable-output | not grep tailduplicate
+; RUN: opt %s -tailduplicate -taildup-threshold=3 -stats -disable-output | not grep tailduplicate
 ; XFAIL: *
 
 define i32 @foo(i32 %l) nounwind  {
index 45bc600529bfeeecc47c06d43f29a497e32eacb7..ad1a0404761a6b308a7f6fb5efb4c59b8d2abd18 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 ; PR4662
 
 define void @a() {
index 9c06d9bca87090ed6f53a18bf0ae95281d84143e..2224283d8eec639963549598a50e5d8899a52fe6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -taildup-threshold=2 -S | grep add | not grep uses=1
+; RUN: opt %s -tailduplicate -taildup-threshold=2 -S | grep add | not grep uses=1
 
 define i32 @test1(i1 %C, i32 %A, i32* %P) {
 entry:
index 49eb6a566726e4ecb57441a296cb47c1899a1c81..38d8ebfcce5654c436c8e4816356aace9c777baf 100644 (file)
@@ -1,6 +1,6 @@
 ; This test checks to make sure phi nodes are updated properly
 ;
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @test(i1 %c, i32 %X, i32 %Y) {
        br label %L
index 33e760a0fcc0e0fb2fd36f67be08ddec1690f8e7..94f5d87ad2bbc1b15cf66e76615ad5468961d688 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 declare void @__main()
 
index b49dc87b8bdee5e444680b3e8488ce42e93c08e0..81a996adfee23718f5703c26636c8c39cf997865 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @ab() {
 entry:
index 7a5b0b297826dcbdee7652cf8337338b39a7883f..2e4f5be38d1d2b71161646a8914aa0cda1aec1cb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate | \
+; RUN: opt %s -tailduplicate | \
 ; RUN:   llc -march=x86 -o %t
 ; RUN: grep {\\\<je\\\>} %t
 ; RUN: not grep jmp %t