OSDN Git Service

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 7bd5fdd..5ba3499 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 f99d305..a973103 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 87d21cf..5a50dd5 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 36c5c80..da67511 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 87d5d1e..47226dd 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 1b50778..13c12dc 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 ffb7339..e0c2edc 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 67adcbd..562c961 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 453d023..f9f938f 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 17f3c04..6b50a16 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 a662446..4f8eabb 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 6e9276f..f7e8295 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 ecfa706..97bc38e 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 ee7c659..d439dfc 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 d832b10..0abd384 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 1db578c..3e813fa 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 231521d..637d8f0 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 76a644e..911f78c 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 46025d0..8166b97 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 ddecfb7..e1cfd03 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 b43bb3f..81248db 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 bbf8c5a..0e03db3 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 ed89cb5..4564263 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 00fbc15..5d08312 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 0ebe4e8..917bf25 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 6a92fd8..035299e 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 34b0f6f..78f24b5 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 a01aec8..f0f1535 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 c509dc3..8028afb 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 26e14df..2069401 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 8e8d92c..ba29f3a 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 a0cb26a..06018cc 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 40ca09e..aaf9061 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 8864571..3ab5d03 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 f5ffccc..cdcafdf 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 866bdb2..87772bf 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 191708a..95f94d0 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 767b36a..737ee45 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 716a5dc..a903362 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 a3f38a0..0a643d4 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 5a8a2ee..8f7c0a7 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 a0b6a44..ccabce9 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 39a70ab..7970fbb 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 cffb872..54e6e79 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 09c4322..d8e7c75 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 dc07a1b..f7d6c57 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 3977a5c..6e34209 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 2b7bae2..12849b7 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 deb949b..e31f416 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 191e0aa..96dc739 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 61297b6..17ace8a 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 0de1d8a..3e5d119 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 479c6b4..b1d4593 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 a0a4dde..4074909 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 7bcb08d..257c0ee 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 dc75fcb..994aff8 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 2bc02d2..a5f504b 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 6514e0c..3270895 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 57484ed..3d9f258 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 4aa96e6..4433138 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 0ee8156..0a93762 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 b437266..617c23f 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 ccaeeec..c0b0606 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 8b016f6..b73b7f0 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 59303c6..1ec056b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -postdomfrontier -disable-output
+; RUN: opt %s -postdomfrontier -disable-output
 
 define void @SManager() {
 entry:
index 9f03261..767e5db 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 6371422..afb4776 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 ffdfc2e..cbaf476 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 ee7cce1..7f82ea4 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 d8ba3f5..e67e4d0 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 6813b90..f623da1 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 9b490bf..817090f 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 1d01bb4..514920f 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 567e613..2b3c982 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 fb6092c..c8e483e 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 5266df8..cb9a182 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 3ccd79b..bf9f4a9 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 42472fd..8d15b77 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 2aa5557..d503329 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 0768eaf..850b670 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 66f4a8c..59e9fda 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 64b9297..989ac51 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 116e6da..803c7d1 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 4ab5735..97d0640 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 5917a5a..7f4de91 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 afea1bc..fa09895 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 775ecc7..5a28117 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 d8ae095..9daff99 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 cd02ec9..5a2c366 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 8be6f2c..daeb26a 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 4c89a3b..9dda78b 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 23e9630..bcbe92f 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 cbab6a6..2ee107a 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 03b67c3..0cfd84c 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 7e0f452..4ec358c 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 e25183c..1fe1068 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 01a3605..9d13695 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 f8409d3..78a7fd0 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 4261984..6ed2614 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 6b94c8a..fcc6fc3 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 767194c..90d947f 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 0db3f97..f638eb3 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 5c6133e..31b95e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -iv-users
+; RUN: opt %s -iv-users
 ; PR4538
 
 ; ModuleID = 'bugpoint-reduced-simplified.bc'
index e305684..b733d6a 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 5c77005..0bc9ce8 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 5d8dbd3..0c01044 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 d820664..f8d7da7 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 47d7da1..506401d 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 ce34662..c31edab 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 a440ac9..4de006c 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 7917224..10e328d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR 3909
 
 
index 60ffaf2..0dcf529 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 6929f3d..1612835 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 dde291f..8f887c4 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 fdbdfb7..02c3206 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 db0d682..b25c237 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 e87bd88..39de8d6 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 f43d192..66cc304 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 38700e1..bbe6435 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 e4ef955..2409831 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 31e8110..e8d59cf 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 5e286e3..2512a96 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 89fdc3a..5833286 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 6534e6e..0cd8d7c 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 312a3b5..c49f5ce 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 8541af4..c8339d7 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 6b40201..9ff99be 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 1ba9270..7960c20 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 85d892d..567e9de 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 3f0ff8a..32c893a 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 94529b9..f61a44c 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 8822967..d88f811 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -constprop | llvm-dis
+; RUN: opt %s -constprop | llvm-dis
 ; PR3465
 
 define double @test() {
index d4344a0..dda376d 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 4ee0b87..1760190 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -deadargelim
+; RUN: opt %s -deadargelim
 
 declare void @llvm.gcroot(i8**, i8*)
 
index 5dd171a..9da33ae 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 ad98e3e..1594705 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 a4dbdf4..1047fe5 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 e234f06..8270632 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 7eadda8..e542325 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 a67a212..a43d430 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 28ee393..0b56644 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 b3a61ca..bf43deb 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 4f955e9..9f47f16 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 8d49614..0705c15 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 8fad616..75d3a69 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 68b1227..c5fe7ad 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 cdc5708..e2e222f 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 1fd0368..0e4c877 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 c5c2f38..db26942 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 b1e7275..a6d4f5b 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 2672c9f..267b0e8 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 3d1c374..c436e07 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: opt %s -codegenprepare -disable-output
+;RUN: opt %s -codegenprepare -disable-output
 
 define void @foo() {
 entry:
index ce54048..7a03544 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 20e323f..ded15e5 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 8411d60..e208222 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 50aec82..d90209f 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 f628852..7cec2c5 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 dc6fc6b..d6653ec 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 51e1466..0d02e3c 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 d150ce0..0095be1 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 590bdef..9407b5a 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 17e9eeb..337be9f 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 346ad74..9bbbd05 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 ee406b6..8f8dadf 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 64219a2..2f0df67 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 33107f1..1c8e6e8 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 9a3bc2a..17003be 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 8474e26..d30df19 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 fe87994..5206b24 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 40749f0..eb3ef1e 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 4269c4f..82fa5b2 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 69760b5..444ca8e 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 2319c49..499ac51 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 7d3027f..5ba1a2e 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 675670e..a6a41fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
 entry:
index 08708b3..991e876 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 declare void @strlen()
 
index 814c2a8..378d702 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 922586a..bbb8878 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 0193838..a17795f 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 c238d62..c16d45c 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 d806b7f..7c6a30e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
        unreachable
index 2f50229..e740b29 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 787006e..d7d5eb5 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 e7fc4fb..7ee6654 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 2b4c49b..aff917c 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 d4883e7..6a60e61 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 91ca624..49c0750 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 f204608..87f6371 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 ff4506d..bd62c68 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 0daa033..052528a 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 3c0c9a4..989043d 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 99bd6bd..5ccb752 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 48d3006..08ca6bc 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 2c42bea..79b44d4 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 86761f2..3048c60 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 f3b8e36..47b5079 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 01ce424..9d82819 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 7654a38..3d0339b 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 1f08985..a6ee63e 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 385182f..7cd7279 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 74584a9..01fe54b 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 9264d4a..0fbd330 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 1736842..6b306d2 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 394dd6d..91e9799 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 c9013e5..9f70bdc 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 19769a2..fc58577 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 28f0891..1995c7f 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 6ed07d8..754d19d 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 f50e374..4df8ff9 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 91461fd..6d5f0f5 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 53eee9e..58dd29f 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 c7a56b8..9e05ff1 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 afe5b35..49d4735 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 202322f..15a6211 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 295ef0c..d9cd674 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 c360067..dd24d96 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 ee38bbf..2708dce 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 6a7f794..0b44b99 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 571e460..be76783 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 07d6220..e46a875 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 a32191c..3c06693 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 cb69564..ebe3d21 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 0fba080..37cda30 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 2f1bf2a..fd54954 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 8a23314..fc7ff90 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 900a9af..cf1ba31 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 df1ee49..9fce309 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 e96061d..f78a34f 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 8ab76d9..d8eb3e8 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 f7a18d4..799ceca 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 6098764..b7b05cf 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 74ce515..cea18a0 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 ecd5965..fac6dd2 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 deb9aed..d5bd6c4 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 bfbb636..d4edce9 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 306d1b7..0e9c4f7 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 093476d..93282f7 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 c6cb14f..adfd019 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 46d2f6d..f251d6c 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 10bb0c0..9ac2222 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 914fa8f..025a46a 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 beaf51b..db3135c 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 21cedf5..5f3817c 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 6a07de7..dcdc36e 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 c2a7fa1..b0b9bf3 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 0183955..68d96ee 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 3c5e7cf..d1a9dd8 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 4fdeda6..cae2a6f 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 8788166..147ec84 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 8758cb6..0b08306 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 4fd7051..4a5d6e2 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 5d4c1c1..5958c6c 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 e8222dc..c320a3e 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 87d99ee..0881cb9 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 665207e..b6818eb 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 6d63858..fa651b1 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 974384d..0da416c 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 445b367..7f82cbf 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 2e2bcae..8b81ee3 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 e65d441..8d99631 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 dae2d07..e89d3ab 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 ecf5e76..59a1129 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 53e0208..b0aecfa 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 55a72a5..535a1d0 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 b3ba851..b455fdd 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 6dee766..85df09e 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 b8fb5de..09eb468 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 e85a3ef..672b5e1 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 e893802..53857f6 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 dea0a22..7ef5f06 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 5cc9275..488e6a9 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 39419af..ad580ce 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 1f5456b..2e0a101 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 1a21e74..6a9f58e 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 209a7d1..c6d7750 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 ee8c9f7..ecff657 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 0f569db..0be3379 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 a6c3405..7579e8a 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 1bcf47a..09e70a5 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 99016e3..5cb6bb3 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 9cb70ae..faa1157 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 dec2cae..0d1d8bc 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 1e3e463..de2aa61 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 13007c5..54998db 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 285c2ca..9a75e1a 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 6c89b7e..6ed8a76 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 ad6dbd0..361c155 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 784307e..c6833e3 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 31d337c..da67ee7 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 8b5c46d..41f76c8 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 e9c04b7..0a63f3f 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 71de99f..3677593 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 ef18684..95690a5 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 b3ad47d..c2d57a1 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 711b3be..cad3312 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 083f33b..89d6a5f 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 3373c72..6ac6072 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 0a45ac5..641e920 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 ff33949..1decafa 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 f835f32..55b4b6e 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 5b35385..f0edf09 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 41be324..28b5ff0 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 4a959c4..e212d79 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 428e03c..87f33ea 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 009e30d..5f03984 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 99fb1b0..41b5180 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 5cba290..5152f68 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 0c1b55d..c13099f 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 ef184df..706a16b 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 e4bf0a2..e86f592 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 4a4643a..79cc363 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 7b563fd..57457a7 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 929b6af..51b8986 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 030393b..1f1baa9 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 fd34a87..04e8c38 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 ea993e0..4923460 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 e0d420c..9bc7421 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 7f7fe13..0f68b78 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 f265726..36fa8af 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 9a80f34..980c4e9 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 005bc72..753575c 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 2f50bef..52cd18f 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 0b090a3..40e5a0b 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 01a9d89..495ded5 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 157ae15..a173d4b 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 ee03a6b..9c17038 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 89245fa..c7c3f10 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 25a31db..e53e993 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 478b841..cc66545 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 63ad89a..677f438 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 69bfdae..b798978 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 0ca3994..de73ed5 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 7180444..0862e70 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 de6e2fc..37356f2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce
+; RUN: opt %s -globaldce
 ;
 define internal void @func() {
         ret void
index f1da36a..740f720 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globaldce
+; RUN: opt %s -globaldce
 ;
 
 @X = global void ()* @func              ; <void ()**> [#uses=0]
index faa61f9..766c227 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 f3917b8..42fcb1e 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 1c6be44..6221fa3 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 a09ed46..738ec43 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 92af3ec..5b2c97f 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 d3e93a8..6658cee 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 77b8df7..68933c6 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 9a3d1d5..29864f8 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 ff12e63..a97b66d 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 5d79090..cc88cb1 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 2aad4fe..bdcf1fa 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 e7ad7b2..7bcb1d4 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 dc3dc01..ab2077a 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 82c695b..c971219 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 31b9ede..352639a 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 d4d8d9e..d306d14 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 d9cbdcc..5703909 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 d418123..7036c15 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 0f3dcde..442cb92 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 e7bc760..4105ab1 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 99c5594..82abc8f 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 c82c9af..0c81700 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 0ba97e0..0e70c49 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 14f470d..cfc9f30 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 f120db5..5e64f80 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 ee10ad5..3242e1e 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 50d3270..51dcac1 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 69e555d..c4b6e52 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 7e59811..a1b69ef 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -globalopt
+; RUN: opt %s -globalopt
 
 @g = external global i32
 
index 7c30d87..5e639fd 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 c03c16a..070f89f 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 90ea7b3..a5f9ed3 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 42168b0..62f75e1 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 61e3fa8..e024fc2 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 a9d41cd..abd3109 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 ead5998..8451179 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 4fd0ece..4332d3d 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 8588757..099c607 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 b5c65c8..5fe89ee 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 29d5974..9b11985 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 608b19b..887e7ee 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 919cbdc..4f81819 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 514a57c..c8d8e76 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 29be57d..9a068e9 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 f1eb867..9397a12 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 a22e5fd..6df559e 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 2cbc053..5a3c3cd 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 cc8e74c..2eba944 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 49b1ed0..59403b1 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 9c5ea38..7466874 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 7a37da7..5d4696f 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 400e1ad..335f5ec 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 48f6dfa..a9b9d5e 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 1734752..cd8a7dc 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 9ce03cb..2f5ae86 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 2f32727..8019076 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 ed9d622..c149497 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 87f6375..6640336 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 32810bd..4b9938e 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 d6ccac7..b25a6c0 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 93071cc..0223453 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 72cb796..b255859 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 f83440d..79220dd 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 e6d6749..b6d9803 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 c5481c6..92911ae 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 d12709a..38fa112 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 a5bb87e..36d5006 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 189ae95..c8f97e3 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 bc2d088..70ea11e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @test() {
 entry:
index dfbef05..5aa2d90 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 7f9bb0d..0fc9c85 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 9111f61..c49819e 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 1bb55be..1ed4c44 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 3589450..ec1218b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @.outPlank_21() {
 entry:
index 6849f13..aee67cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() {
 entry:
index cf5f31d..70a7a9d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 declare void @q_atomic_increment()
 
index 4b55d87..1ba6982 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 e6fca7b..0862f11 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @main() {
 entry:
index 310e450..f9a3fe6 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 82e1a6b..1bbc631 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 7a84008..36ec2b8 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 5d45f38..787c9b0 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 fbd1bdb..79ac1f0 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 d68541c..268b8d1 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 74c7095..fc7d633 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 b6cf6e7..cad4eb1 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 cfeb4d2..77235d2 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 1822fa5..288431a 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 d83997f..23e7884 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; PR2857
 
 @foo = external global i32             ; <i32*> [#uses=1]
index d352da6..7b4032b 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 137a5f4..311d3da 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 8b9554b..37ad63a 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 10f52b6..803b540 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 f81232e..24074bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; rdar://6817574
 
 define i32 @t1() nounwind ssp {
index 3a31171..9fd2d2f 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 ebcd998..9ad8691 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 b5fcbed..436840a 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 319fd5e..9e42734 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 5d63c0c..baaefdc 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 186f4bc..d110a8a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars
+; RUN: opt %s -indvars
 ; PR4052
 ; PR4054
 
index cd6ffd8..dfefe1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR4009
 ; PR4038
 
index 28e9e4a..434c4ec 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 5991648..16608ee 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 ed86ba5..737e733 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 255ef07..8adc0e5 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 97adfbb..02145d1 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 8f3ce92..5516502 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 aa025b7..09ec237 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 29a5b6f..c4ecc84 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 37603eb..e373013 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 9fd1ca8..2d2d1fe 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 bccae9f..4ec4aca 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 80e99e1..40b785e 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 09c8df7..b9c0b12 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 9ea9962..2a9d205 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 9dd7ef0..8184a73 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 c57ab0d..abf1bc3 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 3b34eec..c0099a8 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 787c284..65c66f7 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 f795945..e4b642c 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 0d9ed0a..80b961a 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 aa8fe30..da38de5 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 644e3ec..71bc720 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 1f2df90..34d432b 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 c2dee6a..6d25f90 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 ae59055..5eee655 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 a247f7b..bb0993c 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 a877ba0..d249432 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 8781d74..a27d20d 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 2727752..9e46a78 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 4f46caf..a007ca6 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 0214ce3..623c528 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 d16abd4..1a5e64d 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 5500861..60a9eef 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 38448d8..3a6c683 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 7544e01..a18000c 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 db8136a..f45bdab 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 6333821..6eaa4c5 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 db45744..0495b50 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 b4d510d..0c8857f 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 17bdf0b..98cfa34 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 dd7a662..49a27e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 declare i32 @External()
 
index e1b426e..5ced3b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index 6c00dfa..4418f77 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index add2312..1bd5529 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index 40dc682..4a80d37 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @reload() {
 reloadentry:
index 295d780..9afd450 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 1d15490..3899451 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 500f350..fabad30 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 3f832c7..733cbb9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @test() {
         unwind
index 0f343d2..415495e 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 9525725..6934562 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 4b747d4..37cba98 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 41a0362..279823a 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 43ff406..635f93e 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 4a7ced8..d5a7953 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 941326e..929891a 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 9ba42f8..3311d56 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 7635614..0c968e6 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 f1ea788..86afb2d 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 f8c9584..39095c4 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 cc0e51b..33c8949 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 34b95b7..11e5012 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 79c0302..bc9787b 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 a34e680..db2a799 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 b8ab4a3..1a3325a 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 a12aed4..7d8d16b 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 66b16f6..c8629ea 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 e3d3814..d539255 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 a44d906..25cfc49 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 9294a06..0d176b8 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 6ccd315..71e00cb 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 907e3e2..c3552f6 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 04c61ee..a7ab77c 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 05395ae..528e9af 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 1b9902b..166185a 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 021c9e7..9597109 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 614fd75..30eae7a 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 b6b0971..0286535 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 c975131..43fe5d3 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 a62f1f6..76182e2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline | llvm-dis
+; RUN: opt %s -inline | llvm-dis
 ; PR4834
 
 define i32 @main() {
index ce56fee..961f678 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 915aef0..4c64721 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 3066d45..537c69b 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 632a9e4..5143d02 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 62d4d22..658a422 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 f611bec..0d27e2a 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 b04f8ab..bbb9ab0 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 b170ecf..b360526 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 27056d4..5d027a7 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 95dcbf9..d2b2b00 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 5835d47..363cb21 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 b06aaf9..22574f7 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 21a7a8e..19010d2 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 dee2be0..8645249 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 5d130a8..154f3ba 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 e0f58a8..f550c83 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 66dc495..6d22754 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 6f63837..3297919 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 a55d268..cfe5df6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 declare i32* @bar()
 
index ce608f9..c1692f7 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 f529b24..8fc0f34 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 1edad82..bec0b9e 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 b0a4d89..a08e3a8 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 8ca8232..ff20d7d 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 8ad15a7..84f9bad 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 955ac14..8b54937 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 %Ty = type opaque
 
index bc5ad97..819260b 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 3c4e817..f3e5d77 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 759096a..1154bb4 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 48a440f..8169d21 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 d5783fd..e646edf 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 86b29d6..27c823b 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 f641716..008afa8 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 ad3c552..38553d7 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 bed4c9e..1ec1180 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 59b31ad..9846ee7 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 ea7c945..e2d0618 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR577
 
 define i1 @test() {
index 6529b5b..f0e60ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR585
 
 define i1 @test() {
index 79ce58b..3d887dd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt %s -instcombine -S | \
 ; RUN:   grep {ret i1 true}
 ; PR586
 
index 4657c61..caee951 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 ca4aa57..10541ef 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 b496af8..9bea14c 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 1b74ff2..aa7d587 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 6d829ed..23ebe92 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 818b67b..e22395f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; END.
 
 define void @test() {
index 71d1739..ee261ce 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 ba0248c..d3ba1e2 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 10a08dd..35bb45e 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 9bf19ba..7799423 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 ba33186..1f8b478 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 8d38f93..7adeb9f 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 08399bf..74483c1 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 ad86199..80ee3e2 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 c71d7b6..5a74bd2 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 ab97e08..2665791 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 0233d96..c3700a0 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 ec84c73..eba1ac1 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 01c6301..e5238a5 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 e807766..d2d215f 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 3cbf401..fed2255 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 8aa096d..bd15dce 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 78c5e3d..05891a2 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 da31204..bf60991 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 c16d54c..f31c280 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 2e4e5c4..109e4a2 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 90e22a4..c794004 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 fec9331..0d4aac2 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 8489102..5bcb543 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 a5ac78e..7700c7d 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 cfaff18..b59d3c8 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 ee21ab8..22eb2c2 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 b205ca8..9f50d8a 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 e2df4fd..4af5dfe 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 c887b76..a3c010d 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 a73a073..40818d4 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 b214900..62b9351 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 fa79790..af539c1 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 56d7ad6..3f76187 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 bcd5a28..c27fe0a 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 16d523b..d8f3d97 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 7fa691f..23ee12b 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 c64cb22..3862de4 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 1519494..b3d9f02 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 6790a2e..76bceb6 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 a197e28..8105b4b 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 392f884..220f3e2 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 c374262..e1549a0 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 051b5f4..5282739 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 65273cd..f71b99c 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 c904d00..24394c6 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 29a82f3..6420537 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 dae18ae..cea87f2 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 f422925..85cf9b6 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 7e1f3dc..cc89f6d 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 0fa3c66..b59548f 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 d01c404..5f4fa47 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 02fb399..097a0ce 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 d31d4ac..407ff4d 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 a823210..fbc8ba9 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 b573f8a..7b3281f 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 ecd635e..6401dfd 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 dabd2e6..9bb9408 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 a49853d..be19bcc 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 5defb65..13f3d9f 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 0684d20..c161bcc 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 0c98435..28a94ce 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 c10128e..a88c510 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 f6ba64d..af61c15 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 706a82a..d26dec1 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 a89e83b..bb21c4b 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 9c3f477..7f8bd4f 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 8bdfac7..da7e49e 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 47b9d50..aa38065 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 e7d2d93..626564d 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 469492b..f2cc725 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 7ca62ba..176162d 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 2b2e2aa..bbd0042 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 4fe7746..d56a1a0 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 366d483..2939a48 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 8e508d0..b34fc1e 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 f627a34..f7ba99c 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 94e63c8..bf92faf 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 f61fb25..2de5af7 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 9cbf050..5416693 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 b87136a..a0fe47a 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 e40b0f5..5e4a9d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 
 define i65 @foo(i65 %x) nounwind  {
 entry:
index e6214ab..917d3ae 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 5440c36..08959c9 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 9b32b00..aed1b14 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 4307baa..05f1c52 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 d88ff16..c3371c6 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 fa91cf1..8307834 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 4244b4b..a12f4bd 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 2bb22ee..8245b4d 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 299891f..0091159 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 9361371..ccfb118 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 b60d190..47a7590 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 2c18a53..e911532 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 20c7760..76e3039 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 34b604e..bf53451 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 77ca9c6..be1f8c2 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 fad21f1..672b4e9 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 8922635..501d8a6 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 4359c0a..e9081f0 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 ef3a901..7c50141 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 44429ae..31ea94a 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 5962252..fd36d86 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 8125834..aa077e2 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 517d30f..c747e9c 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 94859cc..b2774d6 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 12855b8..318a80c 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 a2578a8..d8c53fa 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 a50e1e8..fc90bba 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 46c9ff2..e4c7ebc 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 1676eb6..d355e0a 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 ab8c7a5..a61a94e 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 75bdb1e..ce62f35 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 7ab0e3e..79a2f1f 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 1f4b2d2..6bc7ce3 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 85d7c44..4b64b48 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 1aecad1..815c1a9 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 36bfb41..c3ee9a3 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 9385f45..bc6a204 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 ; PR3468
 
 define x86_fp80 @cast() {
index d4c98b5..b29d8d2 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 9c77a69..f56fc38 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 fd86042..a8349f0 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 493b8d0..c617ca4 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 6b21296..0a07bf3 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 9ee4014..4ce04a1 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 417cc4e..244b22a 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 dcbf5cc..dd14c6b 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 cce14e9..e5355b8 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 5b959d7..6beedf8 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 2b0967c..41940fe 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 d1e39b8..531ce2b 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 5a997e0..448c58d 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 bb38ad4..7d0edb8 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 b0ad522..52b8e32 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 b2befdd..24319df 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 d95ab5d..cde3e24 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 0f39d71..a3a09f2 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 afe2f8f..b9b6f70 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 b5d25d3..80aacbc 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 da2faab..4253937 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 025d54e..6e8ad87 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 545da15..0260ca2 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 8f2a130..216cd46 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 fe770f7..b4224b3 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 6aad6f0..17d29b6 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 9fcdee5..cd4cbb9 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 16afb7b..ae74472 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 ca2440c..fe336de 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 6dc7309..251d78f 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 ccd0306..b2069a9 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 c507375..ec60e45 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 49af162..488b7f2 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 be9720d..8163e6d 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 c7007e9..849c659 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 b622747..cacc179 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 529a33b..2b59693 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 ebc427f..264b4b2 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 d375bdf..51bbc08 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 1448fc6..4e9dfbb 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 194fdea..d27765e 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 3c10120..f75ca2d 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 c4819f8..92863d5 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 35b23e8..3e56951 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 8428e6b..c5aa8be 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 9610ea9..7addc8a 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 24d0ad3..f9d1080 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 03d9a6a..393a567 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 e2bcbd8..3a6bd67 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 1a9e966..52aff3d 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 8ac649f..eda9d99 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 521e9b4..1e591cc 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 0f90bd5..57f021c 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 8e1c6b9..3754032 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 87acb45..95c040b 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 79bd5aa..0fecc1c 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 048106d..59d7cd0 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 c911948..bc60f55 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 3ae2580..e94dce7 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 c1bf81c..6544e7d 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 281d3b3..5a7aef3 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 8550d65..9b6c6c3 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 f1c136b..1d2cc53 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 8f1158b..52af0ef 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 8b91e24..6f63adc 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 89b01f5..9e9be7f 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 698e658..e567754 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 263088e..b837985 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 dc25156..e1d86b6 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 8669082..169340a 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 037190d..ffaa6af 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 d60363e..fa451bc 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 91fcc0c..5382abf 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 368b300..ff34017 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 88a003a..b6ebbea 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 d95ed83..cd407ff 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 4817a25..ebb8711 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 e8939fa..1806cfc 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 99f6c49..8e85694 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 d8bcfaf..a43d5f2 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 6357e46..9bbef23 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 ebe20db..1b96a06 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 57440f6..ad01a6b 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 0442ebb..c58ce11 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 e2a35e4..08d90bf 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 3662df0..821cebe 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 e72576b..a64ef28 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 1911234..37f934b 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 0a5666f..c01229a 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 490ecde..c41f503 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 56adb83..9bcaa43 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 2972f60..d320daf 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 f49835c..ff3245d 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 df4ed8d..dbfd56a 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 781b2ff..2f64d8b 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 b62dff2..c46b5ea 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 40c5350..0e4c008 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 c134030..bef0cf8 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 39cb00a..daa9148 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 9e24eca..b2681ea 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 fde8b2e..62ab116 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 f4c73a0..4492785 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 f4f4ce9..7133d29 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 a517e65..787fab5 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 08569d3..84af2e3 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 d7a6bc6..cf87aef 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 b37be59..2c66790 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 8a16b7e..9a08c64 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 d67a04a..008662e 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 fdd8dc3..6d2193f 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 3afbbe2..af824a4 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 32aa957..beefe4f 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 2f74cf5..f18690c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine
+; RUN: opt %s -instcombine
 ; PR2670
 
 @g_127 = external global i32           ; <i32*> [#uses=1]
index f221544..88b4114 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 c86f884..0fcaefa 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 e334c90..06d497d 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 666ce36..93e3753 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 c649955..bfdd98c 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 475a19a..56877e3 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 f6c9df2..7c2b4b0 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 6ecbbc6..5108422 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 978c162..4159361 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 4e42e66..62e4370 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 62ea02a..2009a77 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 5a078f1..63e4ee2 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 34c89d8..ba5a734 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 2ebf3ff..eedf882 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 fcb64c7..daf7bcf 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 24930c3..0a096d4 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 2e53665..5f437b3 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 8baa934..470d485 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 0a7c677..acb11c5 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 c9f3c53..5316bd7 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 6b5b2a2..3383845 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 8616a42..cf72955 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 e5dfa5b..a7bcdac 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 424d1b1..0f17ca9 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 b01a713..d07a9f4 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 cdbb7b1..592b8a1 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 008c5d0..9521101 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 c926a65..9aacd3a 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 5464c37..a85e834 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 0f0dac1..7b18a04 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 6bae0ec..2a2f013 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 0f6431d..b1f9656 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 08bf190..dfb6251 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 0398334..208c822 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 b02ff54..5c1f77b 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 58ca177..e6db9ee 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 be0d684..58dbec7 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 4d3b4ae..0a6155f 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 a354056..16867b0 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 fdbfaff..8784b3f 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 4681276..0d14c8a 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 3e283f7..b4d4418 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 d0ca05f..c8e10ca 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 e09af0a..404aecf 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 46df60a..7545641 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 4108d18..ad4f144 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 4a94f49..b03f09a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lcssa
+; RUN: opt %s -lcssa
 
        %struct.SetJmpMapEntry = type { i8*, i32, %struct.SetJmpMapEntry* }
 
index 8629b7a..6f583f4 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 280409c..ecb1be5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lcssa -disable-output
+; RUN: opt %s -lcssa -disable-output
 ; PR977
 ; END.
 
index c6c3e34..2c5815c 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 1dd9791..7e0d3c6 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 082050f..8c07aa2 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 087d7da..23ab2c0 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 034d94f..4547150 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 90a78cf..ff20312 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 f2e3bea..4782bd1 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 63f2cf3..2718cb1 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 b2db169..70a04c7 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 4790de7..a9c6b85 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 c1f2712..c759e6e 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 022da99..71d3e78 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 3e50ca0..67c3951 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm | lli
+; RUN: opt %s -licm | lli
 
 define i32 @main() {
 entry:
index 0db41ec..16f4fed 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 84b5933..a119865 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 724c1fa..91740cf 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 10cdb6d..9763660 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -licm -disable-output
+; RUN: opt %s -licm -disable-output
 ; PR908
 ; END.
 
index 72e5097..c12e13b 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 64919ea..8ecd1bc 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 c8d321b..31abd8c 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 4b428ac..916f479 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 796830f..59f1dcb 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 56202b6..a5a7bf8 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 d40ae94..7810309 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 0ccd167..d1fe48c 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 000ead1..24c4ad1 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 b4442d1..1dbb4dc 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 677bd88..e7d36af 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 969a83c..bd3eea3 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 9b28f10..ef28c38 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 e6baed2..11112eb 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 dbd2b9b..bcc73fd 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 820a8a8..4fc6378 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 1c7252f..d922ecb 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 47f4fe3..3ebd9b3 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 c7b11ca..8f4ee24 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 0152c7f..1550bc7 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 dddb9fb..0847464 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 ab2ed84..980a42f 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 bf8baa7..9351caf 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 72b25f9..6d6defa 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 7bab623..f1a03e2 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 d862f9c..ca22e50 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 bab3a13..7447e6d 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 c35b66d..6f691de 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 061e444..1fcd960 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 1757391..ee8e7a3 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 43acc7f..ef67736 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 1658218..cca54ad 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 c55ac24..372fee5 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 70960c3..217ff52 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 d5b8f2c..9acf391 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 26b4870..ad2b794 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 9bca6e7..187484a 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 f746981..098e407 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 8e3254c..a04715a 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 fc4047d..d18b3b7 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 92e1a3f..ff73a5b 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 b2bf19e..6adb268 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 d3a9320..a2bf57c 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 2271d3d..fc7d9e9 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 c163522..09a6423 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 1ba2e0e..f61d967 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 6047cbc..17f75d7 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 cf97084..6eed981 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 0a634fa..3e170dc 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 50bdf1c..7d148e7 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 d1d1d7e..e117c11 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 d1f49a9..617dd8e 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 60b48fe..b2f3224 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 71a2961..7b6085d 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 94d96d9..fe7eaf9 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 2427b76..b0d31bd 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 e746672..96f87d5 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 1305e3a..bf862f6 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 f323668..cd9749b 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 60b55f7..11be694 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 0318ccc..fb39f05 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 1e44cbb..a5d0ba7 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 e8d3eeb..dc5c313 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 903937b..721f9b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify -licm -disable-output
+; RUN: opt %s -loopsimplify -licm -disable-output
 
 ; This is PR306
 
index f8153fd..cbdfe8b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -loopsimplify -disable-output
+; RUN: opt %s -loopsimplify -disable-output
 
 define void @test() {
 loopentry.0:
index d27c992..f4ecbea 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 0322ac1..10202dc 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 a6f03d6..4241d8a 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 9fe3a5f..e0a7f81 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 1d6562a..45f506a 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 a965fb4..f9567f1 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 c2045ce..1f08a43 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 ab80f38..f1c523a 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 3c28a53..8c2cfaf 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 949e73e..7c7a21c 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 7df8573..90477d1 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 c15529f..c650d8c 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 70cba5c..1ee6b5c 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 64314ea..b2cf818 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 9390080..3a7496e 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 0dfd082..8cdd264 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 126fbae..4136486 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 d870203..90051e3 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 14e16fd..2030000 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 71d417d..214f15a 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 bdb8d36..f86638b 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 fbbaad4..37acf0f 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 89ea0d0..58b8d3e 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 51f8bdc..a032cc9 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 4d7d1af..7ef494d 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 a19cb43..73c3152 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 eb825d1..aafd24e 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 4ab1cb9..9a5911f 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 fde0526..b809007 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 1566ec4..9ad27d5 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 5906859..2302dba 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 4386aeb..2494378 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 57e1159..53f4b9d 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 ff6a0d9..412a716 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 1e6a951..0459bc8 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 23f6b61..a99a823 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 fd88c3a..0a9fab0 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 e82a496..7c0f053 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 86e7021..3141bf1 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 5831262..a26346b 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 9a16840..8219a0c 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 9bfe148..40c9ce0 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 2601290..d4c8402 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 15249e4..68842a4 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 1195830..1711f11 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -loop-unroll
+; RUN: opt %s -disable-output -loop-unroll
 ; PR1770
 ; PR1947
 
index ed8e0cc..b4cf406 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 80c8deb..a50bd54 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 5ed4874..e030157 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 32d031d..fd4d730 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 0edfd37..468b194 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 48f5969..bf5a61b 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 a7b38b8..5ae335b 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 9bacc48..dfca154 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 a8a7055..fc92579 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 bbeb7bb..f83acaa 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 617c393..efbb761 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 a2263ea..906c2c5 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 6a1b2ae..f74054a 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 7174968..20f2c2b 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 40fe7f8..1e6f2cf 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 87a330e..31f3d42 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 569ba26..bddb702 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 1256d49..1057ad7 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 60b4544..9402046 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 3d24b86..b46ccfb 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 22cbc46..f0ca5f4 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 f93539d..9180c15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowersetjmp -disable-output
+; RUN: opt %s -lowersetjmp -disable-output
 
        %struct.jmpenv = type { i32, i8 }
 
index 8ca18ff..1430dff 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 c4d0708..d143ab0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerswitch
+; RUN: opt %s -lowerswitch
 
 define void @child(i32 %ct.1) {
 entry:
index c01da0c..61e1dcd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerswitch
+; RUN: opt %s -lowerswitch
 
 define void @test() {
        switch i32 0, label %Next [
index 57d2efe..964b07e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -lowerswitch -disable-output
+; RUN: opt %s -lowerswitch -disable-output
 
 define void @solve() {
 entry:
index 7a62c9a..777f375 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 4652487..89bd492 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 798ed81..3665483 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mem2reg
+; RUN: opt %s -mem2reg
 
 define void @_Z3barv() {
        %result = alloca i32            ; <i32*> [#uses=1]
index 93a3468..36bd9e6 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 3009b30..f5f1ee3 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 fc53456..e82caa9 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 4481d70..1d38efc 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 0414efc..7435596 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mem2reg -instcombine -S | grep store
+; RUN: opt %s -mem2reg -instcombine -S | grep store
 ; PR590
 
 
index c8264b9..8fd3351 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -mem2reg -disable-output
+; RUN: opt %s -mem2reg -disable-output
 ; PR670
 
 define void @printk(i32, ...) {
index 3701ca3..50683cf 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 ada19a1..1be6b03 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 b9e4b1a..5013229 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 1207f26..30c2713 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 0f79fb3..13205e6 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 f1ae721..4fec169 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 ccdfa53..bf5b234 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 413c181..eb8dbe3 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 8f31bfc..c90af9c 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 71a6cd0..724acfa 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 a1d42de..73bbf0b 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 2839178..5002875 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 195c379..e124731 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 a658dae..7b2a2fe 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 ce9b04b..f080191 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 9f7d12c..356113c 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 63785f3..9dd2b97 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 bf1f5c5..8e4e8a7 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 237d55e..1ec1a38 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 00923b0..437106f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @readMotionInfoFromNAL() {
 entry:
index 59c80eb..71cc8bb 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 6e1e851..5ec420c 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 08b09aa..0b3e934 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 d472b6f..8db094f 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 7d74df2..2d45eb3 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 c820ae7..aac8c0b 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 29e7ae4..88c799c 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 a0ce26e..3b4c58f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -predsimplify -verify
+; RUN: opt %s -predsimplify -verify
 
 define void @dgefa() {
 entry:
index 5fbf99c..fd186cd 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 a674bae..048757a 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 28f343f..4a5c80f 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 2b46c76..679eafd 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 fe593d2..a010703 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 2d6e635..fb97ae8 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 cbaa117..347af8f 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 af215ae..724c7cf 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 f13fef3..6cdd42f 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 e081f6f..77c429d 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 a84b71c..75e02e8 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 2f96f56..1cf0729 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 354600b..5780990 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 c34331c..c18af5e 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 2350911..5848821 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 fe1a9cc..bbb08f9 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 a7eaff2..af7a821 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 10e05a9..9864de4 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 c7b54b0..33e44d4 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 d12ce4a..384cbc9 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 c3135de..eca2d63 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 64ca58f..ba1ff9e 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 447e72b..92285fb 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 ad56339..88dbdf7 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 aec84e6..91723bc 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 a2d9215..dd6ddd9 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 9403ddf..6a3dfd3 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 267d3bd..d68d008 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 96a5e47..8b2cbc9 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 bf43cdf..4c63d12 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 9431b97..0513c5f 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 c02f6ee..bb0cf04 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 e6a1811..bb5b51d 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 90776e6..f619802 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 39c1142..f02a293 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 d613600..6aaf33e 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 d9335a2..576f5d6 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 460963d..9876375 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 98cced0..5d2c78e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -disable-output
+; RUN: opt %s -sccp -disable-output
 
 declare i32 @foo()
 
index 5699ee9..4adfde3 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 9cec1e6..47f9cb4 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 afdf9da..cee3349 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 752222c..ec69ce0 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 6ab44ac..aa613dc 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 879a99a..cd6cf97 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 040aaac..d23ee2b 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 3d1b294..7aced66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -sccp -disable-output
+; RUN: opt %s -sccp -disable-output
 ; PR4277
 
 define i32 @main() nounwind {
index a3365fa..1e75878 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 a7c4bf6..c03bfef 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 7ec3997..1734827 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 f74b459..47671bf 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 2539b5d..0dd9ad3 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 3b26d5b..fda40f5 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 9a7fc6d..3c02e05 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 6ef6c30..75875ff 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 bc68ce4..dc0f702 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 185d70f..7f0772e 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 1c48c6a..07a427e 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 e83574f..ecbd959 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 b1c234e..b3d845c 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 7606d85..6f422f0 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 a9cf372..55abec5 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 7697085..1168b0b 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 69e2021..26c6a6e 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 97e6e49..ff047dc 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 aa5bcc8..20a2217 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 bd90d1f..0fe37ec 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 f174360..61bd2dc 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 65cd8b5..64bed19 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 146ea9d..a42b70c 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 51f1f3d..824e249 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 50967a6..b147ec9 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 be99c91..89c0b05 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 7b921b7..eb1c945 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 2acf2af..24e6a31 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 a4a1aec..ea23c31 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 d62d4c9..03c7452 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 81a6d21..63840f1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 
 define void @output_toc() {
 entry:
index 357d4d3..dcd7e53 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 2288c6d..4655d14 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 33f5609..2606203 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 49a7eab..bd49106 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 b084485..e67b610 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 fcf6dbb..f1b8b80 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 55d6cf7..81b6746 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 5fcf4a1..d799bd7 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 62d7915..7f8ef83 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 323236d..3ebafd0 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 813ff9c..b704727 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 414bf2d..1df01c1 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 80a86b1..e89be5a 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 a4f73be..725a9b6 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 3b57856..9c0f203 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 fa49c4f..f8ab875 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 4879973..d6eb75b 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 9d69cb6..50e7f9a 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 fed26ad..9c70aae 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 d433e9f..c5ebf8e 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 37f071b..aa3487b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -scalarrepl | llvm-dis
+; RUN: opt %s -scalarrepl | llvm-dis
 ; PR4146
 
  %wrapper = type { i1 }
index d93cc18..cecbdd4 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 381d0fb..d69af11 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 581421e..16b3273 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 adc4113..eb56824 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 849b4d5..2f68af8 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 92191d4..909966f 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 84baf07..a43243c 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 2d9e569..6b3d414 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 17534cf..26f007b 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 6c6a396..903b1a2 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 7990b31..9ea3895 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 e5bf522..38a2ca0 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 44f094c..0d61e5a 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 c4685bd..5aeefcd 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 e64d7d9..7eba7c0 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 c6f2525..9c6e8b9 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 bcf8409..d6b2b75 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 9394eac..2df3b9b 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 5d0db10..d8aa26d 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 e77c3ac..0e1cd23 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 7ba619f..63752c8 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 33075f5..fe702fa 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 8df27ff..3af79bc 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 597400d..0284b3d 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 3cbcaf3..3ff322e 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 eadafdb..414235b 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 9f945a8..055386b 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 ef5a4f4..9a12062 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 edef456..8762046 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 3e6b208..c019931 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 610f7b5..15cd773 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 018d21f..8ac9ae4 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 ebcbe2b..888e187 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 90a521a..577d650 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep switch
 
 
index 8ba0ae9..93f851c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -S | \
+; RUN: opt %s -simplifycfg -S | \
 ; RUN:   not grep switch
 
 ; Test normal folding
index f0331a4..fafe73b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @symhash_add() {
 entry:
index 8e6bccb..90be680 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 64e7356..c30bfa1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
 
 define void @main() {
index 5b172b4..477c9c9 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 7f6e244..778aa3b 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 8e91e99..760aa13 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 6ee83a4..32f49e6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @polnel_() {
 entry:
index 4e975b0..21cfb26 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 eb5a55f..2c84c93 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -gvn -simplifycfg \
+; RUN: opt %s -gvn -simplifycfg \
 ; RUN:   -disable-output
 ; PR867
 ; END.
index 5e54b4f..009d1c8 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 ecc5124..dba41c9 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 955a36a..af865ce 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 9f01d85..a20c46e 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 2281495..46df0f0 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 194d2a5..00f2d5b 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 145ec55..8e05a3c 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 c3813a0..ba33d84 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 377c584..59e886b 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 0b01c44..d025dee 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 3bbba1c..ac9622d 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 1746fa9..f864184 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; PR 2800
 
 define void @foo() {
index 6dffdf1..d3c7c32 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 7ad0c4b..7271024 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 b43ce8a..7b8a918 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 1fefa08..33167bd 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 617cdfb..9caa9a1 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 9d71dd8..419feb6 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 bcc4b87..72a15b1 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 3afb6b2..b19a27d 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 6bc54ab..8339462 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 8104715..912c755 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 1e746c4..9f3bd4e 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 3ef1fe2..a648efd 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 89a7e59..fb5d600 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 a877a1f..73cf466 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 ccca831..e9902e0 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 bbc8619..bf9d953 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 a9623ef..7133d98 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 8769f79..761f0d5 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 98fa8a5..f73e01c 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 1ba6226..448934e 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 c3d51c1..266609b 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 1d926d5..f52d979 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 c9b7b86..1a9f20a 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 5f5a1b0..a397411 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 16cebc2..b454778 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 6d10ebf..bbc0bd7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @NewExtractNames() {
 entry:
index eff4717..bd85fcc 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 1596f0e..0c9cc8b 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 5b7ec09..8816579 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 9b3cc59..8e9f206 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 6b8574c..b687432 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 1b6a6b4..73eb05b 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 9fbbb0b..ac89199 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 951c78b..cb9819c 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 984578a..9056499 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 7114fce..7af0a26 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 22d817c..b5a788e 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 5ede6e6..ab45f18 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 29c10dd..4a0d232 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 6f4dddc..51a769d 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 a1a70ec..39662b1 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 bcc1c22..858a09c 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 96a410f..47a33c2 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 52e03b6..847e363 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 e54d51f..4e3d0ab 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 bd73d4d..50ca0a6 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 e1d0bff..7359635 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 e155af2..7542984 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 10de611..45b349d 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 41795c3..d09c022 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 8223724..ba77385 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 0ce1ca9..c8af3ca 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 c583f4e..e2b5683 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 637d335..6fbe0b9 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 b4e23b7..2f5d910 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 4c3641b..a7af5a9 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 91d0aef..7008736 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 e1fddd9..c0c0050 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 0b1db5a..fb752c4 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 2e25bdd..0aede06 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 ce6303d..f8364f7 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 e07fbd6..5875b21 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 7b9545e..b2a9ed2 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 99eb057..2a90cf3 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 7f08a06..5cc92e1 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 9a5a8db..a5f246d 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 7453be5..0c40bd5 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 ff97482..48e5641 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 c9da377..3dddb01 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailcallelim -S | \
+; RUN: opt %s -tailcallelim -S | \
 ; RUN:    grep {tail call void @foo}
 
 
index f12c8c0..d7e45af 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @motion_result7() {
 entry:
index 09916e8..90f4990 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @sum() {
 entry:
index 2a5b80e..efe9eae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @sell_haggle() {
 entry:
index 4fc7088..dc64923 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @foo() {
 entry:
index efc08d6..c1e5f73 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @interpret() {
 entry:
index 9a7c4b0..3e4f0b7 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 6706527..88a5656 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 45bc600..ad1a040 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 ; PR4662
 
 define void @a() {
index 9c06d9b..2224283 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 49eb6a5..38d8ebf 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 33e760a..94f5d87 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 declare void @__main()
 
index b49dc87..81a996a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @ab() {
 entry:
index 7a5b0b2..2e4f5be 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