Change these tests to feed the assembly files to opt directly, instead
authorDan Gohman <gohman@apple.com>
Tue, 8 Sep 2009 16:50:01 +0000 (16:50 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 8 Sep 2009 16:50:01 +0000 (16:50 +0000)
of using llvm-as, now that opt supports this.

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

1404 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-07-HexFloatConstants.ll
test/Assembler/2002-04-29-NameBinding.ll
test/Assembler/2002-08-19-BytecodeReader.ll
test/Assembler/2003-08-20-ConstantExprGEP-Fold.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/2008-11-05-InlinedFuncStart.ll
test/DebugInfo/2009-01-15-RecordVariableCrash.ll
test/DebugInfo/2009-01-15-dbg_declare.ll
test/DebugInfo/2009-01-15-member.ll
test/DebugInfo/2009-02-18-DefaultScope-Crash.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/2009-06-12-Inline.ll
test/DebugInfo/2009-06-12-InlineFuncStart.ll
test/DebugInfo/2009-06-15-InlineFuncStart.ll
test/DebugInfo/2009-06-15-abstract_origin.ll
test/DebugInfo/deaddebuglabel.ll
test/DebugInfo/printdbginfo2.ll
test/Feature/load_module.ll
test/Feature/weak_constant.ll
test/FrontendC/2008-07-29-EHLabel.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/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_call.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/CondProp/phisimplify.ll
test/Transforms/CondProp/phisimplify2.ll
test/Transforms/CondProp/phisimplify3.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/bitcast2.ll
test/Transforms/ConstProp/bswap.ll
test/Transforms/ConstProp/calls.ll
test/Transforms/ConstProp/div-zero.ll
test/Transforms/ConstProp/float-to-ptr-cast.ll
test/Transforms/ConstProp/logicaltest.ll
test/Transforms/ConstProp/nottest.ll
test/Transforms/ConstProp/phi.ll
test/Transforms/ConstProp/remtest.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/globalsra.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/load-store-global.ll
test/Transforms/GlobalOpt/malloc-promote-1.ll
test/Transforms/GlobalOpt/malloc-promote-2.ll
test/Transforms/GlobalOpt/malloc-promote-3.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/trivialstore.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-01-08-X86-64-Pointer.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/gep-with-mul-base.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/iv-zext.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/masked-iv.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-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-11-22-Missed-and-fold.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-05-And.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/add.ll
test/Transforms/InstCombine/add2.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/alloca.ll
test/Transforms/InstCombine/and-compare.ll
test/Transforms/InstCombine/and-fcmp.ll
test/Transforms/InstCombine/and-not-or.ll
test/Transforms/InstCombine/and-or-and.ll
test/Transforms/InstCombine/and-or-not.ll
test/Transforms/InstCombine/and-or.ll
test/Transforms/InstCombine/and-xor-merge.ll
test/Transforms/InstCombine/and.ll
test/Transforms/InstCombine/and2.ll
test/Transforms/InstCombine/apint-add1.ll
test/Transforms/InstCombine/apint-add2.ll
test/Transforms/InstCombine/apint-and-compare.ll
test/Transforms/InstCombine/apint-and-or-and.ll
test/Transforms/InstCombine/apint-and-xor-merge.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-cast.ll
test/Transforms/InstCombine/apint-div1.ll
test/Transforms/InstCombine/apint-div2.ll
test/Transforms/InstCombine/apint-elim-logicalops.ll
test/Transforms/InstCombine/apint-mul1.ll
test/Transforms/InstCombine/apint-mul2.ll
test/Transforms/InstCombine/apint-not.ll
test/Transforms/InstCombine/apint-or1.ll
test/Transforms/InstCombine/apint-or2.ll
test/Transforms/InstCombine/apint-rem1.ll
test/Transforms/InstCombine/apint-rem2.ll
test/Transforms/InstCombine/apint-select.ll
test/Transforms/InstCombine/apint-shift-simplify.ll
test/Transforms/InstCombine/apint-shift.ll
test/Transforms/InstCombine/apint-shl-trunc.ll
test/Transforms/InstCombine/apint-sub.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/ashr-nop.ll
test/Transforms/InstCombine/binop-cast.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/bitcast-vector-fold.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-mul-select.ll
test/Transforms/InstCombine/cast-propagate.ll
test/Transforms/InstCombine/cast-set.ll
test/Transforms/InstCombine/cast-sext-zext.ll
test/Transforms/InstCombine/cast.ll
test/Transforms/InstCombine/cast2.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/div.ll
test/Transforms/InstCombine/enforce-known-alignment.ll
test/Transforms/InstCombine/exact-sdiv.ll
test/Transforms/InstCombine/extractvalue.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/fpextend.ll
test/Transforms/InstCombine/fsub-fsub.ll
test/Transforms/InstCombine/getelementptr.ll
test/Transforms/InstCombine/hoist_instr.ll
test/Transforms/InstCombine/icmp.ll
test/Transforms/InstCombine/known_align.ll
test/Transforms/InstCombine/load.ll
test/Transforms/InstCombine/load2.ll
test/Transforms/InstCombine/load3.ll
test/Transforms/InstCombine/loadstore-alignment.ll
test/Transforms/InstCombine/logical-select.ll
test/Transforms/InstCombine/lshr-phi.ll
test/Transforms/InstCombine/malloc-free-delete.ll
test/Transforms/InstCombine/malloc.ll
test/Transforms/InstCombine/malloc2.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/mul.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-fcmp.ll
test/Transforms/InstCombine/or-to-xor.ll
test/Transforms/InstCombine/or.ll
test/Transforms/InstCombine/or2.ll
test/Transforms/InstCombine/phi-merge.ll
test/Transforms/InstCombine/phi.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/rem.ll
test/Transforms/InstCombine/sdiv-1.ll
test/Transforms/InstCombine/sdiv-2.ll
test/Transforms/InstCombine/sdiv-shift.ll
test/Transforms/InstCombine/select-2.ll
test/Transforms/InstCombine/select-load-call.ll
test/Transforms/InstCombine/select.ll
test/Transforms/InstCombine/set.ll
test/Transforms/InstCombine/setcc-cast-cast.ll
test/Transforms/InstCombine/setcc-strength-reduce.ll
test/Transforms/InstCombine/sext-misc.ll
test/Transforms/InstCombine/shift-simplify.ll
test/Transforms/InstCombine/shift-sra.ll
test/Transforms/InstCombine/shift-trunc-shift.ll
test/Transforms/InstCombine/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/sitofp.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/store.ll
test/Transforms/InstCombine/sub.ll
test/Transforms/InstCombine/trunc-mask-ext.ll
test/Transforms/InstCombine/udiv-simplify-bug-0.ll
test/Transforms/InstCombine/udiv-simplify-bug-1.ll
test/Transforms/InstCombine/udiv_select_to_select_shift.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_extract_elt2.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-bool-add-sub.ll
test/Transforms/InstCombine/zext-fold.ll
test/Transforms/InstCombine/zext-or-icmp.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/LoopDeletion/dcetest.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/2009-03-30-undef.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/phi-node-simplify.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/change-compare-stride-trickiness-0.ll
test/Transforms/LoopStrengthReduce/change-compare-stride-trickiness-1.ll
test/Transforms/LoopStrengthReduce/dead-phi.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/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-MissedTree.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/inverses.ll
test/Transforms/Reassociate/looptest.ll
test/Transforms/Reassociate/mul-neg-add.ll
test/Transforms/Reassociate/mulfactor.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-basictest4.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/apint-load.ll
test/Transforms/SCCP/apint-phi.ll
test/Transforms/SCCP/basictest.ll
test/Transforms/SCCP/calltest.ll
test/Transforms/SCCP/ipsccp-basic.ll
test/Transforms/SCCP/ipsccp-conditional.ll
test/Transforms/SCCP/ipsccp-gvar.ll
test/Transforms/SCCP/loadtest.ll
test/Transforms/SCCP/logical-nuke.ll
test/Transforms/SCCP/phitest.ll
test/Transforms/SCCP/sccptest.ll
test/Transforms/SCCP/select.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-06-24-PHINode.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/HoistCode.ll
test/Transforms/SimplifyCFG/InvokeEliminate.ll
test/Transforms/SimplifyCFG/PhiBlockMerge.ll
test/Transforms/SimplifyCFG/PhiBlockMerge2.ll
test/Transforms/SimplifyCFG/PhiEliminate.ll
test/Transforms/SimplifyCFG/PhiEliminate2.ll
test/Transforms/SimplifyCFG/PhiNoEliminate.ll
test/Transforms/SimplifyCFG/SpeculativeExec.ll
test/Transforms/SimplifyCFG/UncondBranchToReturn.ll
test/Transforms/SimplifyCFG/UnreachableEliminate.ll
test/Transforms/SimplifyCFG/basictest.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-test.ll
test/Transforms/SimplifyCFG/branch-fold.ll
test/Transforms/SimplifyCFG/branch-phi-thread.ll
test/Transforms/SimplifyCFG/branch_fold_dbg.ll
test/Transforms/SimplifyCFG/dbginfo.ll
test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll
test/Transforms/SimplifyCFG/hoist-common-code.ll
test/Transforms/SimplifyCFG/iterative-simplify.ll
test/Transforms/SimplifyCFG/noreturn-call.ll
test/Transforms/SimplifyCFG/return-merge.ll
test/Transforms/SimplifyCFG/switch-simplify-crash.ll
test/Transforms/SimplifyCFG/switch_create.ll
test/Transforms/SimplifyCFG/switch_formation.dbg.ll
test/Transforms/SimplifyCFG/switch_formation.ll
test/Transforms/SimplifyCFG/switch_switch_fold.ll
test/Transforms/SimplifyCFG/switch_switch_fold_dbginfo.ll
test/Transforms/SimplifyCFG/switch_thread.ll
test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll
test/Transforms/SimplifyCFG/two-entry-phi-return.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/StripSymbols/2007-01-15-llvm.used.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 c1ab6c7b1a4f3ba596b60829951daefce06ff039..7bd5fddac3366cfa019c14a4e84ed15b61e7a48a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -disable-output
+; RUN: opt %s -anders-aa -disable-output
 
 define void @x(i16 %Y) {
 entry:
index c4f1ff0838556f4f1dc1c9ed91ad87f268894b87..40dbae900e137a23be1ab0f77db1eb7f08c9c767 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -gvn | llvm-dis | not grep undef
+; RUN: opt %s -anders-aa -gvn | llvm-dis | not grep undef
 ; PR2160
 
 declare void @f(i32*)
index 935444991a3817b67e9d51a91ee747f711308c11..c89f976e8d920f6f466ad0b3ac5cbe0a9b31c37a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -gvn | llvm-dis | not grep undef
+; RUN: opt %s -anders-aa -gvn | llvm-dis | not grep undef
 ; PR2169
 
 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) nounwind
index 5f5da7464db98f02f44d17fb9a7a2f085d54a9d2..36c5c80b5a3ba6bffd8de70d341deaa35a039259 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa
+; RUN: opt %s -anders-aa
 ; PR3262
 
 @.str15 = external global [3 x i8]              ; <[3 x i8]*> [#uses=1]
index 0005e09b2e7e0dff2d154ca82ac761000ab2ee95..87d5d1ec9800ed6602f4970afee565462b6add1c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -aa-eval 2>/dev/null
+; RUN: opt %s -anders-aa -aa-eval 2>/dev/null
 
 define void @test1() {
        %X = malloc i32*
index 8a4be2590ddf9b0d4364a15a220a29c56cbb12da..ffa3a74202f8aedd56fc355d2fac6a4b07bcb617 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -gvn -deadargelim | llvm-dis | grep store | not grep null
+; RUN: opt %s -anders-aa -gvn -deadargelim | llvm-dis | 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 f86c7f74d17f7c7daafd35a34e34b69012c16fba..ac42fce668265aa1b624c3f100193275e1ad39bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -gvn -instcombine | llvm-dis \
+; RUN: opt %s -anders-aa -gvn -instcombine | llvm-dis \
 ; RUN: | grep {ret i1 true}
 
 @G = internal global i32* null
index 0ba91df857a6e3cb50bbf74be7dedcb16b4d6bfb..f47f3d8e668a2ac3d1b3a4ced001dfbbc0b64523 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -gvn | llvm-dis \
+; RUN: opt %s -anders-aa -gvn | llvm-dis \
 ; RUN: | not grep {ret i32 undef}
 
 ;; From PR 2160
index ce37516b36845a4274b644b7d2c5402b39db36d3..453d02305ff2259bea22596e28b2155516431905 100644 (file)
@@ -1,3 +1,3 @@
-; RUN: llvm-as < %s | opt -anders-aa -disable-output
+; RUN: opt %s -anders-aa -disable-output
 
 define void @foo() { ret void }
index 8ba66df8b99fad3c88bf7244a159f2b0fa3216a4..171e6ef38a810d1b4be829dafde58d24848abaf0 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: llvm-as < %s | opt -gvn -instcombine | llvm-dis | grep DONOTREMOVE
+; RUN: opt %s -gvn -instcombine | llvm-dis | grep DONOTREMOVE
 
 define i32 @test() {
        %A = alloca i32
index 0a15deb9baa653bbaeb81585c8eaaee14a1d4752..a6624462bec06af565add0bc78f57010c9d4138c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 4b3cc6a0a647a57ff5ed7e9813064845632f57f3..6518551c7aff3642d6f1b6059cd8aa61cb8df2d4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -instcombine | llvm-dis | grep sub
+; RUN: opt %s -gvn -instcombine | llvm-dis | grep sub
 
 ; BasicAA was incorrectly concluding that P1 and P2 didn't conflict!
 
index 845613150eac67dc4fcb23e7f170c581d7cf5052..ecfa706f14d4ef4c4c8b498b78a2f57f10b87883 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 c9049c8cc439c349a7b49f4024f98ddac418fa7b..ee7c659658dd5342a7c1d70f103882f2e034cb85 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 c673a323001ecb9b3dcefecd14c6d7e1545a4588..d832b10f6d22c65bf52831af13d6c56b4fd422ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d385961780d3aef348b57c2f4ff1a02454775ebf..1db578cc0d2b19d2ec4c5dff2622fbcbfb94310e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e2bb86dcb226adf3d79fbfe41bfc90bfd0b27994..c3977afd8b1366ff5e4109e0a30bf0c49c61fef9 100644 (file)
@@ -1,6 +1,6 @@
 ; In this test, a local alloca cannot alias an incoming argument.
 
-; RUN: llvm-as < %s | opt -gvn -instcombine | llvm-dis | not grep sub
+; RUN: opt %s -gvn -instcombine | llvm-dis | not grep sub
 
 define i32 @test(i32* %P) {
        %X = alloca i32
index 99eae1660de82a53384003831a60b0821c443d44..76a644e008ef4d6e856847f911507d1777844219 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase consists of alias relations which should be completely
 ; resolvable by basicaa.
 
-; RUN: llvm-as < %s | opt -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 639cb0a2f82c9d5febc276df5584729ed03d666d..46025d08ae30829ac62b6040efe9bf27122f470d 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: llvm-as < %s | opt -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 407932c9d6c58ed1842f505a7c950d993404f44f..05defe54b9bafb21bf8a70f375a779b6db1f8e00 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | grep {store i32 0}
+; RUN: opt %s -dse | llvm-dis | grep {store i32 0}
 
 define void @test({i32,i32 }* %P) {
        %Q = getelementptr {i32,i32}* %P, i32 1
index 58d4da16e6e6b293b83b34e28c7f8461e30718ab..b43bb3fbce8e2d8be13472988c5acee6b5ad3e5d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d96438fd43d201f1479a5e7fcc4d957a6a46d8a9..bbf8c5aad02cfb301319a186db8547bc3d944d8f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 21c86b774c5afa8c1df943f3243af6cc4a36ee31..ed89cb56cfffe525b2b2211d44af847ea3c3ca22 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine |\
+; RUN: opt %s -basicaa -gvn -instcombine |\
 ; RUN: llvm-dis | grep {load i32\\* %A}
 
 declare double* @useit(i32*)
index b8e30198e371289b506aa0ce1b43cdfe1b065c1d..00fbc15b461657b91c7174cdde22e0d0bf303626 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 08c483d6d76cb79fc8673197d4e17dd07f2d68fb..18c0bb2c42f60bdff6116e6d1a1cd95b3780829c 100644 (file)
@@ -1,7 +1,7 @@
 ; PR1109
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | \
+; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \
 ; RUN:   grep {sub i32}
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | \
+; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \
 ; RUN:   not grep {ret i32 0}
 ; END.
 
index 15aaa02a6ef913a9451c7e228e23e00679fcd403..73f4dc8e760c75e71429faf7c5fd37740fc00484 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1600
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | \
+; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \
 ; RUN:   grep {ret i32 0}
 ; END.
 
index 61ab80d5475a1e7a89524405c57a13cf98242ad8..cfa152b8e9d6338d34726453495ecfa670374204 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn -dce | llvm-dis | grep tmp7
+; RUN: opt %s -basicaa -gvn -dce | llvm-dis | grep tmp7
 
         %struct.A = type { i32 }
         %struct.B = type { %struct.A }
index 5a938cfef05ffb6abcbe6d49168b819b56bbf5e9..a01aec8266ff0f3d97c4d397bacf4444cf086adb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 2f0c769ee58d6f2334d87f4aa9f39d706dfb0651..c509dc32640ebd654953ba03e35840bf67c78e0d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ee16909977d187d968f7448b82be9f25630c8d0d..31ae1e8113c9b2388c330dd9f78c255ed487441c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -std-compile-opts | llvm-dis | grep store
+; RUN: opt %s -std-compile-opts | llvm-dis | 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 40d1e32d6730c774628fb29c3928688026dbdd7a..8e8d92c99e915cce15a3b99eb0599f5535422365 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d2e823ee8a48af34d78c77d34fd7594f2e285775..a0cb26a1c1fd14ef426ca84abd90db6da75796ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 967a36edcb3ac950054afda351fff13b9e131f7d..40ca09e44b7fc0a3d6b85d07a129c148c01e5b6b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 f3891ec75f0892968f84633b551446062425ff37..617e01d97e9c9c2245c411c2314de202407b8dff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep load
+; RUN: opt %s -basicaa -gvn | llvm-dis | grep load
 
 declare noalias i32* @noalias()
 
index f0644198b7db0287b8b78f678febb554764e4685..7eebb9a5ad421b28dbeb824544b18ba617eed389 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {ret i32 1}
+; RUN: opt %s -gvn | llvm-dis | 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 9bbb5e7c373ec057db130e4ed4de14d0149999ad..fb297e86085204c44ef5930bc51578a227b07af7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep load | count 1
+; RUN: opt %s -basicaa -gvn | llvm-dis | grep load | count 1
 
 @flag0 = internal global i32 zeroinitializer
 @turn = internal global i32 zeroinitializer
index e92995be5e6968f881ed7474b9d8ee3f44113586..191708a009445ae9378a83547c333a4a9d4bdba7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e807f882219feeff4efcad9b24db4bcca9622ac9..01e4708d77f2e60205ee32bd5e69539843985747 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: llvm-as < %s | opt -basicaa -gvn -instcombine -dce | llvm-dis | not grep REMOVE
+; RUN: opt %s -basicaa -gvn -instcombine -dce | llvm-dis | not grep REMOVE
 
 @Global = external global { i32 }
 
index 1d55ca9a2a94caadee6a19fd902fdab49a0f4e2c..5206b28826fc8bc9299e14451022dc9cb6f13d18 100644 (file)
@@ -2,7 +2,7 @@
 ; disambiguating some obvious cases.  All loads should be removable in 
 ; this testcase.
 
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine -dce \
+; RUN: opt %s -basicaa -gvn -instcombine -dce \
 ; RUN: | llvm-dis | not grep load
 
 @A = global i32 7
index ce92a690d4101b3d425d4bb545935f6a122273cf..e95bc59102546d6f2a71e43e1c6f510568051bc2 100644 (file)
@@ -1,7 +1,7 @@
 ; A store or load cannot alias a global if the accessed amount is larger then
 ; the global.
 
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | not grep load
+; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | not grep load
 
 @B = global i16 8               ; <i16*> [#uses=2]
 
index 819f956eaa10f51f6908f2169bb0838538edf6ae..5a8a2eed1536c187de6059f82928d918cec9ade0 100644 (file)
@@ -1,5 +1,5 @@
 ; A very rudimentary test on AliasAnalysis::getModRefInfo.
-; RUN: llvm-as < %s | opt -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 ab1fea78e95910394e6475f837afb71a03bd5c8a..cfe4e9f219b4048af5f06333718377fc81c13942 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | grep {ret i1 true}
+; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | 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 0ca444c1cacbee557884b1ae0187dbccdf3d2d63..5269449c2bd1801246edd7578fa9bd0569beeac1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | grep {ret i32 0}
+; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | grep {ret i32 0}
 
 declare i32* @test(i32* nocapture)
 
index b01b5c5cb81c339b8b6f88b37a5bd16709c207be..ab34e16e52577a295091d7369a9225644ef0d119 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestConst | count 2
-; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestPure  | count 3
-; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestNone  | count 4
+; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestConst | count 2
+; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestPure  | count 3
+; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestNone  | count 4
 @g = global i32 0              ; <i32*> [#uses=1]
 
 define i32 @test() {
index 033a1842ce59776744a6ee83f9d08f393adb5616..196a608c33d454b9b8984ce6a5905e25e172d65b 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: llvm-as < %s | opt -basicaa -licm | llvm-dis | FileCheck %s
+; RUN: opt %s -basicaa -licm | llvm-dis | FileCheck %s
 
 @A = global i32 7               ; <i32*> [#uses=3]
 @B = global i32 8               ; <i32*> [#uses=2]
index ac4ea400b0f340601c0c71d268e35aedf15748f9..dc07a1b871906a9e8af16550ee380926ebe7a1d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine |\
+; RUN: opt %s -basicaa -gvn -instcombine |\
 ; RUN:   llvm-dis | grep {ret i32 0}
 
 declare void @foo(i32*)
index 456ffa25d7bfdd1142468ef27917453e822146ee..3977a5c5b46b4b18c5eeedabd57a8fffa7cc47b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -print-callgraph -disable-output |& \
+; RUN: opt %s -print-callgraph -disable-output |& \
 ; RUN:   grep {Calls function 'callee'} | count 2
 
 define internal void @callee(...) {
index ffc27bbe43d1a8dfab08dce246b634c41447dfde..2b7bae20d68f8b4e946606e3e5dd780fee70a523 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -print-callgraph -disable-output |& \
+; RUN: opt %s -print-callgraph -disable-output |& \
 ; RUN:   grep {Calls function}
 
 @a = global void ()* @f                ; <void ()**> [#uses=0]
index 997ee2a8a0a6cd5108528722bfa39491abca6ff2..deb949baaa1c04d09e822acd064257857d96a9c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -domtree -break-crit-edges -analyze \
+; RUN: opt %s -domtree -break-crit-edges -analyze \
 ; RUN:  -domtree | grep {3.*%brtrue }
 ; PR932
 
index 697dad25cce9063e7b027c367ec5f8830858a380..191e0aa85719761ec434ceac49c895c9b98ba5f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 aba6082c62e588c49452eba4683c9fcdd1a85874..e10d9bd5f0ee2088fa960cb6655faff6c06a8fd2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn | llvm-dis | grep call | count 2
+; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | grep call | count 2
 
 @g = internal global i32 0             ; <i32*> [#uses=2]
 
index 5ea90fe9a3e67bd19748fe4ef50f9e81b5935476..957793d2072a79dd26e0cc675e0ec9dba9410651 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn | llvm-dis | not grep load
+; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load
 @X = internal global i32 4             ; <i32*> [#uses=1]
 
 define i32 @test(i32* %P) {
index 137b2c14d3dc151027dc6a033f48004bccdecb9e..01d86112a8acf44c56e8fece080a05ea5e83cdb8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn | llvm-dis | not grep load
+; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load
 
 ; This test requires the use of previous analyses to determine that
 ; doesnotmodX does not modify X (because 'sin' doesn't).
index ff5a0b9839d6ea10c0d60032e0093309361d07ee..dbbebc36939a9c54c14d699a73542a49daa23422 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn -instcombine | llvm-dis | \
+; RUN: opt %s -globalsmodref-aa -gvn -instcombine | llvm-dis | \
 ; RUN:   grep {ret i32 0}
 
 @G = internal global i32* null         ; <i32**> [#uses=3]
index ffcb84defad89bf4fee992f8e592aac1de94b849..f84725a3859c6c41b28463edad2e65749cf48434 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn | llvm-dis | not grep load
+; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load
 @X = internal global i32 4             ; <i32*> [#uses=2]
 
 define i32 @test(i32* %P) {
index dc3f6adda1435e492f17d20f530126cf8a70b7b4..dc75fcb10121b208cd48bac5c45576793186d0be 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that pure functions are cse'd away
-; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn -instcombine | \
+; RUN: opt %s -globalsmodref-aa -gvn -instcombine | \
 ; RUN: llvm-dis | not grep sub
 
 define i32 @pure(i32 %X) {
index 46d38af280eb606a5e3f1ccc57a551bf86f8ab47..2bc02d217a40674b3fd8688e1fe28c2f869164de 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 7b9296edc6e0564cd5ecfd7496233aaba8ae45e7..6514e0c766b7f9baa5d6f66ed3b3c575c5e68936 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 1e37750f7c5b1e5a319ad29ea9509af5a2522437..57484ed3eb2c2ce03c35f99b2c0eabe401c19e5a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 72fc2db375ea8db2ada0adf0df1863497bc5d286..4aa96e6ca3da4c1422bdeb4fd294ecd83ef9c6cb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 3b265ba2733499b2efbfbaa12dbef6c2af71eaef..0ee8156537326e0b46148b5ecfe58c33b4f9a03c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 34b9c4431810c8d8af1598281f5790ed6c7b65f8..b437266f0867b38a2efbe7f876ab9d7b1d65a0ae 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: llvm-as < %s | opt -analyze -loops | \
+; RUN: opt %s -analyze -loops | \
 ; RUN:   grep {^            Loop at depth 4 containing: %loopentry.7<header><latch><exit>}
 
 define void @getAndMoveToFrontDecode() {
index 5da4dcc6f86c01502ae3f182faa5a58b3a26a740..ccaeeec7393fed8fb1af3ddc4bd55f92bb7d6f39 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b272f92499e5c9bd408eb3a16f605117cd4bd86e..8b016f6612349841f6555904e03d95dbf5d8de21 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -postdomfrontier \
+; RUN: opt %s -analyze -postdomfrontier \
 ; RUN:   -disable-verify
 ; ModuleID = '2006-09-26-PostDominanceFrontier.bc'
 target datalayout = "e-p:64:64"
index 51e4c2aeb55347af8f8382b528dd254ba256b3b7..59303c67f9ced3a447cc0fcd6ab053c1c50c829a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -postdomfrontier -disable-output
+; RUN: opt %s -postdomfrontier -disable-output
 
 define void @SManager() {
 entry:
index 4deec98a9ee8b7ebff7037cd4ec8da4a82f212f1..9f032610ecaa25d26047661e072d78c8cc99d16d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -postdomfrontier -disable-output
+; RUN: opt %s -postdomfrontier -disable-output
 
 define void @args_out_of_range() {
 entry:
index b54a9fe1c75b98a29e6be80f9797e5d00dbffb9b..637142278abbd196c729f4265704377158b2b242 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -postdomtree -analyze | grep entry
+; RUN: opt %s -postdomtree -analyze | grep entry
 ; PR932
 
 define void @foo(i1 %x) {
index f285c19e6ee360ea075fd690910ccb1023d16601..3eb805b65ed5655de0e387d354ed50bfff6141f0 100644 (file)
@@ -1,5 +1,5 @@
 ; Test the edge profiling instrumentation.
-; RUN: llvm-as < %s | opt -insert-edge-profiling | llvm-dis | FileCheck %s
+; RUN: opt %s -insert-edge-profiling | llvm-dis | FileCheck %s
 
 ; ModuleID = '<stdin>'
 
index bf27e7753538ca30d3c668957de97463a505ec66..ee7cce132acc773fcf85f29c0c5315ccbba3c6b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e3393d5eed622fdbcde8169c035bd62de8599741..caea9e4406543d722b2816797666260d5e1be5fb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -adce -simplifycfg | llvm-dis | grep "icmp s"
+; RUN: opt %s -indvars -adce -simplifycfg | llvm-dis | grep "icmp s"
 ; PR1598
 
 define i32 @f(i32 %a, i32 %b, i32 %x, i32 %y) {
index 95f932a9a581c7c3ab48dfbf9bb444706188fd58..6813b9014d7b8180952b1a042d19495f921f1844 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e5e47d549f53b70129e2eac495445d10a4bbd9aa..9b490bf2dc174e8badcc60cdea2766650ed23786 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 66ca7551c240e6c5d59d1c5c4814d82ebefeb3b6..ff46b87bebdc1f6dd37613defbfe07a112f4783a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep printd | grep 1206807378
+; RUN: opt %s -indvars | llvm-dis | grep printd | grep 1206807378
 ; PR1798
 
 declare void @printd(i32)
index 01f338a29c2731daeb5779b3edebc73067b9a8b1..567e61338841d52ba714fb087aaeec5ed347cc93 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep -e {-->  %b}
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep -e {-->  %b}
 ; PR1810
 
 define void @fun() {
index b9a53b318bf5bdca4eda8c83b8fded62e612fc31..fb6092cd4bb62799e857624cf246680971f7cba2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b943bc7d4c61c73a1ad02b496e643543e1791859..5266df8825333c84668085f1c22208fa36c0519c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 59b51093f40a90760066b5ae3aebeb15015be086..3ccd79b01322280f2b145457b3cfe3ad04167471 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep umax
+; RUN: opt %s -analyze -scalar-evolution -disable-output | grep umax
 ; PR2003
 
 define i32 @foo(i32 %n) {
index 5453ae3ae80ba16b9d2673d56a63543c17b45a82..42472fd22a7a83715d60d0be5e0065dce1807f06 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 cbe5c97905ceee77cf53724bc66e7b5af745b611..2aa55576fe8fc92a5eb918a07525ff5b97713e22 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6ba0f25eb06127c1162ba94ce716efe192c57066..0768eaf702e572daaf78d5cb33a4c4ed33cf3663 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 3c022e7181bdd8c27400c1030f7373db1420f365..66f4a8c005cb7088de4cdeb184d1ae7c813b692d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 5dcad53f6a60aa7c2817314f280069daf58243ee..64b92971ae4c16819d7b841e9c8fd0a6a4d7bbb3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep Unpredictable
 ; PR2088
 
index 54c929dcdaf635ac138c079a711ed605d639bed6..116e6da85abc37c56f53a256498e42726b3e11f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 527b8b0add23e801fd7265473ed00fd62c2ef2fd..4ab5735a591ab29e681936056e1e1e70499f0ac2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 9051dc7ec515d5cf0fc77c36b191380476802a39..5917a5a9591b814e2d6382d88dfe719bc643565e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 f8e1cfcd7fbe43c417a5ec309c3433aa9a98a7e4..afea1bca122256941335d9a4eb68e6118ac7a265 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 fbd249fbc0406c3fbb2b34546d44fe984db5547a..775ecc7ca34c90ac44d7fbbf8d6e3e48f66fecff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 1e9d0bfc9c23165832d43d029251a96be4d33c4e..d8ae095f2818e1067e1bbe42bf51b49a8a7a5e02 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output
+; RUN: opt %s -analyze -scalar-evolution -disable-output
 ; PR1827
 
 declare void @use(i32)
index c0b3a1fe01b2a944d31401fba5f221316cdd1f17..cd02ec96663a1d4bcb310e18719b66c5fee7f4dc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output
+; RUN: opt %s -analyze -scalar-evolution -disable-output
 ; PR2602
 
 define i32 @a() nounwind  {
index 56d1fe7b541dde1a8ae2a001e9b638453e224938..8be6f2cae25073abd5e5154c93d53194eb0b3ad8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 8fb1604fd190f48a5751f0e3ae505ce4d716c825..4c89a3bfd778bd9b750862e957b037088179c93c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d506f9c3f82f5fc20b8e5ef037a0abd908b8245a..23e9630fefaca73a2100cfe4d3281ec1dc72d6f2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 643d2f835b8c0afbed20c7b7294ad6834642eddf..cbab6a61d6798666d5c6d62018d1bae1c301da4d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 995a1d95a8a89bfaea4e37e231cf2e87ccb9febc..03b67c3712317948e3926a3ce2c7d24d6f6fd08f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 8e064c70da9a0ec884edf8f5c465b19f730a4854..7e0f452e4ba94e347ab512a253649c990529e6d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& \
+; RUN: opt %s -analyze -scalar-evolution -disable-output |& \
 ; RUN: grep {(((-1 \\* %i0) + (100005 smax %i0)) /u 5)}
 ; XFAIL: *
 
index 950c1d21d910ae33898809c8e2260001d7f96a01..e25183c0816126568f1b2c823b45dab6ba68e621 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 65c4cdbb1362dcfe94cf65574c114401b9f32a75..01a3605c0dc10d9e8e0e3bfe917bb71db312399c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6aced23cf9500bb05c4a6182f31299075a5ec39f..f8409d3e2cde0d1a43cdc472703bb782fd1d19f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 5e5128bd577a6b5e3183087167d3f903ab45f7bf..4261984025ef80ca52de36622ce01f1c92638240 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b5d588e01ad54d8055b349fe67f81ec7fce673ab..c20940584840e597ba15bed52ea08c858c3fd9a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution
+; RUN: opt %s -analyze -scalar-evolution
 ; PR4501
 
 define void @test() {
index 27a546f32e8279920712244e74bc2ae3541a81fd..6b94c8a736ea89349599ccabac2a74b52188eff6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 94cca83ea74dbbd8a6d7c493debde0a6b5940cfb..767194c8bd9a5ddbf4e6dc25989fb02e7222a5f8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output \
+; RUN: opt %s -scalar-evolution -analyze -disable-output \
 ; RUN:   | grep {\\-->  (zext} | count 2
 
 define i32 @foo(i32 %x) {
index 3fe033676c6ee264b3bc3740b1c0d43d7ea4bfb2..0db3f9722231d6a3eb51ec628765085352b3fa50 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output
+; RUN: opt %s -analyze -scalar-evolution -disable-output
 ; PR4537
 
 ; ModuleID = 'b.bc'
index 121e0acd6aed51ae850ae1ce1066ade161c03d72..5c6133ecf09c93fbdd3302ee8faac40980d39463 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -iv-users
+; RUN: opt %s -iv-users
 ; PR4538
 
 ; ModuleID = 'bugpoint-reduced-simplified.bc'
index ce7ee7791d581e3ff62e253c89a7d1b436ea0522..e3056846c837107a910c41cf5ad8158c40cb0716 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 74117cf8f44c39fed38c9984a910c285c5cdf826..5d30d61f1297472193c180e3c7f0304ebbda6d1c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep select %t | count 2
 ; RUN: grep {icmp ne i32.\* %w } %t
 
index cb64b856a7779b185c49711ea46fa96ec20af30f..5d8dbd3a42d7272323e62803d4b516483dc730f8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 85c38e4f1c5abd595d491b62763897e947f16a72..d820664e7c4634a3b6cebe43cf87f6db2c05c464 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 8791bb5fcbeaa1cdf58e5cd90cd02eefd56f9fd8..47d7da19d672b769a446b1876457da1090ce1dbb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 26528c930027327d5e5724a003813a4161060d2e..ce34662fedbac0e6f90399272a0cec86ec56cfd6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 05cb81b3ba6bfe4dcf2bc9ad2868e5e85227eea7..a440ac92848d9ead1fb4b78a93c64839add9660a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 80720c724afb845a40f4353280c0ff12d8145ec2..79172243fbb4f9a852ec8bb0462e0cbca9932f7d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR 3909
 
 
index 2208b3db4d75b2dc23645c259cc8e75dc9d5f90c..60ffaf2685cb7e779a92123f211838fa610637be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 8a88f0f7d9678561f3af2301f0fc37e17604ade8..6929f3dcfb989befc90cffde1588370a725d85f0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 17f2dffdbfcf69fd5ec51a23a8b572dcbda15176..dde291f3737504501ab897b3e26dea3833624bdd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ca6ad0aaba12108c7b3afe79c74fcc689666d138..fdbdfb7f690b2bd667913336369689d3893c2779 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 10bcc4756a21ffe3f31a330ca6a543f549b4e561..db0d6823531384a3755cd61da1cf7d71e227e137 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 366dfdee7146067c4f6c3f2db910428c011f211e..e87bd88842145e10f70b0848d5be0e5904edc4bc 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep smax | count 2
-; RUN: llvm-as < %s | opt -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 c5be858d1ee9158668278634c38db199f4b5070b..f43d19242a6b4f5e8e8bd19c1b3dc5c236429529 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 374a5621cebfdb0e0a4d4b1df300ec69f529bec9..38700e1b1ac409cf7c9a4ab7d9bf99da8bba66fe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | \
+; RUN: opt %s -analyze -scalar-evolution -disable-output | \
 ; RUN:   grep {backedge-taken count is 4}
 ; PR1101
 
index 35c86835f3ac4c43a16b149a58db69ed45e94881..e4ef955b6d7ad90dc79a30218378b82da781b7ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 49c4e133b4679754133ca93dc7b53acbc7a6389f..31e8110d9904b3befffb42c4bc821b20435ab52d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 822dc2638f5a0c607fc8cbb0dd1717df4ce205ad..5e286e3c24fc04dc3d076f3637b997106c88adb2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 a6674092e7995797055acddb29ee70ff63420935..89fdc3ade6d05625894271e5d9adb07f04db76a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 cea826ef1d303a5d379d22d9d30aa9bc2cb211a5..6534e6eae718f438a7baf8c0bc209bf2a1ec6d25 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 21ccc47b8b9adedb8473c9020793367ceb895e06..312a3b5de5c0aa9fe9744de6be5dec34a332bfb3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 843052456a8006ffc306f7319693cab3a2fa5e9b..8541af4176e61e70073518ba7bb1a5c55d01e1fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 052d036b08d90c10a968b98d861ea62e7a1ad838..6b4020134e2cbf27f278040265986611bc0e1104 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
+; RUN: opt %s -analyze -scalar-evolution -disable-output \
 ; RUN:  | FileCheck %s
 ; PR4569
 
index 5c54b39b80815c3ecea6ec78a0d6e224a804dab3..914ab8bc4a52dd73994b7ad6b613abfa125dfd95 100644 (file)
@@ -5,7 +5,7 @@
 ; of the bug that was causing the Olden Health benchmark to output incorrect
 ; results!
 ;
-; RUN: llvm-as < %s | opt -constprop | llvm-dis > %t.1
+; RUN: opt %s -constprop | llvm-dis > %t.1
 ; RUN: llvm-as < %s | llvm-dis | llvm-as | opt -constprop | \
 ; RUN: llvm-dis > %t.2
 ; RUN: diff %t.1 %t.2
index 9665aef14323d13607fb88681aef6cd2f45ec85d..2e10b2eaea4e90a2b50a455957ced975fd48d34b 100644 (file)
@@ -4,7 +4,7 @@
 ; Check by running globaldce, which will remove the constant if there are
 ; no references to it!
 ; 
-; RUN: llvm-as < %s | opt -globaldce | llvm-dis | \
+; RUN: opt %s -globaldce | llvm-dis | \
 ; RUN:   not grep constant
 ;
 
index e42cda0baa07a6723052ca6c0b30c255ff59687e..2986668694a5dc05296d919b73d8b92b5060aded 100644 (file)
@@ -1,7 +1,7 @@
 ; Testcase that seems to break the bytecode reader.  This comes from the
 ; "crafty" spec benchmark.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | llvm-as
+; RUN: opt %s -instcombine | llvm-dis | llvm-as
        
 %CHESS_POSITION = type { i32, i32 }
 @pawn_probes = external global i32             ; <i32*> [#uses=0]
index 6f31f16778f6d11f7eb461cf242d8cacae9004e1..2efdf5c35d43025c1a1e5207ec62a9701e0371ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -instcombine -simplifycfg | llvm-dis | not grep br
 
 @.str_1 = internal constant [6 x i8] c"_Bool\00"                ; <[6 x i8]*> [#uses=2]
 
index 5b2ed7e8f48069e0641972cf40439279902dd8c2..44a40469e03294e351d089e36570bce942d98fc5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -verify | llvm-dis | llvm-as -disable-output
+; RUN: opt %s -verify | llvm-dis | llvm-as -disable-output
 
 define {i32, i8} @foo(i32 %p) {
   ret i32 1, i8 2
index eef5d3614a818d43ae933e33e407273340fb5a9b..d8c71c99d49824beec620eb95691dbe55577bedf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -strip | llvm-dis | llvm-as | llvm-dis
+; RUN: opt %s -strip | llvm-dis | llvm-as | llvm-dis
 
 ; Stripping the name from A should not break references to it.
 %A = type opaque
index 04cb131f6e7f7e9d6064252b3820cb070f3b0337..88229678783f37f401bfaf8b15f6e44cd379e52f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis
+; RUN: opt %s -constprop | llvm-dis
 ; PR3465
 
 define double @test() {
index 5df947a9fb12aec112ef222fd64b31376142a549..d4344a0e0d01e156e5097d37cb23f9232647bb9e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -argpromotion
+; RUN: opt %s -anders-aa -argpromotion
 
 declare void @llvm.gcroot(i8**, i8*)
 
index c5a56f600dd0ee80c5ae775359fe6494b14d6edc..4ee0b87a6e14d4dc366fc45b45252ca771b118c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim
+; RUN: opt %s -deadargelim
 
 declare void @llvm.gcroot(i8**, i8*)
 
index 157e19d2d929710dba3e496272252b20208aacfd..54d91edd7d3d5f3287f397ab78d8c0f528be818e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep example
+; RUN: opt %s -inline | llvm-dis | grep example
 
        %IntArray = type { i32, [0 x i32*] }
 
index b45ef7c47f526ee47835ba58c400e6ede1283bc3..a6bcc1bf812819422ae98c78f811ce57ab644e14 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep sample
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep example
+; RUN: opt %s -inline | llvm-dis | grep sample
+; RUN: opt %s -inline | llvm-dis | grep example
 
        %IntArray = type { i32, [0 x i32*] }
 
index a487de7fd57728d734c3de800c08abcb540f30fd..a4dbdf4d43fd0342bf2dee201006bbd851d93597 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 1289dca2d2116a4f3d85906e81aae0bcd13a724f..b97607ef71839412f481c78c036e4a9051c665d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | \
+; RUN: opt %s -instcombine | \
 ; RUN:   llc -march=ppc32 -mcpu=g5 | not grep vperm
 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 > %t
 ; RUN: grep vsldoi  %t | count 2
index 0619e120396810f567785f11caab5c3d69baacc5..3b908656874354aabd93530b3992c496e4dde0ac 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 302245289961712575840256
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep K40018000000000000000
+; RUN: opt %s -instcombine | llvm-dis | grep 302245289961712575840256
+; RUN: opt %s -instcombine | llvm-dis | 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 284a9fb00fde742c858f23212956b7e8e49ee0d7..a67a2128f696fe3cca90f8e8fb9d5f56e548e477 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 96cac0dc329aa305ae7dadca8811b048b4bdaf7a..28ee39380f61ef2b9eb28180c5d6c0af588e4932 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 7882839575855382a2b89e7185158d51537b71da..b3a61cafbe92ab78efb933471277065b5989464d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 c494190b4ec8a50f821caad7f65e06d75b15721e..1175b85f92f90989fe2d0c9d398d43ff38dbe798 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc
-; RUN: llvm-as < %s | llc -O0
+; RUN: llc %s -o - -O0
        %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* }
index 3ed85c3e4e09a46d73f4e2f0bc8ef920fb24b8c3..42fb54ce7c8fb9af77dcb182e0092e09cc18a4fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o /dev/null -verify-dom-info
+; RUN: llc %s -o /dev/null -verify-dom-info
        %llvm.dbg.anchor.type = type { i32, i32 }
        %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32, i8*, i8* }
        %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* }
index 2a7823bbda899f1d333d0ea1bb4cfdc4826892e7..ab404afbd8a7170b1f9c26cb6342912a8217cf36 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o /dev/null
+; RUN: llc %s -o /dev/null
 
         %llvm.dbg.variable.type = type { i32, { }*, i8*, { }*, i32, { }*, i8*, i8* }
 @llvm.dbg.variable24 = external constant %llvm.dbg.variable.type                ; <%llvm.dbg.variable.type*> [#uses=1]
index dc72bb7ce552f7321888d418a1eb97fedf54b2ba..a0fb0dbf5ea07b9bb78d17476d2fc4e491c5cb5b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o /dev/null
+; RUN: llc %s -o /dev/null
        %llvm.dbg.anchor.type = type { i32, i32 }
        %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32, i8*, i8* }
        %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* }
index ea9e04623957411a0b6561eec9c35d689e842e9d..27bcef7b70892ca47241883c7ec151bff6aca927 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o /dev/null
+; RUN: llc %s -o /dev/null
        %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 d9b18aa859009694587d94bec70cb6f4ad8cb863..20f8e0cdb685f33b593a1253b9b49dd460745a4a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep store | count 5
+; RUN: opt %s -instcombine | llvm-dis | 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 795393d87e0e402f52fc3d9b06390ba213394b83..de9e1ef131961e68ce4e05e24e065383718508cb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep alloca
+; RUN: opt %s -instcombine | llvm-dis | 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 72866ec6d7007d9288d2106229c273e25d0a4a30..6ed1e504ba22ef0e60f0dfee3dcab7d764622669 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep alloca
+; RUN: opt %s -instcombine | llvm-dis | 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 f6993378f170b2e9c53b5451521a9c39bb75e59d..de404686764474054296eac78055297f1563cb8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o /dev/null
+; RUN: llc %s -o /dev/null
        %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*, i32 }
index 32e20ff8c912c355b09216b4e5dc15ff63a57c80..e87c52386cb6f7268059342731359eced8263e37 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc
-; RUN: llvm-as < %s | llc -O0
+; RUN: llc %s -o - -O0
        %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* }
index 2ece6a3bf8ce5f45e26b23cd27e787d670979500..41cff0a368b4a405c8cb82804b4ea143b682e8b7 100644 (file)
@@ -2,7 +2,7 @@
 ; 2009-06-12-InlineFunctStart.ll with one change. In function main, the bb1
 ; does not have llvm.dbg.stoppiont intrinsic before llvm.dbg.func.start.
 ; RUN: llvm-as < %s | llc
-; RUN: llvm-as < %s | llc -O0
+; RUN: llc %s -o - -O0
        %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* }
index 3029da02a2664bb6f0b24cdd754535b93bd47ae2..d442a30a064df4254cd47fb18b436ee4868f0afd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -asm-verbose -O0 | not grep ".long   0x0     ## DW_AT_abstract_origin"
+; RUN: llc %s -o - -asm-verbose -O0 | not grep ".long  0x0     ## DW_AT_abstract_origin"
 
        %llvm.dbg.anchor.type = type { i32, i32 }
        %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 }
index edab7e84be562cbfa682a721b3a1f7ba300eadb4..a9af12b3850fabda776a35d539f61f465e3c1f94 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -O0 | grep "label" | count 8
+; RUN: llc %s -o - -O0 | grep "label" | count 8
 ; PR2614
 ; XFAIL: *
 
index a82bf80b74358c725bc94418c1696a3218532a48..68b12279f3cde6a6acf3dec37b4dbfa28096093a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 356eceb285eae1aef5ca13094ab0726bd673ce28..cdc57085b5d4094131ecf948f9dd59a56de690d7 100644 (file)
@@ -1,6 +1,6 @@
 ; PR1318
-; RUN: llvm-as < %s | opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \
-; RUN:   -disable-output |& grep Hello
+; RUN: opt %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \
+; RUN:   -disable-output |& grep Hello
 
 @junk = global i32 0
 
index d27adfefa57fcd84f3d45cda04885a6954e48435..06cfe115cd550cdf49b57957f3f151d76c98a8ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -std-compile-opts | llvm-dis > %t
+; RUN: opt %s -std-compile-opts | llvm-dis > %t
 ; RUN:   grep undef %t | count 1
 ; RUN:   grep 5 %t | count 1
 ; RUN:   grep 7 %t | count 1
index abf9456858259c4d7d9b7741e2002cef65e00243..7577bc980ecd3433dabf29411f84d0c13b6cc5cd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o - | %llvmgcc -xassembler -c -o /dev/null -
+; RUN: llc %s -o - | %llvmgcc -xassembler -c -o /dev/null -
 ; PR2609
        %struct..0._11 = type { i32 }
        %struct..1__pthread_mutex_s = type { i32, i32, i32, i32, i32, %struct..0._11 }
index bb4c23e8779c1f718f675f1f47c7790f1faffe89..1fd0368480ed701ff8953fa51bf08ff6384c9993 100644 (file)
@@ -1,6 +1,6 @@
 ;  Call graph construction crash: Not handling indirect calls right
 ;
-; RUN: llvm-as < %s | opt -analyze -print-callgraph >& /dev/null
+; RUN: opt %s -analyze -print-callgraph >& /dev/null
 ;
 
         %FunTy = type i32 (i32)
index cbb1a89693775efa246a222cada51e9e8158dba1..c5c2f38021aa2f0349bb5a9fbe9ed9e3220f8098 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: llvm-as < %s | opt -inline
+; RUN: opt %s -inline
 ;
 
 define i64 @test(i64 %X) {
index 90dc0026935c989d8b6fd3102f410faa94176896..b1e727565a37b844a8887ab3dfc75124cff80301 100644 (file)
@@ -5,7 +5,7 @@
 ;
 ; Fixed by adding new arguments to ConstantFoldTerminator
 ;
-; RUN: llvm-as < %s | opt -constprop
+; RUN: opt %s -constprop
 
 define void @build_tree(i32 %ml) {
 ; <label>:0
index d2945536ea7938693641f59dc99cf3b1d413abef..2672c9f07b33319f4387b1990dc614fe34a90e1c 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: llvm-as < %s | opt -analyze -loops | \
+; RUN: opt %s -analyze -loops | \
 ; RUN:   grep {     Loop at depth 3 containing: %Inner<header><latch><exit>}
 ;
 define void @test() {
index 4ffcf96b0efef8c8658a151c9b983bb55d4997fc..3d1c3749a09037ee209fa6035338d4c67a7e6436 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: llvm-as < %s | opt -codegenprepare -disable-output
+;RUN: opt %s -codegenprepare -disable-output
 
 define void @foo() {
 entry:
index b6bba36c871516c73aa463be5dba0918cdf89c71..ce540484128d49927d9b5589dea20b9320b3c900 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: llvm-as < %s | opt -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 863be33b3f91f851b99c172aa6a2d226afca841e..20e323f68b44ad5a3e4531ae8293b3d1e140ade8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -indvars -disable-output
+; RUN: opt %s -loop-unswitch -indvars -disable-output
 ; Require SCEV before LCSSA.
 define void @foo() {
 entry:
index 832465ca9f5eaca1ddef3990da01a4454c7dec00..8411d60f157f3e57086bfe70751c4124f442d35b 100644 (file)
@@ -1,5 +1,5 @@
 ; PR 2034
-; RUN: llvm-as < %s | opt -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 f718dd38e914f863832941e3cffc7701a2f620ea..3a4bd07a719b8850c5063d8d123566d3a8704756 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep true
+; RUN: opt %s -instcombine | llvm-dis | 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 a82d1b6f4b778f5923a89c1d9654c14d4087d08d..f62885278e1b69df2cdc6811a9be65b809341e2a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -internalize -disable-output
+; RUN: opt %s -inline -internalize -disable-output
 define void @foo() nounwind {
   ret void
 }
index 43578be2d92cb4be171b62ac13ae11e5b507a560..dc6fc6bda51e75c5c9ee769a4a9a4c1d7e0866d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 5addfe2d99abdba11fb35e020d978b711cbae287..515f9094363aa00722aea2cc6cc20482ab924aa5 100644 (file)
@@ -1,4 +1,4 @@
 
-; RUN: llvm-as < %s | opt -verify | llvm-dis | grep noimplicitfloat
+; RUN: opt %s -verify | llvm-dis | grep noimplicitfloat
 define void @f() noimplicitfloat {
 }
index 04f0051af8dcb1ab97cbbc7e5750dd583b50d08d..5a7b0bb8a512095383693459a41cb3df0e6c7418 100644 (file)
@@ -1,6 +1,6 @@
 ; It is illegal to remove BB1 because it will mess up the PHI node!
 ;
-; RUN: llvm-as < %s | opt -adce | llvm-dis | grep BB1
+; RUN: opt %s -adce | llvm-dis | grep BB1
 
 define i32 @test(i1 %C, i32 %A, i32 %B) {
 ; <label>:0
index 911f8e678b357053dc978526ac9aced426e2adfe..590bdeff8182d9bc24f1985aeb293e4ffafdc986 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: llvm-as < %s | opt -adce
+; RUN: opt %s -adce
        
         %node_t = type { double*, %node_t*, %node_t**, double**, double*, i32, i32 }
 
index 5d25ff13525e5a95da9c390d42fa1719c1ef3081..17e9eeb0701e2e35ae41cd0ef89025fbb61246d3 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase is a distilled form of: 2002-05-28-Crash.ll
 
-; RUN: llvm-as < %s | opt -adce 
+; RUN: opt %s -adce 
 
 define float @test(i32 %i) {
         %F = sitofp i32 %i to float             ; <float> [#uses=1]
index 27c7205203c0e150691eec5d42538b4f3e78b901..346ad74a0fe01eca7f7701fe48341a382444d1af 100644 (file)
@@ -11,7 +11,7 @@
 ;  return !s;
 ;}
 ;
-; RUN: llvm-as < %s | opt -adce
+; RUN: opt %s -adce
 
 define i32 @rx_bitset_empty(i32 %size, i32* %set) {
 bb1:
index fb4fe4a8d279920afc9f9f31268c937bb1b31676..ee406b67e3b1dda3a9861e0b051e3f6e3845a483 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: llvm-as < %s | opt -adce
+; RUN: opt %s -adce
 
 define void @foo(i8* %reg5481) {
         %cast611 = bitcast i8* %reg5481 to i8**         ; <i8**> [#uses=1]
index 42a7e4dcde4a39939b21ae501029eb1c3e313818..64219a2062bc0e6029566ea9ea62e470536570d6 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase was extracted from the gzip SPEC benchmark
 ;
-; RUN: llvm-as < %s | opt -adce
+; RUN: opt %s -adce
 
 @bk = external global i32               ; <i32*> [#uses=2]
 @hufts = external global i32            ; <i32*> [#uses=1]
index 4ec900560705cabd4a14e82c9920cc2112293990..9a3bc2a35cb53a7720e12581613cb91fe1637ca3 100644 (file)
@@ -1,5 +1,5 @@
 ; Testcase reduced from 197.parser by bugpoint
-; RUN: llvm-as < %s | opt -adce 
+; RUN: opt %s -adce 
 
 define void @conjunction_prune() {
 ; <label>:0
index 603b14b537d542568a92dfc64c8dd648190dd787..8474e26a4761b2e9be03fe9baa3f8eab6345e9bd 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: llvm-as < %s | opt -adce
+; RUN: opt %s -adce
 
 target datalayout = "e-p:32:32"
 
index a9657a7a37d138d4c1ce5a51ce9aa6bd8736b8de..fe8799481a7ec561ed014c43758385400daf4c63 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 @G = external global i32*               ; <i32**> [#uses=1]
 
index e5dd0cc6d9a78574f881f7f2b38a092c7c890bb8..40749f0d6aa549c51e8b6026cebd2f9edb68b9bc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 9c6764d562358f3c271d98f27562c5d46f18128e..9cbf8c66405f1c27bc56edef0dfa3c79c54d4e79 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis | not grep then:
+; RUN: opt %s -adce -simplifycfg | llvm-dis | not grep then:
 
 define void @dead_test8(i32* %data.1, i32 %idx.1) {
 entry:
index e6345c13eba3b306a990fdc110bde63231cfe137..69760b56e7be146e68f657941c9e034c9b15ffce 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
         br i1 false, label %then, label %endif
index 37e077f21cb9c361ec047bf0835e745abf5b36ed..2319c499ea8c90a3b57b54183d6483ef25d360e9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define i32 @main() {
         br label %loop
index 6e9b17ed31315f81f58315b5347fab67022cd27c..847cf2b0be288a5ada851f149c9eb28a2c7cafcb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis | grep call
+; RUN: opt %s -adce -simplifycfg | llvm-dis | grep call
 declare void @exit(i32)
 
 define i32 @main(i32 %argc) {
index 87a1550e9d45e3634539a28bc892d184234fa961..675670e18709a64168fb19d9d4790ed5e61747a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
 entry:
index 8ddbbbe2c50d16dd7f08078d8537c4cb96c0a9f5..08708b380f600d51d91e6fd43ef29220670d13b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 declare void @strlen()
 
index 22ff0f753bec5a79edd2d036bbe230e854789077..814c2a85d10b36448e1eb5349cdf4bc1394bc54e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis
+; RUN: opt %s -adce -simplifycfg | llvm-dis
 
 define i32 @Test(i32 %A, i32 %B) {
 BB1:
index 29f40deb9c7f2ce5541a31f817cd1ecb749b54f0..922586acfc44b2a0b1700a4d6d1bff3445024cda 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 120e23352dd0389d4da17a7cced316809137b63b..0193838d3fe863a1727849b2c2562b0374d7ec1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 3935bf72b9c14e775ac47841b7bfd3b2d36607b4..b76ccc5e6299d628e151b1ee66e9a0a8d5affbd8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep call
+; RUN: opt %s -adce | llvm-dis | not grep call
 
 declare i32 @strlen(i8*) readonly nounwind
 
index bd28df2b5e75104036cd2939218b47b8c9d3ea99..f8111456efd14f6f3ba52babf830905c32e87fac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce | llvm-dis | grep null
+; RUN: opt %s -adce | llvm-dis | grep null
 
 declare i32 @strlen(i8*) readnone
 
index 86c55f5916887c1a6ee76fcf6d71b2c9ecd281ae..d806b7f37694e510d68feacd2c4038aa9487a965 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt %s -adce -disable-output
 
 define void @test() {
        unreachable
index 67c061fc1ca631f6d519f5ba4169dc4bc5b6555a..4d6a1905572ae5847d7e401419f0ae017841b136 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | grep nounwind | count 2
+; RUN: opt %s -argpromotion | llvm-dis | grep nounwind | count 2
 
 define internal i32 @deref(i32* %x) nounwind {
 entry:
index 11bcb285d5e0174a3bba90ca96ba5a8cb19a17f3..d35f853a2d34329d6eaf674f7ff7b43ef8640812 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion | llvm-dis > %t
+; RUN: opt %s -argpromotion | llvm-dis > %t
 ; RUN: cat %t | grep {define.*@callee(.*i32\\*}
 ; PR2498
 
index 047ff0a48c6d0ef308bc10b73d44b1735d036716..e7fc4fba13098697c1a8ff94f244a61b2c23c15a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -argpromotion -disable-output
+; RUN: opt %s -inline -argpromotion -disable-output
 
 define internal fastcc i32 @hash(i32* %ts, i32 %mod) nounwind {
 entry:
index d4061655008c7958751a4e181e7a6cb8790ee59f..2b4c49b04e0960f5ece4cb6cc9a8eaf81863a9df 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion -disable-output
+; RUN: opt %s -argpromotion -disable-output
 
 define internal fastcc i32 @term_SharingList(i32* %Term, i32* %List) nounwind {
 entry:
index 62b1a07c434e18e96513a3ee311fe3d60904376a..c5a69bcf6cd9835690ca771435ae96b40613931b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion -instcombine | llvm-dis | not grep load
+; RUN: opt %s -argpromotion -instcombine | llvm-dis | not grep load
 
 %QuadTy = type { i32, i32, i32, i32 }
 @G = constant %QuadTy {
index 0fb38be1f0b2146719131525e2bd75100fd2fa7d..69936691925b82368f2bbe9f85bf2e00f6dcd24e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | grep zeroext
+; RUN: opt %s -argpromotion | llvm-dis | grep zeroext
 
        %struct.ss = type { i32, i64 }
 
index 99697f4c40d7290955455cb9ee66a187c74d1343..ef04e112ee3168d5461cef1ecbdb99db7fba23ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion -mem2reg | llvm-dis | not grep alloca
+; RUN: opt %s -argpromotion -mem2reg | llvm-dis | 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 d6253574ca00cb372bfcabfbcfec618280ca6983..26899b3575969a5b9e6171b02239446b77ddf1e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | grep -F {i32* byval} | count 2
+; RUN: opt %s -argpromotion | llvm-dis | grep -F {i32* byval} | count 2
 ; Argpromote + scalarrepl should change this to passing the two integers by value.
 
        %struct.ss = type { i32, i64 }
index 3a3458f3d941e719a168045b585c9813771f8ca2..5a8c4c0cd402dd6ee5c472bf474ef5bce46b3b5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion -scalarrepl | llvm-dis | not grep load
+; RUN: opt %s -argpromotion -scalarrepl | llvm-dis | not grep load
 ; Argpromote + scalarrepl should change this to passing the two integers by value.
 
        %struct.ss = type { i32, i64 }
index 2c854bbda989d4d8466be77507865ff1a33dff64..3c0c9a46ce42734474f40a63cba89234ccc12dd4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 de5f6e527063547c9a91be8a52fe9937cb926ea2..5211be43dd57a2134cb92e3951050cfa14013271 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion -instcombine | llvm-dis | not grep load
+; RUN: opt %s -argpromotion -instcombine | llvm-dis | not grep load
 
 @G1 = constant i32 0            ; <i32*> [#uses=1]
 @G2 = constant i32* @G1         ; <i32**> [#uses=1]
index 76e8fd95030eb8c99a0beb21f807336371155b31..cf1fd09bf640ec86fd510174ee2ebc4df2284a92 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | \
+; RUN: opt %s -argpromotion | llvm-dis | \
 ; RUN:    not grep {load i32\* null}
 
 define internal i32 @callee(i1 %C, i32* %P) {
index 58750138567fd617ba32035ef8bb95561669d970..752ac95b19527e1d51e0ece01840fdfeb87d4dcd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | \
+; RUN: opt %s -argpromotion | llvm-dis | \
 ; RUN:   grep {load i32\\* %A}
 
 define internal i32 @callee(i1 %C, i32* %P) {
index e350370ca7afe21b8f52b9af1f8cbec364e1aace..86761f298b90c9126e58504c79aef9cbe9f51093 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 4eec23e49cf114dea53ebab1e5d5f8e2ccb3df72..f3b8e3625a66287c28d1fc91f74d2082ab1c36b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 8afdcae50ae9411009aa52e663518be7e3f11832..01ce42411f24f3a61c4bef8c2264c34d8a9b860a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 aba35642e4dc9f193e3c3fc645e5e20ef9ec958e..7654a38a6e959571e81369d90b30ba2427aa498f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 define void @solve() {
 entry:
index a41430d45d3c42fa52e3f8cb5706166722c0bfeb..1f08985fdd8b724059899bb201a6c88f4446a9ab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ded821b702f5ccb23c516f735f2fa0e2f458bade..385182f954ea4827fe09d57d4d3dea287e3d1683 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-extract-single -disable-output
+; RUN: opt %s -loop-extract-single -disable-output
 
 define void @ab() {
 entry:
index e2030e2db987966b880d833da2638343931bff95..74584a9245030c640b913f587668257e7520735a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 define void @sendMTFValues() {
 entry:
index 9f4b273a61ead4366cf27c1ed54454d2decad847..9264d4a87fc9a3e5f95e97693d6d0b5bbaa726f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b1b0324bca503a27a8751296bd880bd8b5fc3a1f..17368424dd74ae927a057627e5dd067fe15d6bc5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 define void @maketree() {
 entry:
index 48e5a768e0e58bd776e9aebd2de0a925d73f45ab..394dd6d69f467867241d11185ae83fa22be48ef8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-extract -disable-output
+; RUN: opt %s -loop-extract -disable-output
 
 declare i32 @_IO_getc()
 
index 0ab5498b0491d4573dc86968986742bd18bb21c4..c9013e53309529c2fc3ec75c41c5f44dbedc5f19 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -extract-blocks -disable-output
+; RUN: opt %s -extract-blocks -disable-output
 
 define void @test1() {
 no_exit.0.i:
index 8cd6094826681d74f417ec37c822a50fff683a74..19769a2bf84eb2ec8a0217d6c44f066210f88131 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -extract-blocks -disable-output
+; RUN: opt %s -extract-blocks -disable-output
 define i32 @foo() {
         br label %EB
 
index 12d6c0c1f8f91cd5e781309c2de0f424a199ef31..28f0891a9c704f09d9cccba2a8cf51a551821522 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 fa083799b9f29de23ba003654adc61a94dfb16cd..6ed07d81808a488fb005768e764022c9b6c6c6b0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -condprop -disable-output
+; RUN: opt %s -condprop -disable-output
 ; PR877
 target datalayout = "E-p:32:32"
 target triple = "powerpc-apple-darwin9.0.0d1"
index 573ee6cadd392e4407948a1fb20413e3f2272016..f50e3742cd7f2bf0fcd48e86a2c293c878d89e85 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -condprop -disable-output
+; RUN: opt %s -condprop -disable-output
 ; PR979
 
 target datalayout = "e-p:32:32"
index 1e1f8cbc63ffff25efaa6e8bcadfaceee1a7250a..91461fd885a1f79454e88e05ed61a57051bd1092 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d14ce38f3df275c190a5611bd913e965b483bc97..53eee9e5e3e563b7413c5bfa924d8ef6c18f5480 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d8a680b89841a8623edd2229eb6b748580a124c1..f0af0a6d7e447548775ee20aefefa7398d93e3b6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -condprop | llvm-dis | \
+; RUN: opt %s -condprop | llvm-dis | \
 ; RUN:    not grep {br label}
 
         %llvm.dbg.anchor.type = type { i32, i32 }
index 317247caf585e3bb77789d65d6eb9b5c100c613c..7a9fc60fddc1c5eed2fee7f73540d6894f0184f9 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -condprop | llvm-dis | \
+; RUN: opt %s -condprop | llvm-dis | \
 ; RUN:    not grep {br label}
-; RUN: llvm-as < %s | opt -condprop | llvm-dis | not grep T2
+; RUN: opt %s -condprop | llvm-dis | not grep T2
 
 
 define i32 @test(i1 %C) {
index 5b5a3042eb62446d17cd8e898a0bfaeab5349563..97cd7369a9c111e0e3762330da5666cfe23234db 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -condprop | llvm-dis | not grep phi
+; RUN: opt %s -condprop | llvm-dis | not grep phi
 
 define i32 @test(i32 %C, i1 %Val) {
         switch i32 %C, label %T1 [
index 03d12e3e4c9724de9b45be670e71bf640c15f125..69e79a6c84fa6ae737d93ccf63cecd9822efff6e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -condprop | llvm-dis | not grep phi
+; RUN: opt %s -condprop | llvm-dis | not grep phi
 
 declare i1 @foo()
 
index 16785971e3ccfd678b663d9c06942e5da555b168..df5e5eb6758ed9c4b50b17d497a2c356be2fcca1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -condprop | llvm-dis | not grep phi
+; RUN: opt %s -condprop | llvm-dis | not grep phi
 
 define i32 @foo(i1, i32, i32) {
 prologue:
index 1a0845c52ac087aa7fd95c9c064527e33d907b6d..202322f34f1a1315aa3b73ab7bc0be9a0d846b3a 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure that the constant propogator doesn't divide by zero!
 ;
-; RUN: llvm-as < %s | opt -constprop
+; RUN: opt %s -constprop
 ;
 
 define i32 @test() {
index b59f085bb000dac0f19354d8dad70e15d1be3033..0164252d7552f9a3e487085ad190ef9817f12f75 100644 (file)
@@ -4,7 +4,7 @@
 
 ; Fix #2: The unary not instruction now no longer exists. Change to xor.
 
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
+; RUN: opt %s -constprop | llvm-dis | \
 ; RUN:   not grep {i32 0}
 
 define i32 @test1() {
index 781d796506c85c24cbdd8ecc1374eddf91591d1a..6eadb0a77ebd7e0dfb17e0655de94ffcc3e518f4 100644 (file)
@@ -1,6 +1,6 @@
 ; SetCC on boolean values was not implemented!
 
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | \
+; RUN: opt %s -constprop -die | llvm-dis | \
 ; RUN:   not grep set
 
 define i1 @test1() {
index a3f239f95bd41cc264fac2a6532e29229c84af7b..ee38bbf34c95374099806d000e3a21eb54a98301 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure that the constant propagator doesn't cause a sigfpe
 ;
-; RUN: llvm-as < %s | opt -constprop
+; RUN: opt %s -constprop
 ;
 
 define i32 @test() {
index 9ffbcd1b0ce1ac001bbeb3293b58defa481646c4..c99c3b8529065595ce637d5cb24bf25beb781891 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
+; RUN: opt %s -constprop | llvm-dis | \
 ; RUN:    not grep {ret i1 false}
 
 @b = external global [2 x {  }]         ; <[2 x {  }]*> [#uses=2]
index 812cbcfa6277af0b8f431ee1fed49fe3e7dab0db..c6313524990c995f219e136b15f58472e9fecc42 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
+; RUN: opt %s -constprop | llvm-dis | \
 ; RUN:   grep {i32 -1}
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
+; RUN: opt %s -constprop | llvm-dis | \
 ; RUN:   not grep zeroinitializer
 
 define <4 x i32> @test() {
index 889ef56bf9c6e6dbccc747231c190990bdb05cb0..c7769616a9ae6ae963aca0b46300ef1003cfd538 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep {ret i1 false}
 define i1 @test() {
         %X = trunc i32 320 to i1                ; <i1> [#uses=1]
index dd1e46d8c6fcf98faa1230a31f9c1648659fae1e..29b4667b92162778eeb5fd7ae696f8c68dfa2903 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
+; RUN: opt %s -constprop | llvm-dis | \
 ; RUN:    grep {ret i32 -1}
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
+; RUN: opt %s -constprop | llvm-dis | \
 ; RUN:    grep {ret i32 1}
 
 define i32 @test1() {
index a1d7c3e0377c63896339ee0682b396faa4194d41..9211aeb635e2c64856cf114c288de5463088b7be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep 1065353216
+; RUN: opt %s -constprop | llvm-dis | grep 1065353216
 
 define i32 @test() {
         %A = bitcast float 1.000000e+00 to i32          ; <i32> [#uses=1]
index 995ce2febf87105eae7d57708a11f33ee2c98ceb..93e3c4b904f5181034b82fdeac1202bec704a297 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep {ret i13 13}
+; RUN: opt %s -constprop | llvm-dis | grep {ret i13 13}
 ; PR1816
 declare i13 @llvm.cttz.i13(i13)
 
index 2cb01ba446dae81a4113645bf968a4f430fde28d..2f1bf2a4bb639b5a65ef83ecf14f4608faad8264 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop -disable-output
+; RUN: opt %s -constprop -disable-output
 ; PR2529
 define <4 x i1> @test1(i32 %argc, i8** %argv) {
 entry:  
index 4d51bf6388aba3f00769a44eaabdab1827bfc66f..8a233143b24b9be744be7fdc6de985c79334225d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 56892d93186ff0b81a0b4b9103002916f4a975c8..07516764da72375b61f54b48bd70de73ba3f1f2c 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep add
+; RUN: opt %s -constprop -die | llvm-dis | not grep add
 
 define i32 @test(i1 %B) {
         br i1 %B, label %BB1, label %BB2
index 66def7f49da23b03f465b073c34f5c06cb89ee34..b2bc122f28f59be0d22b767f4f7ae672ae0ed0e3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep bitcast
+; RUN: opt %s -instcombine | llvm-dis | not grep bitcast
 ; PR2165
 
 define <1 x i64> @test() {
index 49758271046e84f4bfcf15076c64635e71077f54..0c4f0454d742e3359e84641138f9c40a8880f844 100644 (file)
@@ -1,6 +1,6 @@
 ; bswap should be constant folded when it is passed a constant argument
 
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | not grep call
+; RUN: opt %s -constprop | llvm-dis | not grep call
 
 declare i16 @llvm.bswap.i16(i16)
 
index c573e565fc83b08b7d55f8483107a7569d88f9d5..4337cca1bdba3b109b381a89fa7f83275a7e48ec 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | not grep call
+; RUN: opt %s -constprop | llvm-dis | not grep call
 
 declare double @cos(double)
 
index 166c643dcc9997e259f9ce3097a72e519cd373dd..74c7449f02af5157c9759e6bd1d6caf4a306bfca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 0}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 0}
 ; PR4424
 declare void @ext()
 
index cbf84f54f0a2d5b0948feb959dc8a54af08f30ab..f65d51e41b76fa34f3cdf381f65584759132567e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop | llvm-dis | \
+; RUN: opt %s -constprop | llvm-dis | \
 ; RUN:    grep -F {ret i32* null} | count 2
 
 define i32* @test1() {
index 81bdb950e9fcbdb9570d3c57373f821ee0ca97b7..022e6ae11e69f674a1d0f5ac9bc2da4f86a9bf7b 100644 (file)
@@ -1,6 +1,6 @@
 ; Ensure constant propogation of logical instructions is working correctly.
 
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | \
+; RUN: opt %s -constprop -die | llvm-dis | \
 ; RUN:   not egrep {and|or|xor}
 
 define i32 @test1() {
index 41ea1b3873046e8a9fd425ab9a7e19a0e53c7a13..d1fb83abd16238ce6439320f93c097eeaf4d75e7 100644 (file)
@@ -1,6 +1,6 @@
 ; Ensure constant propogation of 'not' instructions is working correctly.
 
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep xor
+; RUN: opt %s -constprop -die | llvm-dis | not grep xor
 
 define i32 @test1() {
         %R = xor i32 4, -1              ; <i32> [#uses=1]
index 858c0becb148f713096d7e494b0cc559f0d2458c..9ec87766bde5dbcaa5de17903fcb68706d00d1b4 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep phi
+; RUN: opt %s -constprop -die | llvm-dis | not grep phi
 
 define i32 @test(i1 %B) {
 BB0:
index 11861a4e80933892b25aa31e8c77b8399376e350..ac9509d5f4ef9d5bfcb6d5ec15acdc63fb724bd6 100644 (file)
@@ -1,6 +1,6 @@
 ; Ensure constant propagation of remainder instructions is working correctly.
 
-; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep rem
+; RUN: opt %s -constprop -die | llvm-dis | not grep rem
 
 define i32 @test1() {
         %R = srem i32 4, 3              ; <i32> [#uses=1]
index 658944de23f85c0ce30dc753d36dbf27db525aac..609876400279446e100bcb686d7ad7447e346f92 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 a621b594ca0556a5c55857dfbc2cc140b4c3b06f..d61a65194cad59d2f822a3b63fa6501c3280cef0 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -constmerge | llvm-dis | grep foo
-; RUN: llvm-as < %s | opt -constmerge | llvm-dis | grep bar
+; RUN: opt %s -constmerge | llvm-dis | grep foo
+; RUN: opt %s -constmerge | llvm-dis | grep bar
 
 ; Don't merge constants in different sections.
 
index 0d86800c780a098e91b34c669875bf267f4d0b9a..ecd596536a22a1870c837799b87cbec6e112f3da 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim -disable-output
+; RUN: opt %s -deadargelim -disable-output
 
 define internal void @build_delaunay({ i32 }* sret  %agg.result) {
         ret void
index 2b3a2ea247a286ae649b1bbfe7ea790b7d435ebc..2df4aa841c288e9e996060895e4aca753c0479f8 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | grep {@test(}
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep dead
+; RUN: opt %s -deadargelim | llvm-dis | grep {@test(}
+; RUN: opt %s -deadargelim | llvm-dis | not grep dead
 
 define internal i32 @test(i32 %X, i32 %dead) {
        ret i32 %X
index 2a09b76c35b4834e4e8fae2e3eeb599ef04b4f88..4a24c8a96fbe8e6f5cd095f96b9c88553f6d464b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep {ret i32 0}
+; RUN: opt %s -deadargelim | llvm-dis | not grep {ret i32 0}
 ; PR1735
 
 define internal i32 @test(i32 %A, ...) { 
index 47a85ea78c3e294f03226f5e1f02f761cfc5a7c5..cb866f66a1cd309516074c0b638e699d47b0a490 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis > %t
+; RUN: opt %s -deadargelim | llvm-dis > %t
 ; RUN: cat %t | grep nounwind | count 2
 ; RUN: cat %t | grep signext | count 2
 ; RUN: cat %t | not grep inreg
index 96cddf1fd3a1fc6101a2cf1a7312ecb1ae4662f5..34b084064ecd90cae7026d1b99b96b6dc65e57d6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | grep byval
+; RUN: opt %s -deadargelim | llvm-dis | 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 2c9416049a7858eef779aa4e6ecdd9c5679685ed..bdaa6405dbb6712a17b12189eaa7b08ec8425de9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim -die | llvm-dis > %t
+; RUN: opt %s -deadargelim -die | llvm-dis > %t
 ; RUN: cat %t | grep 123
 
 ; This test tries to catch wrongful removal of return values for a specific case
index f5f2ce18b6c5e070bb32f8eea145e2774eb6ee14..46d2f6d6804e07194da3408c3cd9b0fee46d0c36 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis
+; RUN: opt %s -deadargelim | llvm-dis
 ; PR3807
 
 define internal { i32, i32 } @foo() {
index 5f68f9859652bb6e821f78bddff1cfeeb5583367..672df3d6e6011c48cb808fba6507d216e599fe46 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep DEADARG
+; RUN: opt %s -deadargelim | llvm-dis | not grep DEADARG
 
 ; test - an obviously dead argument
 define internal i32 @test(i32 %v, i32 %DEADARG1, i32* %p) {
index b8adb713a7afe29e3a3e08d31a1e78f6a585a7b7..3213b0e6b430545009d29211c663ada1bd3f567c 100644 (file)
@@ -1,5 +1,5 @@
 ; This test shows a few canonicalizations made by deadargelim
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis > %t
+; RUN: opt %s -deadargelim | llvm-dis > %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 a4444bc102af34236a845ebe1080e76b774a6a19..411fb029843162dd2299fb84c4819589d16c177b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep 47 
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep 1.0
+; RUN: opt %s -deadargelim | llvm-dis | not grep 47 
+; RUN: opt %s -deadargelim | llvm-dis | 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 5395290978b115193b4c94de9353dfb381875d0a..dadf36cd44946d4a592c43599f654ec781433a04 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep DEAD
+; RUN: opt %s -deadargelim | llvm-dis | not grep DEAD
 
 ; Dead arg only used by dead retval
 define internal i32 @test(i32 %DEADARG) {
index 316d7555e927d7b003b43bfa01b23d40d3e46ea1..6093132347c9bc68273e9baa9798164e35aa6552 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim -die | llvm-dis > %t
+; RUN: opt %s -deadargelim -die | llvm-dis > %t
 ; RUN: cat %t | not grep DEAD
 ; RUN: cat %t | grep LIVE | count 4
 
index 899ebd93a469c3e3cac83f1bc8dfc971d06611b5..98aae1b2936b0eaa5d50ba734c9e191f4375d198 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis > %t
+; RUN: opt %s -deadargelim | llvm-dis > %t
 ; RUN: grep {define internal zeroext i32 @test1() nounwind} %t
 ; RUN: grep {define internal %Ty @test2} %t
 
index 6e0474a6f8d25eadf6a008ab5d8f368c8846594a..3d9c29c82ab61431495fbc7c8b1d68c6099d2e80 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: llvm-as < %s | opt -deadargelim -instcombine -dce | llvm-dis | not grep i16
+; RUN: opt %s -deadargelim -instcombine -dce | llvm-dis | not grep i16
 
 define internal {i16, i32} @test(i16 %DEADARG) {
         %A = insertvalue {i16,i32} undef, i16 1, 0
index 54fa078a591620fe5dcc642bdf0257acc9f5bbe8..3c5e7cf0418bbbcf39c60082e0c267ce34a61c5c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse -scalarrepl -instcombine | \
+; RUN: opt %s -dse -scalarrepl -instcombine | \
 ; RUN:   llvm-dis | not grep {ret i32 undef}
 
 define i32 @test(double %__x) {
index 3c40347f30942e861272374964cab62e33713dd1..d03bbc9f99528fb028f9c240d6621810c7b754f1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | \
+; RUN: opt %s -dse | llvm-dis | \
 ; RUN:    grep {store i32 1234567}
 
 ; Do not delete stores that are only partially killed.
index 58d67870879493b9920d80a3a20c6858f446d816..244dab8dbb27b7b855762eda551b3f8cd0768651 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | grep store
+; RUN: opt %s -dse | llvm-dis | grep store
 
 define double @foo(i8* %X) {
         %X_addr = alloca i8*            ; <i8**> [#uses=2]
index 3b3f8ada99685910a09d9cbed683bf330ecdee4a..8758cb6fa9025c21afee987345b41ff1fee9a033 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0ba8479a2c5557e895f3acbe61f2f5e9c1fbac08..7b818f851093d48aad3321fee27da160f8d752ff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep tmp5
+; RUN: opt %s -dse | llvm-dis | not grep tmp5
 ; PR2599
 
 define void @foo({ i32, i32 }* %x) nounwind  {
index 0f3350d80c722de75cd2fb87ea519d0dd2f62a3a..5d4c1c157bb094a282d4a45eef04e5eba1b854aa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 11e2ffd3d08fc8bc1485ef1ae998ab066b440042..e8222dc6527140cfeb49c9a4fd03d02581c4e9a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ce1965724f1035e7cf78a03c4f18ec5f82de29fa..d22e4afda58ca38513e545df2a1a58edf43fd877 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | \
+; RUN: opt %s -dse | llvm-dis | \
 ; RUN:    not grep {store i8}
 ; Ensure that the dead store is deleted in this case.  It is wholely
 ; overwritten by the second store.
index 7a2c94ffca6238ac49fbff6654abca51be92d18d..6d23c8048bfbf66ecabac60ffe3221bb2445c671 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep DEAD
+; RUN: opt %s -dse | llvm-dis | not grep DEAD
 
 define void @test(i32* %Q) {
         %P = alloca i32         ; <i32*> [#uses=1]
index 08f69a40c579f9b13ae44daa9d752ea6de60a594..a0d96ed0aad5c11267e19b30c67f4907a2fb18d2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep store
+; RUN: opt %s -dse | llvm-dis | not grep store
 
 %struct.x = type { i32, i32, i32, i32 }
 
index 266fdbc647ede53761c8ac12e65571f8dd4d4cab..af43b31d6c574420714a655c8db322c60e58eb66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep DEAD
+; RUN: opt %s -dse | llvm-dis | not grep DEAD
 
 declare void @ext()
 
index b35bd1aa5ca88a573b143b477c546eeb43ef816a..445b367d5fb78b207a71747d5338523f54bfbc22 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 246de9386cc36b490b95b9b87710e8d694d8cfb9..cc0a826668190d249531c53c5566e6e824a326ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep DEAD
+; RUN: opt %s -dse | llvm-dis | not grep DEAD
 
 define void @test(i32* %Q, i32* %P) {
         %DEAD = load i32* %Q            ; <i32> [#uses=1]
index e96b2e8fb1ed1603b66e4e8c9fb721cc6a1ce03a..4d63aa3427b2aedc00e47fc238a39ad7defc1605 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep alloca
+; RUN: opt %s -dse | llvm-dis | 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 594671d0f0f1d750d497a4821494e4d752d45ec9..240cb085e9fcfb803ea2fb45042befc5f0243976 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep DEAD
+; RUN: opt %s -dse | llvm-dis | not grep DEAD
 
 define void @test(i32* %Q, i32* %P) {
         %DEAD = load i32* %Q            ; <i32> [#uses=1]
index c458284dca768ec270c057b5e05696b5aa7b24c7..c9891bc3228974cf1b1140fcd97acaac7c243987 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -dse | llvm-dis | grep {volatile load}
+; RUN: opt %s -dse | llvm-dis | grep {volatile load}
 
 @g_1 = global i32 0
 
index 5261ac46588970e33095be350e903cf293476312..43411f860c308d5b7087db889e2c425688f14c28 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readnone
+; RUN: opt %s -functionattrs | llvm-dis | grep readnone
 
 define i32 @a() {
        %tmp = call i32 @b( )           ; <i32> [#uses=1]
index a17d381eec80142ba6f9aea7a1edd1c3cdce7eed..ec7311272870511ade01d1da9c3855e05284802a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readnone | count 4
+; RUN: opt %s -functionattrs | llvm-dis | grep readnone | count 4
 @x = global i32 0
 
 declare i32 @e() readnone
index cebfdacb4c0c4ec32cf285a5733a6551ef2b7c11..f69647ae2d51d435f76fab95aa604ad5331adee2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readonly | count 2
+; RUN: opt %s -functionattrs | llvm-dis | grep readonly | count 2
 
 define i32 @f() {
 entry:
index b6077fd8ee39c579755529a7e5340b6109588a8b..62d7d2ebcac678b2e4c0a428ad31e258f7fad74c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep read
+; RUN: opt %s -functionattrs | llvm-dis | not grep read
 ; PR2792
 
 @g = global i32 0              ; <i32*> [#uses=1]
index 50ca64120004d804a76ce63952cc2cd1093ddc19..98cd446910a77f7c09f4ad26013bf2a1badc8dfb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readnone | count 2
+; RUN: opt %s -functionattrs | llvm-dis | grep readnone | count 2
 
 declare i32 @g(i32*) readnone
 
index d9c01171ac4086b4551328ff0e8c2fa982949049..604a91e8426060f78a4f57d557165d5f39fcb69e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readnone
+; RUN: opt %s -functionattrs | llvm-dis | grep readnone
 
 @s = external constant i8              ; <i8*> [#uses=1]
 
index 39a64e6d36cc42645ca77abe5e859cc00eddc7fc..a015cf95cb8f2707e60152d8c104f5883eed619d 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep {nocapture *%%q}
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep {nocapture *%%p} | count 6
+; RUN: opt %s -functionattrs | llvm-dis | not grep {nocapture *%%q}
+; RUN: opt %s -functionattrs | llvm-dis | grep {nocapture *%%p} | count 6
 @g = global i32* null          ; <i32**> [#uses=1]
 
 define i32* @c1(i32* %q) {
index 68a232f5ff3b0b3cde81980789bd6b22a47d7148..870f924ed186ccc99720c6eda214373410dbf74b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep {nocapture *%%q}
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep {nocapture *%%p}
+; RUN: opt %s -functionattrs | llvm-dis | not grep {nocapture *%%q}
+; RUN: opt %s -functionattrs | llvm-dis | grep {nocapture *%%p}
 
 define i32* @a(i32** %p) {
        %tmp = load i32** %p
index 4022033c3b0ed8e18e911b880c2ae4b81bb9eec7..a4da263af16f901f5e7d43315887cb5447db6393 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep read
+; RUN: opt %s -functionattrs | llvm-dis | not grep read
 ; PR3754
 
 define i8* @m(i32 %size) {
index 7c10f970e084c4dd91b88a5263e5aae6cec4d4cc..39419af3c5c747eb57bf697d8ff63b5a894a27cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %struct.PerlInterpreter = type { i8 }
 @PL_sv_count = external global i32             ; <i32*> [#uses=2]
index 442ba083749f7b8db87a84725c6751ce838ad722..8e096c401be1265956d473fa9c1b57333f4ab7d5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {tmp10 =}
+; RUN: opt %s -gvn | llvm-dis | not grep {tmp10 =}
 
        %struct.INT2 = type { i32, i32 }
 @blkshifts = external global %struct.INT2*             ; <%struct.INT2**> [#uses=2]
index 2efacb55a2048394196ae0d6b271e272059d35a9..1a21e74b93133757cf5f5f94471e7eb852165527 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %struct.s_segment_inf = type { float, i32, i16, i16, float, float, i32, float, float }
 
index cebaaa39be08609ea78caed9b45fab80ef96a366..209a7d19f4302a8f64f5479b5ccfa53cd50d4793 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %struct.TypHeader = type { i32, %struct.TypHeader**, [3 x i8], i8 }
 
index 10482d8be150c951357196200711ecce5934de8f..ee8c9f76d445e37c88e1c2d0c4a0f93f14950a5c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
        %struct.ggBRDF = type { i32 (...)** }
        %struct.ggBox3 = type { %struct.ggPoint3, %struct.ggPoint3 }
index 076ba4c4f1143c5bf49b7dd22ea033d278b072a6..606d940cabb3b0b7fa3be19b7a2800165ce43755 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {tmp17625.* = phi i32. }
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {tmp17631.* = phi i32. }
+; RUN: opt %s -gvn | llvm-dis | grep {tmp17625.* = phi i32. }
+; RUN: opt %s -gvn | llvm-dis | grep {tmp17631.* = phi i32. }
 
 @last = external global [65 x i32*]            ; <[65 x i32*]*> [#uses=1]
 
index 204803ad3728e5c3c5de1bfa059b87c2b9170c2d..a6c3405955bc184ed3e7aa6dd59a6ce69c6e6847 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 
 @bsLive = external global i32          ; <i32*> [#uses=2]
 
index 4925df786d739863ade12fe63ddf5ef36d70acbb..e4d674a6aec3dc7a8753967887b1cd125f1e659f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {tmp298316 = phi i32 }
+; RUN: opt %s -gvn | llvm-dis | 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 1d1aec1146aa3dec35882db04876861dc3d63eb7..99016e3598504a8b1e7071f64d7c5a6afc9a41cb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6cb7785fcd57010d3e00d25f9c05b5638fcc30a9..e036f1f394dd4343cf7431dc1d8214f618333e66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {tmp47 = phi i32 }
+; RUN: opt %s -gvn | llvm-dis | 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 a9ca71ac81d4c6b68bff11d5c2689c9e720f33ff..6f75ecb284657f8aa75c797bde21959f364e71e6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {tmp701 =}
+; RUN: opt %s -gvn | llvm-dis | not grep {tmp701 =}
 
 @img_width = external global i16               ; <i16*> [#uses=2]
 
index 5ee3d6cbe643da77db76d2fdef98bb31e0bbc2a1..02a2d5f8e58751c42c80796614ddebc80a6e7238 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep load
+; RUN: opt %s -gvn | llvm-dis | not grep load
 ; PR1996
 
 %struct.anon = type { i32, i8, i8, i8, i8 }
index d3e32514681220ac7d49ae6074c74145a7150f47..13007c50b9cd96a5fcbb90734f9a17016309b7ad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -anders-aa -gvn
+; RUN: opt %s -anders-aa -gvn
 ; PR2032
 
 define i32 @sscal(i32 %n, double %sa1, float* %sx, i32 %incx) {
index 54a2201d2d7d4ae004c953d6f61683821824574b..5c7658788ca587931c125fdde77ffe2a6c1c67bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -dse | llvm-dis | grep {call.*memcpy} | count 1
+; RUN: opt %s -gvn -dse | llvm-dis | 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 92cac077711ca34ea6945ba3a3254f73e3714b34..b90925b1e77482f77349a4f5f302d1110b3710a9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -dse | llvm-dis | grep {call.*memcpy.*cell} | count 2
+; RUN: opt %s -gvn -dse | llvm-dis | 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 fc273c30f7f69373a2f391a9df655374b6474b60..98a50bead0b8f00ea897607209c0d624ae3ce342 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {ret i8 \[%\]tmp3}
+; RUN: opt %s -gvn | llvm-dis | grep {ret i8 \[%\]tmp3}
 ; PR2503
 
 @g_3 = external global i8              ; <i8*> [#uses=2]
index 48ce8f6ff461c1d466716f7b1fb5af6254ef6010..49258146091c36e523b35ccf34f436c40ec4d3a5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep getelementptr | count 1
+; RUN: opt %s -gvn | llvm-dis | 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 99fadc716c7e2f731e63040e66672978f5876367..31d337cdf7457370856503a34b6f5e00be1b6260 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 9bcfcac1ccdb878ae77254f9a7ba6a78ba8bfbac..8b5c46d3539c73ae0819fcb34d85ee89c611f207 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b547003b25eefc8a85f7d19758c54d531a02ccd0..e9c04b7da4ad425d7a9c3ee100ba0114f4209575 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis
+; RUN: opt %s -gvn | llvm-dis
 ; Cached results must be added to and verified against the visited sets.
 ; PR3217
 
index 51ca6cb34ee5660509859e2db931c6e9ae24d30d..71de99f00293aafb171e25bdd63be9ed67da0089 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 9b7fa0622ab84630c8aaddbbe63d422245216501..ef186847c70790d08530c339a4d4939f789b5b1b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 34dc3441dd1a2ea85b384a0261191de4dc95f605..b3ad47de4032899aaf142bc4473bdab48d55224b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0450a7a7aaf28ef1954a6737ef36b5964fc7782f..711b3bee692093c37fbfb2d0b665189309fb90b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 63ddc450869ea18192b04ef170b2f14a691ebff4..083f33ba070ea73e340f91f9a822da5465df1f96 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -disable-output
+; RUN: opt %s -gvn -disable-output
 ; PR3775
 
 ; ModuleID = 'bugpoint-reduced-simplified.bc'
index c8982c86cb9e8b3c1a4bed52d69e7bb72235124d..d53b49904a7527d828441c90fdcd36aaec5f2b14 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -enable-load-pre | llvm-dis | not grep pre1
+; RUN: opt %s -gvn -enable-load-pre | llvm-dis | 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 f87370427ca561d7eb1d66764615ad919f397a4a..0a45ac58dd811ea53b2e291411742236fb56b065 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ebf5daaf92729414173712edad5001b3180aba24..063b9279672d567af649a05c5b4d0f691069c14a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {%z2 =}
+; RUN: opt %s -gvn | llvm-dis | not grep {%z2 =}
 
 define i32 @main() {
 block1:
index 0a045c8bd50c2a6d0941b0ae4acee2f20de0c7ca..983a9e988a584cc74a9f7986c0df4e30f32ef07d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep tmp2
+; RUN: opt %s -gvn | llvm-dis | not grep tmp2
 ; PR2213
 
 define i32* @f(i8* %x) {
index 0d1c8a38ad486ffbfce26ac162e4f36b731822fc..93964091c9780c5ef9292d5c98f699edc262e855 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep strlen | count 2
+; RUN: opt %s -gvn | llvm-dis | 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 723ef7749298ba417e9a74cb2fe33be44da3a506..c48226139f4947ea7a3c49ba0625aa85dcd494c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep {call.*strlen} | count 1
+; RUN: opt %s -basicaa -gvn | llvm-dis | 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 53cbb509fcb25120cc66cc380aaa25d88a3bea30..884a826fd7dfb30acb4efa233d84b425f7046381 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {br i1 false}
+; RUN: opt %s -gvn | llvm-dis | grep {br i1 false}
 
 @a = external global i32               ; <i32*> [#uses=7]
 
index 83b9d3846c17ad54d7955daf07c7a3b18906715f..0fa003c510debd210a4a9c58763dcaffef718e00 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -instcombine | llvm-dis | grep {ret i32 0}
+; RUN: opt %s -gvn -instcombine | llvm-dis | grep {ret i32 0}
 ; PR4189
 @G = external constant [4 x i32]
 
index 59158cc0fcae40aaf7ff1fe0da5032659bc428b4..1f2ea9603ac28736bbf0359d3d7ee32f7ab043c8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -enable-pre | llvm-dis | grep {b.pre}
+; RUN: opt %s -gvn -enable-pre | llvm-dis | grep {b.pre}
 
 define i32 @main(i32 %p) {
 block1:
index 5b52863b1c8d729c8dd4d4d442f971771167a21d..215b6ea7bef2742523038a482fb84fcefb5a4307 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -enable-load-pre | llvm-dis | grep {%PRE = phi}
+; RUN: opt %s -gvn -enable-load-pre | llvm-dis | grep {%PRE = phi}
 
 define i32 @test(i32* %p, i1 %C) {
 block1:
index 0c4f65cf965190f81c5a444628d11e1a232f2f2b..0a605712e2566bc406c9f6710aa59d692b57bca3 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep DEADLOAD
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep DEADGEP
+; RUN: opt %s -gvn | llvm-dis | not grep DEADLOAD
+; RUN: opt %s -gvn | llvm-dis | not grep DEADGEP
 
 define i32 @main(i32** %p) {
 block1:
index f00bda3c4469ff09eeb9d4ac5965fb4a297dcf83..e9d7047e8b925e7e362dd0db9314d4777f1b0c7d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -enable-pre | llvm-dis | grep {.pre}
+; RUN: opt %s -gvn -enable-pre | llvm-dis | grep {.pre}
 
 @H = common global i32 0               ; <i32*> [#uses=2]
 @G = common global i32 0               ; <i32*> [#uses=1]
index cb71617caed0a81c018181e28467c1203cd6ea14..8a1a42199296e41aa60a96cfe68da3297daab02c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -enable-load-pre | llvm-dis | not grep {tmp3 = load}
+; RUN: opt %s -gvn -enable-load-pre | llvm-dis | not grep {tmp3 = load}
 
 @p = external global i32
 define i32 @f(i32 %n) nounwind {
index 0d517178675ed97420f1eb817a43a311bd01910f..cf67d855b8b9c882e9d5e8d8affaebb2ef60c448 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep load | count 2
+; RUN: opt %s -gvn | llvm-dis | grep load | count 2
 
 define i32 @main(i32** %p) {
 block1:
index ada4398571894e5a8419a9e004572558780f696b..80919679baba7f2011c85520fc78f80be9d020cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {DEAD = phi i32 }
+; RUN: opt %s -gvn | llvm-dis | grep {DEAD = phi i32 }
 ; XFAIL: *
 
 ; FIXME: GVN should eliminate the fully redundant %9 GEP which 
index 9ffbe217dba52d2f46587366023ccb8a8478005c..498f6389d1f26ae6499e4d20a1740ac9aed468d5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep load
+; RUN: opt %s -gvn | llvm-dis | grep load
 ; FIXME: This should be promotable, but memdep/gvn don't track values
 ; path/edge sensitively enough.
 
index d93223131d7959306af33df84c60b2efc6bbfc19..e44a3e73c08294bf271a05f0260eca9654adcb95 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {%DEAD = phi i32. }
+; RUN: opt %s -gvn | llvm-dis | grep {%DEAD = phi i32. }
 
 define i32 @main(i32** %p) {
 block1:
index b5311eec59c4c10ac79b876f7b8df2b7babe9fb7..63008f2dd98ab292a0ef1f47b6a9767308336c1e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {%cv = phi i32}
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {%bv = phi i32}
+; RUN: opt %s -gvn | llvm-dis | grep {%cv = phi i32}
+; RUN: opt %s -gvn | llvm-dis | 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 5c11b06e73276c4f36dd31303e8b01391d0cfb92..2ee99adb2ae73a1238340656f4b3b2075fdb19e4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {DEAD = phi i32 }
+; RUN: opt %s -gvn | llvm-dis | grep {DEAD = phi i32 }
 
 define i32 @main(i32* %p) {
 block1:
index b93a956b2f151743e84ef8e4dad64bfdd1323ac8..ea993e0ea7b8b2f3d61fe4872a99ca83fff2f688 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define void @_Z4sortI3Lit16LessThan_defaultIS0_EEvPT_iT0_() {
 entry:
index 3a6ac679cbc9177a2a6807c10cbef737babd7705..e0d420c567d03d4f7e4567f0eb4e76e9e0ca76f2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define void @strength_test5(i32* %data) {
 entry:
index 86187b291b8765f4ca00b749c7fc8eb3b76390d8..7f7fe1385163da324ed5aebee4870b27361578d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 92d2288f8969dd89856cbf5c51bebfe91e80592a..f265726134a2501942175cfef85ec8ca5ab664e6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define fastcc void @compute_max_score_1() {
 entry:
index 180105afc91290a9ff7613f554d1a0474702ed47..9a80f3424dffcc8f735fbed220dc56b2a96618ad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define void @vorbis_lsp_to_curve() {
 entry:
index af51a032cab485a5b36fcc605dde55b91496319d..005bc72817a7c66225f8a1dcacef1ef63e771808 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define i32 @TreeCCStreamFlush(i8* %stream) {
 entry:
index 65d70d95820ec2d5fbe898d8619d3f05119a41e0..2f50bef8a09e9184e875909853e2b103b62ed9ab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define i64 @foo({ i32, i32 }** %__v) {
 entry:
index d72e2e1eb519f6be79d1b171f1cc87dee4ed2e17..0b090a389661c2ab4ecb048520fbe3ad58928145 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define i32* @_ZN6Solver9propagateEv(i32* %this) {
 entry:
index 944a70059386390109e6aa4b6def804806449a00..01a9d89cde70e41c4779600c3e855899830214fc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
+; RUN: opt %s -gvnpre | llvm-dis
 
 define void @set_depth_values(i32 %level) {
 cond_true90:           ; preds = %cond_next84
index 5510935ebbc447348dec391b946256ca45dafa66..6c65a56754ac2567d560ecf0c31f9f3f3aac8b95 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | grep tmp114115.gvnpre
+; RUN: opt %s -gvnpre | llvm-dis | grep tmp114115.gvnpre
 
        %struct.AV = type { %struct.XPVAV*, i32, i32 }
        %struct.CLONE_PARAMS = type { %struct.AV*, i32, %struct.PerlInterpreter* }
index 2a7e49c6cd9e8c272febf77c114b08cfb541a467..ee03a6bd993ddd0cbcd7a3822a889907308673ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b74687394ac796b5031c7e0bef2349706d3a58e3..ebe84aadb672ca92f0e3938128ea68b4a41dc69b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | not grep {%z3 =}
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | not grep {%z9 =}
+; RUN: opt %s -gvnpre | llvm-dis | not grep {%z3 =}
+; RUN: opt %s -gvnpre | llvm-dis | not grep {%z9 =}
 
 define i32 @main() {
 block1:
index 3536a14571fb8f4cbe8b11396bc8123d6375039e..bd91c00a47516b6adab2d19776003c87c922623f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | grep b.gvnpre
+; RUN: opt %s -gvnpre | llvm-dis | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index 7d05c8f1d6f3ab2ee7c9ed8d7005812f89628eb7..6523f3e8ef2498d5edc2a1011e8b00778378138e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | grep b.gvnpre
+; RUN: opt %s -gvnpre | llvm-dis | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index 34bc4c79ab12f8cbf97409642dd50e851111d10d..95b5815b0a75ec3b34f263906316aa12077134a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | grep b.gvnpre
+; RUN: opt %s -gvnpre | llvm-dis | grep b.gvnpre
 
 define i32 @extract({ i32 }* %P) {
 entry:         ; preds = %cond_false, %entry
index caf8474bba7deeef5cb77a877d4d107af881946f..2e0b94bcf3e4a99036f56bf9d481638c88cc0600 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | grep b.gvnpre
+; RUN: opt %s -gvnpre | llvm-dis | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index c73c8579db5d7c79739243a53f3c6dc03c058118..7e465c05661de7e37eddd9bbb16c7c354be327d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | grep b.gvnpre
+; RUN: opt %s -gvnpre | llvm-dis | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index 9fc35925322c3edd2228e0901fe78ef017fda298..e991e948c32c15f5f84988ebf004c5ebfa032e93 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | grep b.gvnpre
+; RUN: opt %s -gvnpre | llvm-dis | grep b.gvnpre
 
 define i32 @extract() {
 entry:         ; preds = %cond_false, %entry
index a79f6738f1907e5c307ca225a033ceaa4fb74b05..de6e2fca6390ca381b766f045a9c82b087a3eb5a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globaldce
+; RUN: opt %s -globaldce
 ;
 define internal void @func() {
         ret void
index 2a398468beec63902b64d6e60e5fcd6f9d61a2eb..f1da36a1376791488d8c6d9278c1fb0cd870f40f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globaldce
+; RUN: opt %s -globaldce
 ;
 
 @X = global void ()* @func              ; <void ()**> [#uses=0]
index dac81a39990abb3960dc8d83d89bd30fbeb958dd..443fe91984aa6741fc31496134d9a87b6d63de59 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: llvm-as < %s | opt -globaldce | llvm-dis | not grep foo
+; RUN: opt %s -globaldce | llvm-dis | not grep foo
 
 ;; Unused, kills %foo
 @b = internal global i32 ()* @foo               ; <i32 ()**> [#uses=0]
index d07f0140c46ce493e8f80c2db64558a3f0fee696..fe3467ea1ef8d149f4a447e447c195bc267f9483 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: llvm-as < %s | opt -globaldce | llvm-dis | not grep global
+; RUN: opt %s -globaldce | llvm-dis | 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 b49bfcc49403d6e45bd889c692465efe6acde1c4..1c6be4420c4e1eb740f3e516065547f9ff860efe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globaldce
+; RUN: opt %s -globaldce
 
 ;; Should die when function %foo is killed
 @foo.upgrd.1 = internal global i32 7            ; <i32*> [#uses=3]
index c6c51df94cf3beb21e098021bc5ec2d1e2e04126..fd449b801ef95b2cc3ab9c1d662ac82936c8bc68 100644 (file)
@@ -1,5 +1,5 @@
 ; distilled from 255.vortex
-; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep testfunc
+; RUN: opt %s -globaldce | llvm-dis | not grep testfunc
 
 declare i1 ()* @getfunc()
 
index 12d4736d2749de0b64289a4d39c5889a8143c9c4..611e155ea8cb889f4afa9d46771ede7b0740860a 100644 (file)
@@ -1,6 +1,6 @@
 ; Weak variables should be preserved by global DCE!
 
-; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep @A
+; RUN: opt %s -globaldce | llvm-dis | grep @A
 
 
 @A = weak global i32 54
index 264b81dca032f469042d66f58a7909cb57765995..432ae4bc9768473bb2048b66c17a0af4d0d2e48f 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep @D
-; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep @L | count 3
+; RUN: opt %s -globaldce | llvm-dis | not grep @D
+; RUN: opt %s -globaldce | llvm-dis | grep @L | count 3
 
 @A = global i32 0
 @D = alias internal i32* @A
index 8c15c51a4e56d93ed67b8451c7da6af15c840929..77b8df7b8985b0989a5096612f882ac7a4264dfa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globaldce
+; RUN: opt %s -globaldce
 
 @A = alias internal void ()* @F
 define internal void @F() { ret void }
index 79930272f9b6eb0f247e098ed2d1ec07faafc316..9a3d1d5b36d6d42d02c9df3d1cc90d306751947f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 c883e58b84ce4c541d5966bfd50c473bbe153618..77ce3bcae741bc663f6da8c149a2f2327f3bec8c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep global
+; RUN: opt %s -globaldce | llvm-dis | not grep global
 
 @X = external global i32
 @Y = internal global i32 7
index ccdf7e198fab9831e1a519fe4911f3713d0b8efe..0e8f1dacfb1b65aad46d15ec744229192334a08f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep test_
+; RUN: opt %s -globaldce | llvm-dis | not grep test_
 
 ; test_function should not be emitted to the .s file.
 define available_externally i32 @test_function() {
index 5f784e065fb15ec8dc3cb1726146f284f1dbf1c8..2aad4fe84911e07c880b90ccd7a15f8054ad6ce4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt
+; RUN: opt %s -globalopt
 
 @V = global float 1.200000e+01          ; <float*> [#uses=1]
 @G = internal global i32* null          ; <i32**> [#uses=2]
index 80f82439249261f3b2cc02f5c784fdfae1634218..e7ad7b2a1e6c214a88821e5df87ba0e386046f5c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
 ; PR579
 
 @g_40507551 = internal global i16 31038         ; <i16*> [#uses=1]
index 5eac431d9c6484f19a6b808aeade369bb16898a6..dc3dc017e8088df3f65e450f2284d04ce4f032b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 5559ef18b5b8af8d87e710948ee21ec6802acfa7..82c695b6b21e0b3fc874c882d451162b241ee67d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt -disable-output
+; RUN: opt %s -globalopt -disable-output
 ; PR820
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index 39be6c40413b3d69b6344f4a76e2af856ece6d33..31b9ede8dd774c1881dd59d77aaf3755beeb4166 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 1991d90b8fa655c0f1a476f4b691686e0784a226..d4d8d9effcee2b9c4810bb3a6c6fc2ca72ff6d71 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 22fee779338cee5ddd4cbb1c097185518402c5df..d9cbdcce718cad17544ce0d830fd9fb1553571ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt  -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 7394f047f4fe352f808adbed57683e476d56f7fe..d4181239fab8337cafc0fecc48a910f2b311cdf1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0d7d0364029d04961b70f9f8e9fb067a76953eab..0f3dcde4d838c7f138ef4b04f4179598c65ebfd9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 3d8c77db4f369c6d8ebfa35ea93a4bc6efebb289..e7bc760e58daaa34a4d90c905fbb089fb5c291c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis
+; RUN: opt %s -globalopt | llvm-dis
 ; PR1896
 
 @indirect1 = internal global void (i32)* null          ; <void (i32)**> [#uses=2]
index aace3465497690e385c823f7bf3082c343b4514a..39731fc36246727594b9bc1bac4601363a5fb5fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {16 x .31 x double.. zeroinitializer}
+; RUN: opt %s -globalopt | llvm-dis | 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 779e7fbddb1f23f4a7a30a9f26ce6c368ed32555..ac2d458c014b473a29ccf2d18576d5deb8691acf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {volatile load}
+; RUN: opt %s -globalopt | llvm-dis | grep {volatile load}
 @t0.1441 = internal global double 0x3FD5555555555555, align 8          ; <double*> [#uses=1]
 
 define double @foo() nounwind  {
index 59996c5a98bcb2dbe0beed9b16bcd026a13a5afc..ef047f875d1d90c86ace23d3507ae22c850c3b7c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep { nest } | count 1
+; RUN: opt %s -globalopt | llvm-dis | 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 8a0b5b308f5239c9b2733e47fd2dd93524154c2e..4a20e3f031e4784d058c3e01a24bdd7d13fd071a 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: llvm-as < %s | opt -globalopt | llvm-dis | grep {@G.0 = internal global .*align 16}
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@G.1 = internal global .*align 8}
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@G.2 = internal global .*align 16}
+; RUN: opt %s -globalopt | llvm-dis | grep {@G.0 = internal global .*align 16}
+; RUN: opt %s -globalopt | llvm-dis | grep {@G.1 = internal global .*align 8}
+; RUN: opt %s -globalopt | llvm-dis | 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 735a84d6fcb508e5eea64d354b5512a2c106049c..06007e5cbe3311988f9072220ef7dd0af8bc6db5 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: llvm-as < %s | opt -globalopt | llvm-dis > %t
+; RUN: opt %s -globalopt | llvm-dis > %t
 ; Check that the new global values still have their address space
 ; RUN: cat %t | grep global.*addrspace
 
index cdc27714c79c0a9b015fb55982851f4b80068895..ee10ad5960f6fcc44c56b4c973d6ba3a9178d89a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 f284840802e7a9454c5809982aee35f9e216298e..50d3270b0a549537b8226174a12ace1dacd311fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 03ec3b6a5255204194a6086cb23d5e8cd219e272..c4e85892d2ed540c8685e2f143916d618a5de89e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {phi.*@head}
+; RUN: opt %s -globalopt | llvm-dis | 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 e59c8df557005a30c6f2c57e27f813aef89b175e..7e59811483e5a24300141134ca400cf30340676a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt
+; RUN: opt %s -globalopt
 
 @g = external global i32
 
index f042e59c19d4269023f94978f313c1ad4d99e41a..97c8468dd204e0ad06b19c40429eb3ca24652c25 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {define void @a}
+; RUN: opt %s -globalopt | llvm-dis | grep {define void @a}
 
 define internal void @f() {
        ret void
index 1996f621912b7e37f70e4082a0e581ae0c1d410b..0df0fe70ef789904bf1fdd99b4c1b7604b09bc2a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global_variable42
+; RUN: opt %s -globalopt | llvm-dis | not grep global_variable42
 ; XFAIL: *
 
        %llvm.dbg.anchor.type = type { i32, i32 }
index 30e9a63f3b467d7ef3640b95228927406bf6d8e1..90ea7b389f45acc6de8932c642b8821d33f360c5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ea13d293d5fa3c676d61635d30a2d1eda02819c5..2750845263b19e861871c730790115a4fae38329 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep internal | count 2
+; RUN: opt %s -globalopt | llvm-dis | grep internal | count 2
 
 global i32 0
 define i32* @1() {
index 8dba5b1c213cbf55bb93d75e31b8a992751a78ac..7aca75ec7f95609f799d9644c2fbaa8df42b97b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@X = internal global i32}
+; RUN: opt %s -globalopt | llvm-dis | 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 0ce16ddb9e2b50ada7dfdd50fe360c0029e87899..a9d41cdd6258beaae838c28ec9bf2ebf3a202c7d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt
+; RUN: opt %s -globalopt
 
        %struct.s_annealing_sched = type { i32, float, float, float, float }
        %struct.s_bb = type { i32, i32, i32, i32 }
index 3cae4138fde72b0b654536bdf5149b74178f8c49..45f93189312390d5affa3e0a8d34d8f53ae9a0c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis > %t
+; RUN: opt %s -globalopt | llvm-dis > %t
 ; RUN: cat %t | grep foo1 | count 1
 ; RUN: cat %t | grep foo2 | count 4
 ; RUN: cat %t | grep bar1 | count 1
index 1c3bdbbc495c81757a2e6c155a0aa493d7953da1..b0b3661ab2da7b27eb3a21dedf1b440afaab1860 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global
+; RUN: opt %s -globalopt | llvm-dis | not grep global
 
 @X = internal global i32 4              ; <i32*> [#uses=1]
 
index 6fa139be22278a9d5ba76d5a7d4c845858fab1f6..31947152d0a2680990576276668ed7d30d4f60ff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -globalopt | llvm-dis | \
+; RUN: opt %s -instcombine -globalopt | llvm-dis | \
 ; RUN:   grep {internal fastcc float @foo}
 
 define internal float @foo() {
index fd65935fabcd1b2dfce0e4e2c3d75462ddb38bae..d1f20d0d0f1333534233f838b809f687020373c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep CTOR
+; RUN: opt %s -globalopt | llvm-dis | 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 18f883e972c2404a20e37004b4a80422a23f0eea..a127f5c5f3489601d3ea5c90ca7ba017c2bbdcfb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | FileCheck %s
+; RUN: opt %s -globalopt | llvm-dis | FileCheck %s
 
 ; Don't get fooled by the inbounds keyword; it doesn't change
 ; the computed address.
index ab92ce8a4b9c4d4716bc84b8a8c7012a4c38465f..6a38d40a24c28d5122f0990ad60610081d4aac09 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep CTOR
+; RUN: opt %s -globalopt | llvm-dis | 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 def6a09d2781d5035b0ac0d8e39ac1fb88558492..15d266dd1b95f391c7402d4d6be6dd431cc6cc79 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep internal
+; RUN: opt %s -globalopt | llvm-dis | not grep internal
 
 ; This is a harder case to delete as the GEP has a variable index.
 
index 7a47b8ea30bb5807aec694531c5162f346777236..3ec3a797d4deee196b8364ecb19ee4be6dba292d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep internal
+; RUN: opt %s -globalopt | llvm-dis | not grep internal
 
 @G = internal global i32 123            ; <i32*> [#uses=1]
 
index e52e7feab169443540fba746e61282212de26d35..4fa541cc7abb92faa33588ea6b5eeee4fbc59525 100644 (file)
@@ -1,6 +1,6 @@
 ; In this case, the global can only be broken up by one level.
 
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep 12345
+; RUN: opt %s -globalopt | llvm-dis | not grep 12345
 
 @G = internal global { i32, [4 x float] } zeroinitializer               ; <{ i32, [4 x float] }*> [#uses=3]
 
index 7a5d5b7ebade848d40d7f21c0edb1f0af8bf6105..debfcb2413f26415276f3b9e51e3becf5bd7ff5d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis > %t
+; RUN: opt %s -globalopt | llvm-dis > %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 36235552ae8255c138f3d30ead1e314f30cfdbd0..670df0e6f8f65963672b04d48ca660fe6346dcd5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global
+; RUN: opt %s -globalopt | llvm-dis | not grep global
 
 @G = internal global { i32, float, { double } } {
     i32 1, 
index 37e6d477a402cc443104b5880655150d6ff159e1..bd3495fe664bc85bd455af406d403fbcc4bbabf3 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@X.f0}
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@X.f1}
+; RUN: opt %s -globalopt | llvm-dis | grep {@X.f0}
+; RUN: opt %s -globalopt | llvm-dis | 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 98f4a50227499fd171104cffd33c127aaad40f9a..6a46f941ff1a46e81b0fdaa727bc225286243cca 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@X.f0}
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {@X.f1}
+; RUN: opt %s -globalopt | llvm-dis | grep {@X.f0}
+; RUN: opt %s -globalopt | llvm-dis | 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 5f46a77f6b7c3a9b2f0d12562f925c4892767a0b..b26947cb8864617df7c355eea8ee4227fc96bd54 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {tmp.f1 = phi i32. }
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {tmp.f0 = phi i32. }
+; RUN: opt %s -globalopt | llvm-dis | grep {tmp.f1 = phi i32. }
+; RUN: opt %s -globalopt | llvm-dis | 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 9fbbe357617d73c5d838806c8a1e7809852fd3d6..49b1ed0b8fc946bac62773b4f28288abeaad1fee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d764c5d31b4cbf4ead0bb092d3a5c4f6dc3f9d44..fc1fd631610f30e6d40814a1a8a8a7dcd61281ae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep %G
+; RUN: opt %s -globalopt | llvm-dis | not grep %G
 
 @G = internal global i32 0              ; <i32*> [#uses=1]
 @H = internal global { i32* } { i32* @G }               ; <{ i32* }*> [#uses=1]
index d89d2263955c5b8555eb14deee6834ecb3e3c2cf..0759da47ad9a2355f99ffd3e5897c965dbd0f7b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep G
+; RUN: opt %s -globalopt | llvm-dis | not grep G
 
 @G = internal global i32 17             ; <i32*> [#uses=3]
 
index fea4dbdd65c30c6bf68e16dd87d70e8be298bb8c..28193f76d4da9ede5ab01f712ca0bd7da13b1d11 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global
+; RUN: opt %s -globalopt | llvm-dis | not grep global
 
 @G = internal global i32* null          ; <i32**> [#uses=3]
 
index 1b33632954213922764722fbdacfc53e4bcfceae..017c0dd8551cbcab31b42c5276c143c8fdff1669 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep malloc
+; RUN: opt %s -globalopt | llvm-dis | not grep malloc
 
 @G = internal global i32* null          ; <i32**> [#uses=3]
 
index 26ce8fd6f855b5efe2093483c334f1687a954804..65ab097e8622f7590caf96e6c8ffc70663b4a1ff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep malloc
+; RUN: opt %s -globalopt | llvm-dis | not grep malloc
 
 @G = internal global i32* null          ; <i32**> [#uses=4]
 
index b51aedb13fbb680ec9917c81b1a747ee9c8415d1..1a5a8e2f1f2cdd80f1d6d26854d2ea7e06399932 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | \
+; RUN: opt %s -globalopt | llvm-dis | \
 ; 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 0ee851f40aefe98a1bc95e28695a74f1b8351a05..5f13844307b9261786fcf7f19f59fdbc7d1fd969 100644 (file)
@@ -1,6 +1,6 @@
 ; both globals are write only, delete them.
 
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | \
+; RUN: opt %s -globalopt | llvm-dis | \
 ; RUN:   not grep internal
 
 @G0 = internal global [58 x i8] c"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\00"         ; <[58 x i8]*> [#uses=1]
index da1314f7619904275f248c3e846740c9041c7dab..39bbac5c39d48d9d668633103101e531ab388f78 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that PHI nodes and select instructions do not necessarily make stuff
 ; non-constant.
 
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global
+; RUN: opt %s -globalopt | llvm-dis | not grep global
 
 @X = internal global i32 4              ; <i32*> [#uses=2]
 @Y = internal global i32 5              ; <i32*> [#uses=2]
index 86eff51725265b7d4c3ff9c570cf943b36a25f11..ca49ea6a8aaa7ec93f0cc7eae0b603664d62bc85 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | \
+; RUN: opt %s -globalopt | llvm-dis | \
 ; RUN:   grep {call void @Actual}
 
 ; Check that a comparison does not prevent an indirect call from being made 
index d57a6ac4fad90f97c3e6d490eb5e845707b416a2..c260048a6415053397cc296e17971b07f3fab352 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global
+; RUN: opt %s -globalopt | llvm-dis | not grep global
 
 @G = internal global void ()* null              ; <void ()**> [#uses=2]
 
index a662565cd24fb092aab2e12ddf716dba82df53b2..c2ba0d66b1bb680baf996e26105bb5cab835b58f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep G
+; RUN: opt %s -globalopt | llvm-dis | not grep G
 
 @G = internal global i32 17             ; <i32*> [#uses=3]
 
index bb483fc37690e875b40edacf4105063eee33da81..fb9ed7e0581ebc3422677025f50615bfecce1357 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep store
+; RUN: opt %s -globalopt | llvm-dis | 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 fc7e3bba38a5f4e929f92defc7b5c2763caf3536..4b91f8695609f3209193480dfc821b849171ee0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipconstprop | llvm-dis | grep {ret i32 %r}
+; RUN: opt %s -ipconstprop | llvm-dis | grep {ret i32 %r}
 ; Should not propagate the result of a weak function.
 ; PR2411
 
index 18b8f7da84437820c3ec2ea4ea65bb98ba364516..32810bd493672eea404ba0b7d95b02571385f918 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipconstprop -disable-output
+; RUN: opt %s -ipconstprop -disable-output
 define internal void @foo(i32 %X) {
         call void @foo( i32 %X )
         ret void
index 27c381af3ab39c27827dce8343e493673dd4fb81..7aa81013243fd68fdf979b998ddbbcf90a5198bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipconstprop -deadargelim | llvm-dis | not grep %X
+; RUN: opt %s -ipconstprop -deadargelim | llvm-dis | 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 f8605107bdcec5c2ebccc7328e2cfdf1e8e01b45..ad0e5fbec0ca1c5b3a937384c0e8049840d2f027 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipconstprop | llvm-dis > %t
+; RUN: opt %s -ipconstprop | llvm-dis > %t
 ; RUN: cat %t | grep {store i32 %Z, i32\\* %Q}
 ; RUN: cat %t | grep {add i32 1, 3}
 
index 381ef63cc88e9a54833f262c829b1114c84dd935..72cb796258db97aa05c761e64360fffbf4e2fc88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 7205c2820a711f88ad15878cd2b7bd5b47f77837..7a4c8c585f8ad42af7172e545555792699428705 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipconstprop | llvm-dis > %t
+; RUN: opt %s -ipconstprop | llvm-dis > %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 bc3d0bfe5e3f3ff6de5d347934e2bd4bf0c825cb..dc80eeeca3b830509da8eba7459b7844001c455e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indmemrem | llvm-dis | grep bounce | grep noalias
+; RUN: opt %s -indmemrem | llvm-dis | grep bounce | grep noalias
 
 declare i8* @malloc(i32)
 
index 228772eb82cc63a69b4d8f44bb94a5315f220b2b..c5481c684bdc00d6bcf37674b4b12d31396fb1d7 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: llvm-as < %s | opt -indvars
+; RUN: opt %s -indvars
 ;
 define void @test(i32 %A, i32 %S, i8* %S.upgrd.1) {
 ; <label>:0
index 2487ea95e27d915f7a70f617e249251b79655d62..d12709a84fbf4457e16962ea5c3d44af9ae83454 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: llvm-as < %s | opt -indvars
+; RUN: opt %s -indvars
 
 @X = global i32 7               ; <i32*> [#uses=1]
 
index 96190991f73a558957de9ff961b8c413f9c29f47..8ac714ce60341167fe0f56b4b7efab00e2097a93 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar
+; RUN: opt %s -indvars | llvm-dis | grep indvar
 
 define i32 @test() {
 ; <label>:0
index bd9d1ef5cb9df3aa5f4d7768c438c72884ab0fee..6f0b9942d5c39f64da06d1cff26cd339d114f0e3 100644 (file)
@@ -1,7 +1,7 @@
 ; The induction variable canonicalization pass shouldn't leave dead
 ; instructions laying around!
 ;
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | \
+; RUN: opt %s -indvars | llvm-dis | \
 ; RUN:   not grep {#uses=0}
 
 define i32 @mul(i32 %x, i32 %y) {
index 11af997e83bda08b88acf445b6fc5c4b80ce80de..bc2d088d3afc6a10183620ba0fc85992f4e496ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @test() {
 entry:
index b964d78d6952cb8c3c026ea59edec42d3a4db9f2..dfbef05d2f32846fc2e5983a64657d097f924667 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output 
+; RUN: opt %s -indvars -disable-output 
 define void @_ZN17CoinFactorization7cleanupEv() {
 entry:
         br i1 false, label %loopexit.14, label %cond_continue.3
index cf8c80472dfedb551846cfbe9b9eb8bec621da56..bed49a8de2db9acc617597ff60e9734cf98e22d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar | not grep i32
+; RUN: opt %s -indvars | llvm-dis | grep indvar | not grep i32
 
 @G = global i64 0               ; <i64*> [#uses=1]
 
index 248b29b32d2cd227039781e565ea6b681f53d7b6..9111f616e6c23781a7a0428a6b9e8b74b8f5dd00 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @test() {
         br label %endif.0.i
index 54d85472a8910cabdfc598f712d163a01e40b44b..1bb55be1992ba9016dcc1582e5eb395a2a30c475 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b4eb3db190951247d668a658c5d24bf88bee8db1..3589450baa284e54ad8d525bf53745422d90515b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @.outPlank_21() {
 entry:
index afee7e1891805c23a26f4d237cdef94d638fb5c4..6849f13945ba2435cd10104782d6100941c9b637 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() {
 entry:
index a1beec646891455b58655afbb9da2fbaba793b23..cf5f31d34e9db86d5c2a683cf7d156fda6cab8f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 declare void @q_atomic_increment()
 
index 853d5ad5014686df2431ae731a0acdaf4220ed32..f99dbce28b9575db2ea9d2020c21825f9fd8efb2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | \
+; RUN: opt %s -indvars | llvm-dis | \
 ; RUN:   grep {ret i32 152}
 
 define i32 @main() {
index ba4db9f95995f7d3656efadb856ec458f9591ddc..e6fca7ba74ae5119c25deeb3666ce9743c8b8e91 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @main() {
 entry:
index 5ee8cea74a38f07ec0ec9907c1a126b4c125533b..310e450ad7ed5095d5f9b732f1cbfcf95cbe4bfe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 32abee9d1cc81d12de3c06dcb34d41b5d85c1922..f6570395e3e4ddc94f5c68fdff0f8343b66374a7 100644 (file)
@@ -1,5 +1,5 @@
 ; PR726
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | \
+; RUN: opt %s -indvars | llvm-dis | \
 ; RUN:   grep {ret i32 27}
 
 ; Make sure to compute the right exit value based on negative strides.
index 986831b9a6e4ae427251ddefaf0bbaca97d14861..7a84008c34d99016ab0178cae8f48bb920ef54ae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 
 define void @get_block() {
 endif.0:
index 6a478ab5f5fd33f160b61c5f8db4fa81db42d882..5d45f38e7dbd4f78d1487b0d99546e3d7a2732f5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b2f8258000ffe1a3e9969b277860bdd779702415..fbd1bdb558a8635a2624979d568ab31ba61e22d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 dd151e84d00e78055515c9fbad8448fb51e8eccc..02791a1342c0a4730d648af2f7a2d473064c1dbe 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1015
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | not grep {ret i32 0}
+; RUN: opt %s -indvars | llvm-dis | not grep {ret i32 0}
 
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8"
index 7078494a9295c645527d09daec8ddadf4b9c1722..de226a140ad1ebd1823239286a6a28ae89186991 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep {(%rdi,%rax,8)}
-; RUN: llvm-as < %s | llc -march=x86-64 | not grep {addq.*8}
+; RUN: llc %s -o - -march=x86-64 | grep {(%rdi,%rax,8)}
+; RUN: llc %s -o - -march=x86-64 | not grep {addq.*8}
 
 define void @foo(double* %y) nounwind {
 entry:
index 363c98c493bfdea0661d68181f720593a80eed11..74c7095afafb23fbc29258b800a45b97073a2201 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR1487
 
        %struct.AVClass = type { i8*, i8* (i8*)*, %struct.AVOption* }
index 555cadda6de3e07a5db1fb32a93195970721c853..b6cf6e7b95a39a5bc18cf470c8ae93bbd0ec518f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 aac8d9789464aa998ed87fafc7fc3250082110e1..cfeb4d25881f00f17011d0916854020362c9e018 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR2434
 
 define fastcc void @regcppop() nounwind  {
index 8111cbe3a4891bdad29326a45bce710056e6a86b..75c559c48a9418b43bb33e5a9ac1bc8b638f70dd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep sext | count 1
+; RUN: opt %s -indvars | llvm-dis | grep sext | count 1
 ; ModuleID = '<stdin>'
 
        %struct.App1Marker = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }>
index c78188d4d223a34457f3ef5b03d1ad0b255aaf7e..d83997f180cbbc93dc21126d51918d1aced74cf7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars
+; RUN: opt %s -indvars
 ; PR2857
 
 @foo = external global i32             ; <i32*> [#uses=1]
index be8b36fac6adb3c910f8d4a1be9034bbea3db03f..4eba4cb5e0ae79c14aa754f504c3d752d0a57869 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep icmp | count 4
+; RUN: opt %s -indvars | llvm-dis | grep icmp | count 4
 define void @bar() nounwind {
 entry:
        br label %bb
index c947d3bc33382ee6ee386120f8894e0d8ccab511..00d9feaf70f23a6057a6a46f808c92961e451706 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep icmp | count 2
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep sitofp | count 1
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep uitofp | count 1
+; RUN: opt %s -indvars | llvm-dis | grep icmp | count 2
+; RUN: opt %s -indvars | llvm-dis | grep sitofp | count 1
+; RUN: opt %s -indvars | llvm-dis | grep uitofp | count 1
 
 define void @bar() nounwind {
 entry:
index e611b1fd8341ead12f528a6fd8ecf8d6cd7149a1..1ea7eaa2522b1e9acf81f1bdb936ba457230606a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars
+; RUN: opt %s -indvars
 
 define void @t() nounwind {
 entry:
index 134c9c74d3a99cac97bed0f3d00d47c4b519f317..bf5edf094c8f77c32f34ba3e3360106acd7a6dcf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | not grep {sext}
+; RUN: opt %s -indvars | llvm-dis | 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 4d26803b437dda077d1a39e66b62914a768de679..4a94939838f17e617093acf987771ea25d714e70 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -instcombine | llvm-dis | not grep {\[sz\]ext}
+; RUN: opt %s -indvars -instcombine | llvm-dis | not grep {\[sz\]ext}
 ; ModuleID = '<stdin>'
 ;extern int *a, *b, *c, *d, *e, *f;  /* 64 bit */
 ;extern int K[256];
index f39458f1796870dabd69796257b87da4fed89828..f81232e6614e7d9e1b8f1777282083e3666e164c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars
+; RUN: opt %s -indvars
 ; rdar://6817574
 
 define i32 @t1() nounwind ssp {
index e70d577e0a9a5931db384c777747cbd47407e9a5..23a46e7744639b291e7b693364fe3a634916bab3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep icmp | grep next
+; RUN: opt %s -indvars | llvm-dis | grep icmp | grep next
 ; PR4086
 declare void @foo()
 
index ecbb23192e927d787c3e12e669ccd3d6bfc93660..ebcd9985581ca8f906662cce16e9533aa290e718 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 56325b36cbbef2efe5095e71c4dd80812b3e25cb..85077b7ab436e01a24727dd7154bd613d4f03cc6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep phi %t | count 4
 ; RUN: grep {= phi i32} %t | count 4
 ; RUN: not grep {sext i} %t
index 132d4f8a871ce992686d88e2de2a496e1f4f37e7..37f24532cff7b09cd80d4154e515ead157b75704 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep getelementptr %t | count 1
 ; RUN: grep {mul .*, 37}  %t | count 1
 ; RUN: grep {add .*, 5203}  %t | count 1
index 7b2cad28bf07e965f9348ca865a4357144dccc6e..c1a4058cac0716e72fe77b519b1170b3f404f957 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep sext %t | count 1
 
 ; Indvars should be able to eliminate all of the sign extensions
index 3456bd3d6c9c27cf9b695813ac1d0cb1ea37fec8..186f4bc1ceceb13de6bb7fbb927a7b727e2f24a8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars
+; RUN: opt %s -indvars
 ; PR4052
 ; PR4054
 
index 6d7aaa9161ad15dc8762c342c39410c83bf80c66..cd6ffd8bdf1f438eee63e29d4298a6c8067a7579 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output
+; RUN: opt %s -indvars -disable-output
 ; PR4009
 ; PR4038
 
index 4bfc4e981af5f793f46757ed3b77f5a9b726887c..eca76886e09fee404a52345da304a0da0568323a 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: llvm-as < %s | opt -indvars | llvm-dis | grep phi | count 1
+; RUN: opt %s -indvars | llvm-dis | grep phi | count 1
 
 define void @foo() {
 entry:
index 747d47eb86909b920df0843a8172e7fe3908ffd0..599164874d95f5d563882a7fc9ca6d6bb0d84c43 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b39f40f4866499e9e9335ce1cfa913e5291a99ba..ed86ba5c4e04226e9e3e9b96487010e38a74bca3 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: llvm-as < %s | opt -indvars -loop-deletion -simplifycfg | \
+; RUN: opt %s -indvars -loop-deletion -simplifycfg | \
 ; RUN:   llvm-dis | not grep br
 
 define i32 @polynomial_constant() {
index e63c88c65e68f3f7bf8d074c35951d19e4a1561a..b1399b82ddd44571aa0691b8822f1323fe2d8692 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep add %t | count 8
 ; RUN: grep mul %t | count 7
 
index b90d1e0ecf355065ed7d7c57b905499e891890eb..255ef079aa20c87d989cbfce7c3c0cf2e76bb07b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 747c781e993fdf82392fec052a0299d5ec1f4b90..97adfbb1c33cd2e68c405157b351c4cbd9e5d505 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 120acb23c83d6a4a846ddbe05cd779dca38639d4..eaa9eecaf831705efd904d30207deb36afd8bf88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep {= sext} %t | count 4
 ; RUN: grep {phi i64} %t | count 2
 
index d7eb7bd47dc1996893e039ef02f597d96062988f..b7628154d72b453cbc5dc589852337d631c9586e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: not grep and %t
 ; RUN: not grep zext %t
 
index c8f1e959834079429631c688dd1106b8088a9dac..aa025b70dbdca9bb1a66cd0281c73262d72f1a78 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b2cb770dd6120fee7e07a87fa93a0cbf3d2ca78d..b9bf3d2de2d30a5ac7100d9d1c3277e4fca75665 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep add | count 1
+; RUN: opt %s -indvars | llvm-dis | 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 3f7c289a48859d1049dcdb88e81eb0cba2a166d5..686185d797b385c8ce06afcd7fec9bb2dee4cb27 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: llvm-as < %s | opt -indvars -dce | llvm-dis | not grep mul
+; RUN: opt %s -indvars -dce | llvm-dis | not grep mul
 
 @A = external global i32                ; <i32*> [#uses=1]
 
index 40156eaab59eeb41bec438b0508700abad4d59e5..9fd1ca819121038d3127d683b632a5419b9ba251 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 37663339e430e68166a8d4a99012436dbce0b52f..61ea7ad85c6642ed7535a1c8e8045fa00e680569 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis \
+; RUN: opt %s -indvars | llvm-dis \
 ; RUN:   | grep {%b.1 = phi i32 \\\[ 2, %bb \\\], \\\[ 1, %bb2 \\\]}
 
 ; This loop has multiple exits, and the value of %b1 depends on which
index 71bd5a7cc68410d4770a48665ac27142e6d7caca..80e99e1b3b6a01a9fae684288717ac30031b54b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6e31c55d52659aa5d8a8d207e83612ec5946f8ce..09c8df79a7ce2ea976c932097848a0a2ab06f77c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 fa2f9e57f07cfca85b2296ab148af66c47384909..969de427c0e1354192c12c3a1be50ab6ea441484 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | not grep select
+; RUN: opt %s -indvars | llvm-dis | not grep select
 
 ; This loop has backedge-taken-count zero. Indvars shouldn't expand any
 ; instructions to compute a trip count.
index 8310038a9483c6f7ec7704341542b889074376b5..7f13841807f675f529effeb6075605e99d36c66f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep {\[%\]tmp7 = icmp eq i8 -28, -28} %t
 ; RUN: grep {\[%\]tmp8 = icmp eq i8 63, 63} %t
 ; PR4477
index dfb42e4feae359ff7579f8c1d94a7f432a9ea90d..cd75c4369102dbe7fe93a720e498e337ad382b9b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -loop-deletion -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -indvars -loop-deletion -simplifycfg | llvm-dis | not grep br
 ;
 ; Testcase distilled from 256.bzip2
 
index efcf20a93442de7937f0e563119a2bed44a7e74f..3b34eecc541a9be2d508e276b44f166e99d644b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -loop-deletion -simplifycfg | opt \
+; RUN: opt %s -indvars -loop-deletion -simplifycfg | opt \
 ; RUN:     -analyze -loops | not grep "^Loop Containing" 
 ; PR1179
 
index 2a2f69dd486679de14fd30af5b5d7675330557d1..cff09ba4cc5b0f26f67fecc8ac9444f89d81d4c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep {ret i32 600000}
+; RUN: opt %s -indvars | llvm-dis | grep {ret i32 600000}
 ; PR1179
 
 define i32 @foo() {
index 6c6a362f48e683901b352161bc2234821d948597..6d2b004a2aedf21299e7039f6fadaad5b405696f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep {ret i32 9900}
+; RUN: opt %s -indvars | llvm-dis | grep {ret i32 9900}
 ; PR1179
 
 define i32 @test4() {
index c6ce4a2122da36423c25bf3ac56b5fd53420e228..7851a70afbb2e63288c9539959debc09a693987d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep {120, %bb2.bb3_crit_edge}
+; RUN: opt %s -indvars | llvm-dis | 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 0d17a801a9cc21f9b6abf773d1e5c50c10846065..d434e7909ac04424cd3be532918ec9f63ca9852c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -loop-deletion | llvm-dis | grep phi | count 1
+; RUN: opt %s -indvars -loop-deletion | llvm-dis | grep phi | count 1
 ; XFAIL: *
 
 ; Indvars can't evaluate this loop, because ScalarEvolution can't compute
index f77b9357d75a620cbfedced0224c5edd738c51af..94829c4a70ed85ce2a79bc1b65ac537c61976401 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: not grep trunc %t
 ; RUN: grep and %t | count 1
 
index 2ee08dbc38b9dd163d294b24c12327da285ed0c3..dce6d70cce5f59ff8eed2878f42f393475b4ef88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep {icmp ugt i8\\\*} %t | count 1
 ; RUN: grep {icmp sgt i8\\\*} %t | count 1
 
index 7119cbbc05c6e299a8f4a35c73c2a6e3d0ccbd0b..1f2df9077967b76b1f53ef8280239a4c5bb55b2e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 c9da1579e983aedaa38de477b84800d205643ca0..896a3d7e20f862514c132a2daa731793cee298eb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar
+; RUN: opt %s -indvars | llvm-dis | grep indvar
 @G = global i32* null           ; <i32**> [#uses=1]
 @Array = external global [40 x i32]             ; <[40 x i32]*> [#uses=1]
 
index 7ad116191925d44e425913dac0ffd45d774dc5ac..0a10580018365ffe572a610be7def8bb1f6469cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %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 6959064d6ab61c35ede692d490ef1e92c8f1d370..602deddefd94930414b9df643459735057b5ac7b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %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 95726ea081892037477c4ce6a02cb86336a2a379..1a7a41262feb7fce02d2259535f944686d1c399b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis \
+; RUN: opt %s -indvars | llvm-dis \
 ; 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 2c8c224fb905b81d9b2d870234348b4dab934982..0bb338a8c3141ba5f373baf9eab08d67968e5119 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: not grep ptrtoint %t
 ; RUN: not grep inttoptr %t
 ; RUN: grep getelementptr %t | count 1
index 0a91ec88064f4a67fae3063d3a67ac4f12151b10..c649fbe1449332bacea9ec348a13481c805cdb0f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: grep sext %t | count 1
 ; RUN: grep phi %t | count 1
 ; RUN: grep {phi i64} %t
index 48c060c48d22138a1b6e6a1ca93788d5ebbfd311..6b88a1e198ba9d883a45ff67a68ee167400903c3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: not grep sext %t
 
 define i64 @test(i64* nocapture %first, i32 %count) nounwind readonly {
index 0b2ecaf38d77a246a84821a7b9d5cab59579c813..0214ce3680b73af8d2a56329d43787869c5a6c0e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 cd61d11394eebeae852276ab0a614c25e3d8c214..40ff26b017f79179487e381e78eb6f10ec9b2d26 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
+; RUN: opt %s -indvars | llvm-dis > %t
 ; RUN: not grep sext %t
 ; RUN: grep phi %t | count 1
 
index e905912719cc311d7a8a6342cd01589a91c781bc..5500861873de1a4d351a7a87907c3efcb60ce400 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 f5378ccea0bf160fd24ec0a104f89b5d48780935..a3a3ceac74d38560934680e6f859b981d89837ae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | FileCheck %s
+; RUN: opt %s -indvars | llvm-dis | FileCheck %s
 ; PR4775
 
 ; Indvars shouldn't sink the alloca out of the entry block, even though
index 5382c92e44a93b9f99d5beacce108255af0c1a2e..9e5477bb624b42d4e2a3fcb0d467c231f3089a7b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | FileCheck %s --check-prefix=CHECK
+; RUN: opt %s -indvars | llvm-dis | FileCheck %s --check-prefix=CHECK
 
 declare i1 @b()
 
index 51065cc1a8a3c5b417b2b4800818c91b8ca4489d..abbe518f06ab2d44cdb678219ca8fa64c5c753a0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar
+; RUN: opt %s -indvars | llvm-dis | grep indvar
 
 @G = global i64 0               ; <i64*> [#uses=1]
 
index 9ffce813023a07561d064a250848dfcc745040d0..c7b9bafcaa09bda1351c739a6f6a0e592b3b0528 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: llvm-as < %s | opt -indvars -loop-deletion -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -indvars -loop-deletion -simplifycfg | llvm-dis | not grep br
 
 define i32 @linear_setne() {
 entry:
index d5965f4ed6f053fbab69ae298c2c8be8db152473..7df4fcbfa3e2ae38bdf4b4995930cb68ca251715 100644 (file)
@@ -1,7 +1,7 @@
 ; These tests have an infinite trip count.  We obviously shouldn't remove the 
 ; loops!  :)
 ;
-; RUN: llvm-as < %s | opt -indvars -adce -simplifycfg | llvm-dis | grep icmp | wc -l > %t2
+; RUN: opt %s -indvars -adce -simplifycfg | llvm-dis | grep icmp | wc -l > %t2
 ; RUN: llvm-as < %s | llvm-dis | grep icmp | wc -l > %t1
 ; RUN: diff %t1 %t2
 
index 759ba8e177bc9dd4a0e8b3d10433aef900f5c5eb..fb0323c4bd72fe73f75b35d9b6c0eb6324c95a6b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -instcombine | llvm-dis | \
+; RUN: opt %s -indvars -instcombine | llvm-dis | \
 ; 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 075e899cd96dcd0a61652f18c3970b28b697c5a9..17bdf0be1d9b5e9b23f01230420131b9819956d5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 edc9b474e0645ff009d7c86bcf71176b46be6336..dd7a662a6beff310352db5345524fe0f4d8fe430 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 declare i32 @External()
 
index d57aee01c609dabd0c3daed2118597ff3bcda290..e1b426e20a4c4ff09c288eb771af73208ebca481 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index d75999b9768dec4cbe6688b74c42a8d8fdc36d63..6c00dfa9140039ad1d1b310b2da4e5c3b639d137 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index 09d516f48223be84d68aa1e78ddd9dcd4bf4678b..add2312d17e363c7c6bd86a6f6790b79a7c9c208 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @main() {
 entry:
index 6b6cf06abb294de8e44c3fb587812ef17b1ecfb2..40dc6827770c6c412da7c1eecf07a3aa0fe0cc69 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @reload() {
 reloadentry:
index 675454e13482d36bc66fef45b02949daa0f2753a..295d780b106df6dda1113a8b72d0b6bd73527c82 100644 (file)
@@ -2,7 +2,7 @@
 ; node in the exception destination, and the inlined function contains an 
 ; unwind instruction.
 
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define linkonce void @foo() {
         unwind
index 8a2f8e29edff17208c674c8df99926c1f87480af..1d154908a38fe49af963c35e5fa8ae6ce068d87a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d9f09a06e7dadfcc5cc31669947cc85a3e6d0548..500f350a9ec1d311f764b8582d7a4f93c9fadc8e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -prune-eh -disable-output
+; RUN: opt %s -inline -prune-eh -disable-output
 
 define linkonce void @caller() {
         call void @callee( )
index 09666ec8e65b73603fbdd5de454d2b5d8d2618f7..3f832c79b9203b39eea0ba07cfd97b7e75a8cbda 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
 
 define i32 @test() {
         unwind
index acdf6ab766b1be49eb90103ecc83f8af03ceb6c4..0f343d268be97dcb6106f407a268e126cc723d93 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 5215bec929099721b370fdbee10722fb2e663021..9525725b6e415a0cb1e9696153574caaa1749b1e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 bd2885dab425bf195d0542896e384d56d9a2f23c..4b747d4bd50ee06e8df0a1c9b88b11f17c425d49 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 05096f425fde9e0dcde4abf3e45c7f5ecc171223..41a03629af0195a56f199a77cf6b0e2f74a2bc86 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 083a328ae67385463679ebdf8fea53d75a7a96c4..8ed1d90ed7fac7333ed03b2031a8060ba5ddf381 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep {invoke void asm}
+; RUN: opt %s -inline | llvm-dis | 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 f7150749384c705156f2c31b2d68aa693592a512..b7f5a86e17a9d926b0cd6e1a8bb1fe232be60970 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline - | llvm-dis | grep "define internal i32 @bar" 
+; RUN: opt %s -inline | llvm-dis | 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 3cf758ca8c8e95d6de65c25ed6172b6f4ee9e233..0abe7b5ec6fdc8edbaa4238d00596a98e90688d7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep call
+; RUN: opt %s -inline | llvm-dis | grep call
 
 ; 'bar' can be overridden at link-time, don't inline it.
 
index fc7ebc4d8095daf0e91a17edb3de7aad1dc68a35..9ba42f8e2b41e235b8ded86bbb690b20eabd96f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
        %struct.Benchmark = type { i32 (...)** }
        %struct.Complex = type { double, double }
        %struct.ComplexBenchmark = type { %struct.Benchmark }
index 0c256906a0728f138613ccbb3b4fb7b24c45d123..76356146703ad3c9c6f66f1b84e5feccbd95b6c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 09d14f0213436ad6e1ac8cb6314034e175f83024..f1ea7880fe666bc19622695fa33914573f058726 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b42e559c5af0e2461927ebd2f8c2eeac295cc61d..45c9a5a97e9f3098ccb6186927a9f5ffe319008b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt  -inline-threshold=0 -inline | llvm-dis | not grep call 
+; RUN: opt %s  -inline-threshold=0 -inline | llvm-dis | not grep call 
 
 define i32 @fn2() alwaysinline {
   ret i32 1
index 35b4b4678b7e261889304e8ee05a7fef414fdbd1..65b80e449d592895f474ba7ef228e64082fdbf47 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep call | count 1
+; RUN: opt %s -inline | llvm-dis | grep call | count 1
 
 define i32 @fn2() noinline {
   ret i32 1
index 765fc75787693f610a0c239af0effeedf4ab0544..12f9d2831e2152d82dddd10664ce316d4ec0f0a3 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | opt -always-inline | llvm-dis | not grep call 
+; RUN: opt %s -always-inline | llvm-dis | not grep call 
 
 ; Ensure that threshold doesn't disrupt always inline.
-; RUN: llvm-as < %s | opt -inline-threshold=-2000000001 -always-inline | llvm-dis | not grep call 
+; RUN: opt %s -inline-threshold=-2000000001 -always-inline | llvm-dis | not grep call 
 
 
 define internal i32 @if0() alwaysinline {
index 753985239b3bacf0e54cd8d9b32ae8401f484619..36408ef7bbb2da5a9037ad145621d27ba661a977 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -always-inline | llvm-dis | grep {@foo}
+; RUN: opt %s -always-inline | llvm-dis | grep {@foo}
 ; Ensure that foo is not removed by always inliner
 ; PR 2945
 
index 14840bac676dc981e3c9ff82da61143649734852..cb9ab17f3dc103473622fdd34edd36a12012bef4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep call
+; RUN: opt %s -inline | llvm-dis | grep call
 ; Do not inline calls to variable-sized alloca.
 
 @q = common global i8* null            ; <i8**> [#uses=1]
index 8a4b2e052f313f846ca01c41e36931d358a21fdb..4dd374835bbafbc32c5e665ccee96d10eae08fba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep {call.*fib} | count 4
+; RUN: opt %s -inline | llvm-dis | 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 3702afa8611c3e08ac6ca6e3fa7ae691d75b154f..a12aed4937ffb278f7351f14a5e657dc1c0ae8e3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 067fd72e939b1233764d6f52c5e7f1287988c756..66b16f621305cde82c8336daeee1f5d81338cd02 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -disable-output
+; RUN: opt %s -inline -disable-output
 ; PR4123
        %struct.S0 = type <{ i32 }>
        %struct.S1 = type <{ i8, i8, i8, i8, %struct.S0 }>
index 2ee8742f031d8e39115c1de91dd4fbb57ca5cfcb..e3d38143f600309219cd265c65a4aa288fbd2744 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 933925e502516d86c47bb690edd231ecb0be5550..85ad66f18ec698900d7e0ec4a1eac8a3f50c8182 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep callee
+; RUN: opt %s -inline | llvm-dis | not grep callee
 ; rdar://6655932
 
 ; If callee is marked alwaysinline, inline it! Even if callee has dynamic
index f4f53ca1ce35b6451ee06740c06d61370e2d6b8c..ce2268570c448cc11d1e22d3ca0e2c21b7cd05ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | FileCheck %s
+; RUN: opt %s -inline | llvm-dis | 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 d954238dabe4331a0cdcf1a2d195ef51a6acabd0..6ccd3157c99e7e4fe3d0010253709d9202bfe9c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ea8c3576038603cd434e1321436b71d674e8a892..5fd871d3366a6b34a5237066a3b32c024daee9cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep {llvm.memcpy}
+; RUN: opt %s -inline | llvm-dis | grep {llvm.memcpy}
 
 ; Inlining a byval struct should cause an explicit copy into an alloca.
 
index e949d01856d4e49e9720ac7163154daf956c6af3..e88c824983d15423e7b805e527ad872bdff0480e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep {llvm.memcpy}
+; RUN: opt %s -inline | llvm-dis | not grep {llvm.memcpy}
 
 ; Inlining a byval struct should NOT cause an explicit copy 
 ; into an alloca if the function is readonly
index 8c6c19097226d0d91f6a0b1a6ecbc96a6c93b0ae..05395ae33a72d555a4d03033dbfe0e2135972cb4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -loop-rotate | llvm-dis
+; RUN: opt %s -inline -loop-rotate | llvm-dis
 ; PR3601
 declare void @solve()
 
index 029d309fd8e0a20efbf34c4896a050215e8b318d..f10200b4a2ff00e4d78e6c204d124198d923402a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep {ret i32 1}
+; RUN: opt %s -inline | llvm-dis | grep {ret i32 1}
 ; ModuleID = 'short.opt.bc'
 
 define i32 @testBool(i1 %X) {
index 6b6ff18ecfd0a3aabf54a506db232dee8bc628ab..33656e4772466803733dc837573e57392abc2ba5 100644 (file)
@@ -1,6 +1,6 @@
 ; This test ensures that inlining an "empty" function does not destroy the CFG
 ;
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep br
+; RUN: opt %s -inline | llvm-dis | not grep br
 
 define i32 @func(i32 %i) {
         ret i32 %i
index ebf8147c57f1d8a6d55b661ecc5606ab6bdc697a..614fd75f426c4bbc5fa4ba5845273d6a336c2825 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b8ff7dedc49371e3ff31bda582f616070fdd4570..b0bc4ded62173097a7944696ece3853820f95f4b 100644 (file)
@@ -3,9 +3,9 @@
 ; Functions with dynamic allocas can only be inlined into functions that
 ; already have dynamic allocas.
 
-; RUN: llvm-as < %s | opt -inline | llvm-dis | \
+; RUN: opt %s -inline | llvm-dis | \
 ; RUN:   grep llvm.stacksave
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep callee
+; RUN: opt %s -inline | llvm-dis | not grep callee
 
 
 declare void @ext(i32*)
index 68f7d65d65954f40d2fd841e92fad7f0ada31df8..cc51f00c24b4ab0224cae4d6407720db7e220dc6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline -constprop | llvm-dis > %t
+; RUN: opt %s -inline -constprop | llvm-dis > %t
 ; RUN: not grep test_function %t
 ; RUN: grep {ret i32 5} %t
 
index 4be55d43424b2772a6b8da3e1758f0896ac7311a..a62f1f6b7c04ec766dccd00e92018477c868dbbe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis
+; RUN: opt %s -inline | llvm-dis
 ; PR4834
 
 define i32 @main() {
index 53f755e4456401d131c4e3fae7b4c3515d8896b1..0039b70e8d7a1749b6fa301e3013baef55df268e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep {tail call void @llvm.memcpy.i32}
+; RUN: opt %s -inline | llvm-dis | not grep {tail call void @llvm.memcpy.i32}
 ; PR3550
 
 define internal void @foo(i32* %p, i32* %q) {
index 5921655b73642d189733912852ec2d0b43d58f58..3d437114ebc668b154a31cb3f63636ef942873b9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep tail
+; RUN: opt %s -inline | llvm-dis | not grep tail
 
 declare void @bar(i32*)
 
index 89b3a8283c0658a04e90c21f77f5d112fa67080b..853a0ee42f25409e2dad65a4df5a284a36d550f7 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: llvm-as < %s | opt -inline | llvm-dis | \
+; RUN: opt %s -inline | llvm-dis | \
 ; RUN:    not grep {alloca.*uses=0}
-; RUN: llvm-as < %s | opt -inline | llvm-dis | \
+; RUN: opt %s -inline | llvm-dis | \
 ; RUN:    not grep {br label}
 @A = weak global i32 0         ; <i32*> [#uses=1]
 @B = weak global i32 0         ; <i32*> [#uses=1]
index 4744c862335b1dc9285fef261445eee3c9d36222..9d5d34170538bebbdebed7ee352d32ead4fbc480 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep callee
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep div
+; RUN: opt %s -inline | llvm-dis | not grep callee
+; RUN: opt %s -inline | llvm-dis | not grep div
 
 
 define internal i32 @callee(i32 %A, i32 %B) {
index dd971bee9300d7129e3a470b8d58cc1c09cf4153..1b861ca855596d7a5e56bf84743dff74058a514a 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: llvm-as < %s | opt -inline | llvm-dis | \
+; RUN: opt %s -inline | llvm-dis | \
 ; RUN:   not grep @reallysmall
 
 define internal i32 @reallysmall(i32 %A) {
index fcd8321d5a0f4a0b579a9ac3a70f1e109de43e56..c024032a0e2af624cae67b1f44380d1c3c90cd0e 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -inline | llvm-dis | \
+; RUN: opt %s -inline | llvm-dis | \
 ; RUN:    not grep {callee\[12\](}
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep mul
+; RUN: opt %s -inline | llvm-dis | not grep mul
 
 define internal i32 @callee1(i32 %A, i32 %B) {
         %cond = icmp eq i32 %A, 123             ; <i1> [#uses=1]
index 1fd3317fd1f24a32b0dcb4ab0de3546e89dee336..8eb140c109e3f6801c716e984cfea2b39a935177 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that we can inline a simple function, turning the calls in it into invoke
 ; instructions
 
-; RUN: llvm-as < %s | opt -inline | llvm-dis | \
+; RUN: opt %s -inline | llvm-dis | \
 ; RUN:   not grep {call\[^e\]}
 
 declare void @might_throw()
index 68b8bd8b65a375f9931e5af05572246140002de9..e57b03f7c7bb4c1dd3dd282f7f27886289a861d5 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: llvm-as < %s | opt -inline -simplifycfg | llvm-dis | \
+; RUN: opt %s -inline -simplifycfg | llvm-dis | \
 ; RUN:   not grep UnreachableExceptionHandler
 
 declare void @might_throw()
index a5deec6aa88111adf896dbe17f190c3a532181d5..693fbee0c7d2fe0bfc0b08c8fd2339a274057118 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: llvm-as < %s | opt -inline | llvm-dis | not grep unwind$
+; RUN: opt %s -inline | llvm-dis | not grep unwind$
 
 declare void @might_throw()
 
index 94ce68e989b3bde1dba7494b19fcdaa06708e54a..27056d4cb2b2819e2fcd2db1a6f78834bba9e9ba 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase causes instcombine to hang.
 ;
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 
 define void @test(i32 %X) {
         %reg117 = add i32 %X, 0         ; <i32> [#uses=0]
index 34c2df605e4277a31fdb540ca348a4da28b8d6f3..5d7911d16b7910bbfd475f4910ed5fab058b80ad 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: llvm-as < %s | opt -instcombine | llvm-dis | grep sub
+; RUN: opt %s -instcombine | llvm-dis | grep sub
 ;
 define i32 @test(i32 %i, i32 %j) {
         %A = mul i32 %i, %j
index 54c836c1056c75147558ee6c110f67e453c47014..67c8a4f21e45420c13cb861678436f4442a4371a 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: llvm-as < %s | opt -instcombine | llvm-dis | grep %c
+; RUN: opt %s -instcombine | llvm-dis | grep %c
 ;
 define i64 @test3(i64 %A) {
         %c1 = trunc i64 %A to i8                ; <i8> [#uses=1]
index e7bd6a8da2fbe70ee81174a79a5c7b4894b7eed3..8f4ba2b7aad25b2e3bce99a832d51e16735ca8ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep add
+; RUN: opt %s -instcombine | llvm-dis | not grep add
 
 define i32 @test(i32 %A) {
         %A.neg = sub i32 0, %A          ; <i32> [#uses=1]
index e7e784882ab5be9566dcadf6d6ab1346e0640f5d..b75fc0e9b887583162a8110c47e6940431e48955 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 4294967295
+; RUN: opt %s -instcombine | llvm-dis | grep 4294967295
 
 define i64 @test(i64 %Val) {
         %tmp.3 = trunc i64 %Val to i32          ; <i32> [#uses=1]
index 214fa4d846dbcb224dcc2eae7200ef3c372f678d..dee2be03b4ff3b2d3b52397647a184999378cda5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 @X = global i32 5               ; <i32*> [#uses=1]
 
index 724f30f4889481ef818c22aaffef5a13ea5e03cc..5d130a885f0a56e3351d0c3f477fc66e89312d42 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: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i8 @test19(i1 %c) {
         br i1 true, label %True, label %False
index 09732d3f636aedd0ac6e4db117587fef36249aaf..e0f58a8682b0d0bb3e95be8911e479dcc41eccc0 100644 (file)
@@ -10,7 +10,7 @@
 ;      should pass through the optimizer without failure.
 ;
 ; Extra code:
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 ; END.
 
 target datalayout = "e-p:32:32"
index 209ab1b33695c642039672488f0abd06c404b109..66dc49560b09852608714c2893ce675bcd34c7a9 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase can be simplified by "realizing" that alloca can never return 
 ; null.
-; RUN: llvm-as < %s | opt -instcombine -simplifycfg | \
+; RUN: opt %s -instcombine -simplifycfg | \
 ; RUN:    llvm-dis | not grep br
 
 declare i32 @bitmap_clear(...)
index 9779f21f925c29ba46abaf933f8de99ab59ede5b..1adb208223f4abbb059b973b4b4844375f1b8462 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep load
+; RUN: opt %s -instcombine | llvm-dis | grep load
 
 define void @test(i32* %P) {
         ; Dead but not deletable!
index 7d219cb358856e082218b9dd53d02629c7714e87..a55d268ee2262cc63de40dc96daf66864a3c3f6a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 declare i32* @bar()
 
index 71585d426645c1199d6dc1990e74c55fd5689509..45aaf1ac4fb899d78fd7ab45089e84e9db30c08b 100644 (file)
@@ -1,5 +1,5 @@
 ; The cast in this testcase is not eliminable on a 32-bit target!
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep inttoptr
+; RUN: opt %s -instcombine | llvm-dis | grep inttoptr
 
 target datalayout = "e-p:32:32"
 
index b6930b5a65fde01fe657d105526866d3fc528326..f35f59f7655afc7b685570e392b14a553e1893ef 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | notcast
+; RUN: opt %s -instcombine | llvm-dis | grep call | notcast
 
 declare void @free(i8*)
 
index c6a6b6afb81dd82a43f97c0fb8f5d787c4fe330b..1edad82682139c5b571e23da74307c5ad75317c0 100644 (file)
@@ -5,7 +5,7 @@
 ; invoke instruction, we really cannot perform this transformation at all at
 ; least without splitting the critical edge.
 ;
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 declare i8* @test()
 
index 3a4b66157dfe99ec1b07d7408e2dbd7b86d50725..6e4a3adb9a81bdffd9ccf82ef350c67436b18dd6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 34
+; RUN: opt %s -instcombine | llvm-dis | not grep 34
 
 define i32 @test(i32 %X) {
         ; Do not fold into shr X, 34, as this uses undefined behavior!
index 2b5481b0195ae1584ead2d94ad1c0db41484a1a1..8ca82325546a5d9dd84853cf4817459ae4474dde 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: llvm-as < %s | opt -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 0b93eb2322eb54afaacea5649ed00b36f61fe64b..8ad15a7b9c8acbb2a57e5b24e3adb000da108390 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i32 @test() {
         ret i32 0
index 66a5a4d78f6aab91ee5003ab637d0fb33ae1b1b1..955ac148c5b7d1f8ea11dd4d5c79f31ebe0c64c6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 %Ty = type opaque
 
index 82eecbb6986bf88d03fe4b7e24a5832d7539addb..bc5ad97f117c9b60b68aa6b868421e69c87f390f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 @p = weak global i32 0          ; <i32*> [#uses=1]
 
index 9fc48de4ec193eeaf2242dc5745d38e4168583c2..3c4e8178cb16d0832e403451b38bdd0591368aff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 
 ; This testcase should not send the instcombiner into an infinite loop!
 
index 5d2ed0b86d9db0eb588ee18cdb070dc792afde04..4bcebde5fb96329192a28ccfd2fae910210dfdbf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {ret i1 false}
 
 define i1 @test(i1 %V) {
index e56c390d13f4a436320dddc0813fd6177fef21b6..498da27acf659dfdf685cfe886301bb3ab673be5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | \
+; RUN: opt %s -instcombine -mem2reg | llvm-dis | \
 ; RUN:   not grep {i32 1}
 
 ; When propagating the load through the select, make sure that the load is
index b89bd228403ea30286910b6f9aa418af67224861..d5783fd94e327baca9cc03762a673f148d571c3b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ee4f62c8d5ce2be29b5335c530a8d35866394e59..9f8e7b5829fa93a7c6a6a813e64354cf5bb362c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep -- -65536
+; RUN: opt %s -instcombine | llvm-dis | not grep -- -65536
 
 define i1 @test(i32 %tmp.124) {
         %tmp.125 = shl i32 %tmp.124, 8          ; <i32> [#uses=1]
index 766ba48be63f4720fbe9ebcd0b4e709494bba17a..fe4a2ef4ee66fcf6932f1ab00d91cb34e4b220cb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep and
+; RUN: opt %s -instcombine | llvm-dis | not grep and
 
 define i8 @test21(i8 %A) {
         ;; sign extend
index 4ea0b5c484bd162c086a6fb76511e5524ae0461a..f64171677cb216212bceb249038c9dd35cbe3cf0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 
 define i32 @test(i32 %X) {
         %Y = srem i32 %X, undef         ; <i32> [#uses=1]
index ffaa0051e9f03f4c16875f3b713391373effe0a5..f8e820198f92444daecc86e3239e8b2bba4be193 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep {ret i1 false}
 
 define i1 @test(i64 %tmp.169) {
index 8b2aa35bd754f660879124f716e2c7ca5a524557..bed4c9e457d6b59b4564f83e9cfc5012c9e8a1e4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 53585f9aa38b668d0e56997f280fa0fae296c33a..59b31ad5fefa16bf5079a05a7c8033e5d1d86438 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 64bfec18df6b3d17489adeafce1c4c55a3fc57a1..ea7c945a76c55a94c4b97a69ff1634d2197bde28 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR577
 
 define i1 @test() {
index 10dbfec21ae315e8245ec42f93a1c8e7babfbcb5..6529b5bc024dad0cc66a57e39187b390942a546d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR585
 
 define i1 @test() {
index 010087b4f4725b885a8c9633135d1017dceee233..dd53d31087d4e5f9e926e3485e49fe606982e00f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep {ret i1 true}
 ; PR586
 
index c58234a54995533452b523d115cf8b7a92669a7e..4657c61f6209d52351bd90ac722d6013b36c28f5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 ; This example caused instcombine to spin into an infinite loop.
 
index c89b0d54a9ddc28e878b737f7aa3d71fc3713ec0..710cc302ebdba0e099ad27f0043716cc08682a58 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep undef
 
 define i32 @test(i8 %A) {
index 1f3c9e8e6740961c73a0a379ca0803cb5e5f1b13..b496af8185ac73f3321975d207be6c3c94326c5c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define i32 @test() {
         %tmp203 = icmp eq i32 1, 2              ; <i1> [#uses=1]
index e4b2b393122413bb2669173619f124038dc04c86..1b74ff259622cdfa72200d848d5f72d2adbfda9d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 2541eb7330319cd007c47473ec79fa33c637785e..81ee113a7f414d7538f65368b3e4e5af351cdd82 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | grep shl
+; RUN: opt %s -instcombine | llvm-dis | notcast
 
 ; This cannot be turned into a sign extending cast!
 
index 1b9df405c5ad8e6c675bec3718cb408dc52cdd4a..818b67b55303e69866d67ffc14fd118b502f2c09 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; END.
 
 define void @test() {
index 043b598c8966f8451986359b9c3eed1e1b213358..5278e8d20c50280370c3f721f8edeeb95a2d3017 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and
+; RUN: opt %s -instcombine | llvm-dis | grep and
 ; PR913
 
 define i32 @test(i32* %tmp1) {
index c7cf0dd017c7987dbf370901ea7d79cef1a6e1df..b6e250acaa0314d83fbfbe865797cdd15dc4298b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep mul | count 2
 
 define <4 x float> @test(<4 x float> %V) {
index 23e805a9360c67e4c6094cb6de99a001c8f6360b..b3d591354669357fc4a4680340fc765f44cb3225 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep memmove.i32
 ; Instcombine was trying to turn this into a memmove.i32
 
index 8c48d4357bcaa219b4653e41c14acf7f5e71b5df..a64f3cad4303c5d94e37d3a25e244b6950e0f1a9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep lshr
+; RUN: opt %s -instcombine | llvm-dis | grep lshr
 ; Verify this is not turned into -1.
 
 define i32 @test(i8 %amt) {
index 631b43f61f9e008ef50e6e8018c0f8a2749dfe2f..958151cf5ae5a24be2673e032d8f81edac8163ff 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and.*32
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | grep and.*32
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep or.*153
 ; PR1014
 
index eaf10a306f587280b38b945568b66278bda557e6..9fca6687dba73503018dd0e1af957af55c63d3af 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sub
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep add
+; RUN: opt %s -instcombine | llvm-dis | grep sub
+; RUN: opt %s -instcombine | llvm-dis | grep add
 
 define <4 x float> @test(<4 x float> %tmp26, <4 x float> %tmp53) {
         ; (X+Y)-Y != X for fp vectors.
index 2c3313efa2a8f4ab5b0f96af521239dd82a749da..bcea0e94eea8313dcdd14b3a8e8c36c80fdfaa94 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep zext
+; RUN: opt %s -instcombine | llvm-dis | 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 ddfb88c7bfbb0ae07b71035ce16cf45c3b550fc7..0d3dd34810ac9b3ff521047f764aaa9f7a4892a5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {%bothcond =}
 
 define i1 @Doit_bb(i32 %i.0) {
index 1508a523b7a9c7e8696889f3daa9231e5df81005..071998fcc57b6b34c2db8577320de6b55a4bab0e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep {icmp sgt}
 ; END.
 target datalayout = "e-p:32:32"
index e4aade7b8ea41b97c080e47812a9b5b49afb4a7c..8309a9f7dcdeb53ce2013a3531d1271679fe17d5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep select
+; RUN: opt %s -instcombine | llvm-dis | grep select
 ; END.
 
 target datalayout = "e-p:32:32"
index 67bc84c4045cb729049915d2a64c44ca1d9e775e..5fec3d420edb6356558e0db7bdfb775b847bde32 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep icmp | count 1
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep {icmp ugt} | count 1
 ; END.
 
index 695aea46ee2cf602c468f11c982ccaad09fa8287..ec84c736bdc71f5446551a393522c9af7dc12cd7 100644 (file)
@@ -1,6 +1,6 @@
 ; For PR1065. This causes an assertion in instcombine if a select with two cmp
 ; operands is encountered.
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; END.
 
 target datalayout = "e-p:32:32"
index edbcfeed923a97078a5302349eeabc52bfe9884f..7ae7e96f91f7745349c107809b1eaf129b24a435 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {icmp ugt}
+; RUN: opt %s -instcombine | llvm-dis | grep {icmp ugt}
 ; PR1107
 ; PR1940
 
index 073d3a154128616aff486c332220b2fd7abf71e2..79267d9038d625171f074629878753b6c054d3b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {fcmp uno.*0.0}
+; RUN: opt %s -instcombine | llvm-dis | grep {fcmp uno.*0.0}
 ; PR1111
 define i1 @test(double %X) {
   %tmp = fcmp une double %X, %X
index 83d05d9d94f764adf6d882b0c1a85e861a4b9108..3cbf401e3d2f3d9c9ab37faf450d1bebb8fa503f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0e8c5b17666e3cafa2c0b4290d222f2ff86e4ccd..2b62e988f1db8a2194ef581cf899601908ab936e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ugt.*, 1}
+; RUN: opt %s -instcombine | llvm-dis | grep {ugt.*, 1}
 
 define i1 @test(i32 %tmp1030) {
        %tmp1037 = icmp ne i32 %tmp1030, 40             ; <i1> [#uses=1]
index e559cdd914a910df263da5a7becf1be11846e2ad..4ab6036bc8c742301308074fbafec482c701e591 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | grep {%A = alloca} 
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | \
+; RUN: opt %s -instcombine -mem2reg | llvm-dis | grep {%A = alloca} 
+; RUN: opt %s -instcombine -mem2reg | llvm-dis | \
 ; RUN:    not grep {%B = alloca}
 ; END.
 
index ce9eb3c69d4bc2b0efc00ff293ec9f0aa0c16320..f86eb157610cab7c5e1f07008cab67155750f49a 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep zext
+;RUN: opt %s -instcombine | llvm-dis | 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 d60da44b7f19ada4b77d79fdddf49d20399bfa2d..19410ec5b9fb1ac5b98cca7a4cdc80c91769d25f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep ret
+; RUN: opt %s -instcombine | llvm-dis | grep ret
 ; PR1217
 
 target datalayout = "e-p:32:32"
index d101050e93074aa855d3f8c3261040475d92eb17..a1fee14ff7bf469ae4e8fc67df12d02e2747894e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {icmp sle}
+; RUN: opt %s -instcombine | llvm-dis | grep {icmp sle}
 ; PR1244
 
 define i1 @test(i32 %c.3.i, i32 %d.292.2.i) {
index 0b05f7c643201801fc80bddc000b0c0b1f463c13..1e26af39ec6ce3082d3bfd0c7ae79d7ec1e010bd 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1271
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {icmp eq i32 .tmp.*, 2146435072}
 %struct..0anon = type { i32, i32 }
 %struct..1anon = type { double }
index d67e1a13cc4e8ae1be7db4b3f40633021dea7e8e..92a78992299654632952b0a135bfee5a45e3762a 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1271
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and
+; RUN: opt %s -instcombine | llvm-dis | grep and
 define i1 @test(i32 %tmp13) {
 entry:
        %tmp14 = shl i32 %tmp13, 12             ; <i32> [#uses=1]
index 4a2e60e7c35c481e6f64d8f283b2409b00a0c164..a32358eb53aa68679ca2827580e9a73b1bc9c669 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1271
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {ashr i32 %.mp137, 2}
 ; END.
 
index 6cb9aaec09873d6a74dfc580943882843c38a7ef..5e2121450976836b9c21b92a4bd9c54924e6611e 100644 (file)
@@ -4,7 +4,7 @@
 ;          is not done. It should be removed when code gen supports "funny"
 ;          bit widths.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {add i49.*-8388608}
+; RUN: opt %s -instcombine | llvm-dis | 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 e738635be7631ecbd5e51a4c27ddca315744d7f0..e48949c5933aa7eee56204a061b8749cab46b1c0 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: llvm-as < %s | opt -instcombine | llvm-dis | not grep {= add }
+; RUN: opt %s -instcombine | llvm-dis | 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 34322a2788a2ed9a1dbda27c6f1144564492c794..ee21ab816ba58e8ad8de276a28049d545f99abd0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR1304
 
 define i64 @bork(<1 x i64> %vec) {
index 5ad7919335742d1674bbc960e8f70f4f4e743beb..b205ca888a498f610121d71d77dc66f19bf15b74 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 8769ded67b8e5214d52146b43d63e00e188a86da..e2df4fd3c1ebdd2801d896e736220ce84b1a3f4a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ececd350dba97c2f44ca40408f0c2ae096bee96e..c887b76ed8c602d87b47276871d3c804a11e03ea 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 55bfac581faf7fa0b92893b6c2cb648e96dc6523..ea86cbc3effacb4a8237af5cd2d25548cc63fc86 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {call.*sret}
+; RUN: opt %s -instcombine | llvm-dis | grep {call.*sret}
 ; Make sure instcombine doesn't drop the sret attribute.
 
 define void @blah(i16* %tmp10) {
index 482c60869600a3066326e877b0893a38b2f0809c..b06d0b3417d8e841cd6de20228e9e3168ee1b89a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ashr}
+; RUN: opt %s -instcombine | llvm-dis | grep {ashr}
 ; PR1499
 
 define void @av_cmp_q_cond_true(i32* %retval, i32* %tmp9, i64* %tmp10) {
index ffc402650262fa6946f767e3d05f9c310c05cbcd..03d6bc8eb07efa5564146e8c5fedc8921ab4a84f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 true}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i1 true}
 ; rdar://5278853
 
 define i1 @test(i32 %tmp468) {
index 988599ba3f95a5be9951461ac6c36ccce7c1cb3d..56d7ad6ae51626a4cedc5dc956c3463283a54dba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR1594
 
 define i64 @test(i16 %tmp510, i16 %tmp512) {
index 2dcb43926ba8e58a4c57eea094574b36d1f4c9ca..771ed454a1cbb4bf0bd5ccb1712047c8be81f363 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep icmp
+; RUN: opt %s -instcombine | llvm-dis | grep icmp
 ; PR1646
 
 @__gthrw_pthread_cancel = alias weak i32 (i32)* @pthread_cancel                ; <i32 (i32)*> [#uses=1]
index c022e571e11fbfcc39ec22e759422fd0c4d6d195..7e098c38e48674336546e5e365387542d7e8a583 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {call i32 @f}
+; RUN: opt %s -instcombine | llvm-dis | grep {call i32 @f}
 
        %struct.FRAME.nest = type { i32, i32 (i32)* }
        %struct.__builtin_trampoline = type { [10 x i8] }
index 300edd5e56eef353a2e81c2647abebdc83c75ce1..614a6f03206e620c148105738c67114b29453ee7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep icmp
+; RUN: opt %s -instcombine | llvm-dis | grep icmp
 ; PR1678
 
 @A = alias weak void ()* @B            ; <void ()*> [#uses=1]
index 6d251b12cf4f8aab57e9488b57dfbfd53608fefb..4baf2220cd09013bed5625cf03c03bc4c18b2407 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep call
-; RUN: llvm-as < %s | opt -std-compile-opts | llvm-dis | not grep xyz
+; RUN: opt %s -instcombine | llvm-dis | not grep call
+; RUN: opt %s -std-compile-opts | llvm-dis | not grep xyz
 
 @.str = internal constant [4 x i8] c"xyz\00"           ; <[4 x i8]*> [#uses=1]
 
index ed98fcdb9cae6bafb5c9be22153629d25d1371c2..15194944e2fa123fb5cee73cfcdeb30f37071976 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
        %struct.Ray = type { %struct.Vec, %struct.Vec }
        %struct.Scene = type { i32 (...)** }
index 5f884d4a7812486c971e7fca6ed5dfb42d7ddc85..e7a5d050b8ebb54e9a5fee15222cf10386d7be7e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {call.*stacksave}
+; RUN: opt %s -instcombine | llvm-dis | 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 15e54b1bf7493ef59db3062f409944daa0aaeb93..a197e288fdfec1971f5a3b8f30ced2adb5a50265 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6ba07e8a5a15b256ef897575b9702545627298b9..392f884f264dafc4d97e190c3a637596045a4208 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 f3caf079763884329d1445c9878fc2da83cf9767..c374262d7b485a11c2bf9d0c563029beb0daa460 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d7ac2113728763b6054a1d1ea86f6b44764db5bd..fa0d4d65acbbf91607c9371452c586154c7ef6a8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {icmp eq i32 %In, 1}
+; RUN: opt %s -instcombine | llvm-dis | grep {icmp eq i32 %In, 1}
 ; PR1800
 
 define i1 @test(i32 %In) {
index 1f211b65d3fdb28c021902bce483ba921b3d1714..65273cdbe34c30d4500d9e5983b472a21397baba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR1817
 
 define i1 @test1(i32 %X) {
index 60a4b3b4ab52c47bcd9653540056f157f3886b49..6a12bf72c78e09ac7b85f40cd122c61929b0d5c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep bitcast
+; RUN: opt %s -instcombine | llvm-dis | not grep bitcast
 ; PR1716
 
 @.str = internal constant [4 x i8] c"%d\0A\00"         ; <[4 x i8]*> [#uses=1]
index 80df6fbdce352d78f07c69e0168b7b836e776e04..2143caab0f39f5746a7b51c9af1cd41461e508a1 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: llvm-as < %s | opt -instcombine | llvm-dis | not grep {ret i1 0}
+; RUN: opt %s -instcombine | llvm-dis | not grep {ret i1 0}
 ; PR1850
 
 define i1 @test() {
index 6580f90411a6bb22eb6842040471c6e46732dab9..9b59b250f2608bda676c3ae56393f90a9c668361 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 1431655764
+; RUN: opt %s -instcombine | llvm-dis | 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 336c6d5a2eba6ff0c95c1c04311a15e51d77a99f..1474573dcc91c6ba5e83952a91eda1d85fb43833 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep nounwind
+; RUN: opt %s -instcombine | llvm-dis | grep nounwind
 
 define void @bar() {
 entry:
index e44fc6f099a76e76a3ea1c5c944c4b2f6ae6fd7d..a1983936d095c6a699ca26bfa411936a50e5c59d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {add} | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep {add} | count 1
 
 define i32 @foo(i32 %a) {
 entry:
index 5e95993960c710e24725ad8e4c04bc1f2e0d9105..5788ef54ae6b1ae1da4a57b98682eb258f5be738 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -mem2reg -instcombine | llvm-dis | grep "ret i32 1" | count 8
+; RUN: opt %s -mem2reg -instcombine | llvm-dis | grep "ret i32 1" | count 8
 
 define i32 @test1() {
 entry:
index ea52ff8402301cbf36b7450584c68a54a72ca4ef..5ef3832871c8390dc4bec993d55b0bf0a53b99c0 100644 (file)
@@ -1,5 +1,5 @@
 ; Ignore stderr, we expect warnings there
-; RUN: llvm-as < %s | opt -instcombine 2> /dev/null | llvm-dis | not grep bitcast
+; RUN: opt %s -instcombine 2> /dev/null | llvm-dis | not grep bitcast
 
 define void @a() {
        ret void
index 1d816d4b9967e0aeb0b4cdb4c9e274b7c42a6cf2..02fb399f913c282b0f76e9811d49e1b6f27492ff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 define <2 x i32> @f() {
        ret <2 x i32> undef
index 015210a99831182f5fb33001773c54d0d120091a..7a95ddb6e0b8964686e26961a8175be1fda1ef4f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep bitcast
+; RUN: opt %s -instcombine | llvm-dis | not grep bitcast
 
 define void @f(i16 %y) {
        ret void
index 71d5bf762c34b3b4c53069d65e398ca4943f90ea..6e931016b9affd675906c8c4ef88aec62c503ba1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and
+; RUN: opt %s -instcombine | llvm-dis | grep and
 ; PR1907
 
 define i1 @test(i32 %c84.17) {
index d791d7be26ec21d6b3d4b721d74bf0e3dedc0669..7ede10bf0f2b04feb5542c0f9ae40e3d910a83d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep bitcast | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep bitcast | count 2
 
 define i32 @b(i32* inreg  %x) signext  {
        ret i32 0
index 5381db2acbcb4abaa83410d728bb15746c4175fb..ecd635eef0bd83450bcaf0b7e51a69f91d495b9b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
        %struct.FRAME.nest = type { i32, i32 (i32*)* }
        %struct.__builtin_trampoline = type { [10 x i8] }
index e35794a813b099b85040bb7b23e8807a856aec5d..b73c416e044aa584f74bc05f066a4bcb2549a6cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep zeroext
+; RUN: opt %s -instcombine | llvm-dis | grep zeroext
 
        %struct.FRAME.nest = type { i32, i32 (...)* }
        %struct.__builtin_trampoline = type { [10 x i8] }
index 0c2cf54369cd5594adb44111962b11e9e06ceeef..39915cc3516ff055aa24f36605580cf4ce187693 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {icmp s}
+; RUN: opt %s -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | not grep {icmp s}
 ; PR1940
 
 define i1 @test1(i8 %A, i8 %B) {
index 8de0959bf7542b5286f41bd80bfef5a35393a7cb..b8f4946ffc60ce2da5fff76dd7cdb065e13ab567 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | notcast
 
 define i16 @test1(i16 %a) {
         %tmp = zext i16 %a to i32               ; <i32> [#uses=2]
index 346f90f8293b8e1742d95dfb4225fe52c790a826..b69f20f230c4bd7ee15ce436a8332022cfda7536 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep select
+; RUN: opt %s -instcombine | llvm-dis | grep select
 
 define double @fold(i1 %a, double %b) {
 %s = select i1 %a, double 0., double 1.
index d937f7bb2303d2711a794ab7daf10d3e15e16e66..a8052267b03eaed8c5ed65d77eb6bdcade6cd388 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {a.off}
+; RUN: opt %s -instcombine | llvm-dis | not grep {a.off}
 ; PR1949
 
 define i1 @test1(i32 %a) {
index 669738378970c94e60e039daa9527447d173aa32..e129c08de6c8a9fdc887ee0b1d8db99ef5dd6450 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep rem
+; RUN: opt %s -instcombine | llvm-dis | grep rem
 ; PR1933
 
 define i32 @fold(i32 %a) {
index cd61a10c5b8569cc2324032e48294cd1e1568d19..65c7351d3b797c0779b04519cc0cb2ee02aa2260 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i.* 0} | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i.* 0} | count 2
 ; PR2048
 
 define i32 @i(i32 %a) {
index 0e260c465e32c6e0af446aee0de2a6d19e827bb0..5b3a7acdc7ac6a34817f1b38dd0e253f3b3322f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {sdiv i8 \%a, 9}
+; RUN: opt %s -instcombine | llvm-dis | grep {sdiv i8 \%a, 9}
 ; PR2048
 
 define i8 @i(i8 %a) {
index a74e98d44860361613e77616938b8cd8fbc229d5..a4cf99e3add26ac1581626a8c1a9d9389ed71fe6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
+; RUN: opt %s -instcombine | llvm-dis | not grep mul
 
 define i26 @test(i26 %a) nounwind  {
 entry:
index ea0240395626834852c82e8c88cfa80dd276206a..9c3f477937f0c60a536c1491960dd1cc16d09da1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; rdar://5771353
 
 define float @test(float %x, x86_fp80 %y) nounwind readonly  {
index 31e7e35bef1f3b3da29fe57bf68a3c362581c980..442d3642d4cee8be1181fa55b2bb35100217d126 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {16} | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep {16} | count 1
 
 define i8* @bork(i8** %qux) {
   %tmp275 = load i8** %qux, align 1
index 020121375feaf7027dd2750dd83a541d04e0c4db..a83627660c0b8bb3b87707fc81e5a019d50ab210 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: llvm-as < %s | opt -instcombine | llvm-dis | grep bitcast
+; RUN: opt %s -instcombine | llvm-dis | 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 9bfe7aa141482bb1dab6f3705b42ecfeb3e4d26c..bca0753f8fc3eddc6a01db1337a558c0b71ab3c2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {volatile store}
+; RUN: opt %s -instcombine | llvm-dis | grep {volatile store}
 
 define void @test() {
        %votf = alloca <4 x float>              ; <<4 x float>*> [#uses=1]
index e43c22daa42a383c79bbfe46d2682673c396b3f7..8ac2662381cf003024f8b18ba404ccc57a94d5e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {volatile load} | count 2
+; RUN: opt %s -instcombine | llvm-dis | 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 293052a44711aa41cc69924c43e7a040e00d2a8d..dec764aae9f9f85106306fd23b32f5b1dd11df6a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {volatile load} | count 2
+; RUN: opt %s -instcombine | llvm-dis | 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 e9cc97df0c61611b99f741a9e11c7696d8cb1263..006c0f30b83ba1878d455e5c139e96f96cae6fd0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {store i8} | count 3
+; RUN: opt %s -instcombine | llvm-dis | 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 4dd29a79cd7d4d4b720a0ecbebcf5155db0c93ab..4fe7746503eaee48c0aaa164b3cffaaf2f393a5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 9cfbd6f2c5e20bd7a3fd211c5fd40473d53ebf54..366d48360dd72ef4c10cb3c90115d3eb87cdc0cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e994399e423e5a7d13f685aa8d86f28c64e3dad3..194bcc6facb7c7c061bf143b373b8699c012eadc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 false} | count 2
+; RUN: opt %s -instcombine | llvm-dis | 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 ad70b658d3c10de296173838dd92472b6208e979..f627a348937885af17f4a508f36938e89a219d16 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 f2511b383254993e625cf40ffcb960755ce2e855..9db2549e3cd74896d3e20d883839fa296c64f0fb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sub
+; RUN: opt %s -instcombine | llvm-dis | not grep sub
 
 define <3 x i8> @f(<3 x i8> %a) {
   %A = sub <3 x i8> zeroinitializer, %a
index c0f34e68a9d8d04ba12d6f7a8750e48bfd8860f0..25a750334b22c7f301fbd00f57deecc20e682841 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 false}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i1 false}
 ; PR2359
 define i1 @f(i8* %x) {
 entry:
index 7008587c40d98df0e0a1677b9882f8a3197374b1..db6bbaa125be97837896c4bb74fd8a49444e128b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {xor}
+; RUN: opt %s -instcombine | llvm-dis | grep {xor}
 ; PR2389
 
 define i1 @test(i1 %a, i1 %b) {
index f3df49b352c38b3454d5990ba7b4042c3fb5e9f4..929e3018e54eb15e7792596c0cbe9f2d596dd2a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 ; RUN: grep {xor} %t
 ; RUN: grep {and} %t
 ; RUN: not grep {div} %t
index ec13bbf65c182493de02e5cfb28cffe45b0fe85d..e40b0f5ce97699a5218d1982d54898869af95fb8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 
 define i65 @foo(i65 %x) nounwind  {
 entry:
index da63dd67453f49e2763612b58159707a264e6634..8f45f67c20773ce5f79b7d861381c96877abea5d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {phi i32} | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep {phi i32} | count 2
 
 define void @test() nounwind  {
 entry:
index c671eb8b073e47d78e5a72e550cbb63d1e77270b..a7fdcf721ba0cb3f96b035076d9777a47122d9b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {store i32} | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep {store i32} | count 2
 
 @g_139 = global i32 0           ; <i32*> [#uses=2]
 
index 3f23098225e1791214c0e8b924dac329f31db502..47584893675979650e6e1e7e5d704ed504fdac2f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {store i8} | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep {store i8} | count 2
 
 define i32 @a(i8* %s) nounwind  {
 entry:
index fa3dc0ae141eb5097f077b28fffe42c53adda1c6..9216726829ea5c922ae23b6930e19e8210648d85 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep load | count 3
+; RUN: opt %s -instcombine | llvm-dis | grep load | count 3
 ; PR2471
 
 declare i32 @x(i32*)
index e2d710078484178c2a688ee1e2b3d5aea38686e6..d91d5c6436bd71ca46e7b878279560cc0f88856e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {icmp eq i32 %In, 15}
+; RUN: opt %s -instcombine | llvm-dis | grep {icmp eq i32 %In, 15}
 ; PR2479
 ; (See also PR1800.)
 
index 9ed7be38c6aa1a0b10b0eeb7c3fb50b0c10bd2da..54e6332d95a89f9f1474dff2f4a0138c0fa4fd1a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {call.*llvm.stackrestore}
+; RUN: opt %s -instcombine | llvm-dis | 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 c6002413147e61abd4b3ed3e1ee372b0ce6b2b39..11d8ec2d40361a3b81d454e425eb7f303e33947b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep icmp | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep icmp | count 1
 ; PR2330
 
 define i1 @foo(i32 %a, i32 %b) nounwind {
index 956b9a6ae2e672f545c3c330b707d5363f0fb0b8..30d58f657edff4e8edb3bd82a1c8e110d93a90ae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {icmp ne i32 \%a}
+; RUN: opt %s -instcombine | llvm-dis | grep {icmp ne i32 \%a}
 ; PR2330
 
 define i1 @foo(i32 %a) nounwind  {
index bf3afb9e3bb1d54a0b269e5abcc3934115eac866..090e457a02b590ff59a45b196030c4d3b34f5b42 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v {i32 8}
+; RUN: opt %s -instcombine | llvm-dis | grep -v {i32 8}
 ; PR2330
 
 define i32 @a(i32 %a) nounwind  {
index af728eb207c2ef51b7cb58848a2abe3a480f5c44..e41f6491de823078fc610aff1373db9bc4dc7381 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {volatile load} | count 2
+; RUN: opt %s -instcombine | llvm-dis | 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 c5b93586ba38941c1983f93dd264d3915c123f26..0e4da6161e0309983b9dc34a9a8286ae38ad3397 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {sub i32 0}
+; RUN: opt %s -instcombine | llvm-dis | not grep {sub i32 0}
 ; PR2330
 
 define i32 @foo(i32 %a) nounwind {
index 205e57d797384aa85cf9d46bdea9eb27747f6381..b066e2f5d3de659991884f8b4215e6a257242cf9 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {%C = xor i1 %A, true}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 false}
+; RUN: opt %s -instcombine | llvm-dis | grep {%C = xor i1 %A, true}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i1 false}
 ; PR2539
 
 define i1 @test1(i1 %A) {
index 50533db06d5537a8bc491ae3d0e3c7b4d2fb17a4..ae92a000124ed6ad135d591a5ccd386e76507d36 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep add
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
+; RUN: opt %s -instcombine | llvm-dis | not grep add
+; RUN: opt %s -instcombine | llvm-dis | not grep mul
 ; PR2330
 
 define i1 @f(i32 %x, i32 %y) nounwind {
index 0bfd41dd4e7a9094f65c434ec3ecd62f03e6c1a4..771c7ff72f540c1b7f567c5f906f2f68cc1ed19a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep rem
+; RUN: opt %s -instcombine | llvm-dis | not grep rem
 ; PR2330
 
 define i32 @a(i32 %b) nounwind  {
index 85c3dbc5ff69323f4e142e7104f8f1d944482b69..6c0a3b1bd2f3b351737787400315c8267d846a33 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {lshr.*3}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {call .*%cond}
+; RUN: opt %s -instcombine | llvm-dis | grep {lshr.*3}
+; RUN: opt %s -instcombine | llvm-dis | grep {call .*%cond}
 ; PR2506
 
 ; We can simplify the operand of udiv to '8', but not the operand to the
index ca4174d0a96342c7b162ad55103b636795794b49..350f97e7c448c2147befb759daa32ca4b03f19bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sub
+; RUN: opt %s -instcombine | llvm-dis | grep sub
 ; PR2553
 
 define double @test(double %X) nounwind {
index 49e6cdd0377db9e04145ad8d9e04fa1cb07a9d2e..e700e93fef83113963312f51d8b2821041882d15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {store }
+; RUN: opt %s -instcombine | llvm-dis | not grep {store }
 ; PR2296
 
 @G = common global double 0.000000e+00, align 16
index 939e6b85950656edb0654ab8ae7dfebc966e7c49..07b834391044a1a1b8ba7425895ca2a90a563a59 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep or
+; RUN: opt %s -instcombine | llvm-dis | not grep or
 ; PR2629
 
 define void @f(i8* %x) nounwind  {
index 428a35947d1d4febd3d89fc65a6734754b1ccedf..5f5f5452ece3ce285074f7ccd0c04eba707cf8e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep xor
+; RUN: opt %s -instcombine | llvm-dis | not grep xor
 
 define i1 @test1(i8 %x, i8 %y) {
   %X = xor i8 %x, 128
index 4b5dc6a5dfc174815b387a566ef25a0b045cbd8c..ef3a901b776e310fb205c5824c1aa065fdc0ddc9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e7a8ca9b521c19434fcda37af80e6fd286019753..b3415878589d6f68acd169ea2b43a7f99c34b7f8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {or i1}
+; RUN: opt %s -instcombine | llvm-dis | grep {or i1}
 ; PR2844
 
 define i32 @test(i32 %p_74) {
index dfe9c4a16c89df22ea98261f5b9fb9cddf0635f6..3feb0355df23f68461e0ffc55c83be313ea8892a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 false}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i1 false}
 ; PR2697
 
 define i1 @x(i32 %x) nounwind {
index 8f35a8586c735b46b94481f72a0d909590b45e41..3c07babe61e35b9fb0fdbfc3be1d4ab143c669bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 ; PR2940
 
 define i32 @tstid() {
index 46e98eb3627c25c7efa0feef6e2b57c0f10cd6b8..bfe429a8872a9b68485bf1eee19d063bbda8c958 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 true}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i1 true}
 ; PR2993
 
 define i1 @foo(i32 %x) {
index c088f3166fafda53ba99e00f9750d7c250bf3f60..260ded73497a04d87df04dcb6a3feb73234ad5a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 ; RUN: grep {icmp eq} %t
 ; RUN: grep {ret i1 false} %t | count 2
 ; RUN: grep {ret i1 true} %t | count 2
index 8c58a2ae7f7d51cc090edad50426336e11a18416..ae1cb04b5f88a031160a2817cc13bc3c6f1b32e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 ; RUN: grep urem %t | count 3
 ; RUN: grep srem %t | count 1
 ; RUN: grep sub %t | count 2
index 4275e1191a88b566325707a254142ad77672f735..5eba641c6dd7ca8ebb3cdd4776a802bc76f14fa7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
+; RUN: opt %s -instcombine | llvm-dis | not grep div
 
 define <2 x i8> @f(<2 x i8> %x) {
   %A = udiv <2 x i8> %x, <i8 1, i8 1>
index 544e9abbbcb7424f880166315a113333384b2f01..326cb1b310ddc980201bc94f9b022da992fa66f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
+; RUN: opt %s -instcombine | llvm-dis | not grep mul
 
 define <2 x i8> @f(<2 x i8> %x) {
   %A = mul <2 x i8> %x, <i8 1, i8 1>
index 6a6b5f386347adb1b1b2a6c950fcbb301d2447da..397492300d0f4456fabde429980e10aaf7e1bac0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
+; RUN: opt %s -instcombine | llvm-dis | not grep div
 
 define i8 @test(i8 %x) readnone nounwind {
   %A = udiv i8 %x, 250
index f970b96ed4d2b952593df00acedaad29ccaa60e9..9221257ca6f7e7044de5afff3acb0a986af48e5f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {i8 2, i8 2}
+; RUN: opt %s -instcombine | llvm-dis | grep {i8 2, i8 2}
 ; PR2756
 
 define <2 x i8> @foo(<2 x i8> %x) {
index df3a760daf870cdec739c730ccc2a3ccacabf362..1676eb6d0f04e61c8dfaa7aacbc51f822125df5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 82b923ac95c74078adff5f2317d88100d9c322e6..f421de20336aec978dd5f3fe93b584dc25d211f1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 ; RUN: grep {, align 4} %t | count 3
 ; RUN: grep {, align 8} %t | count 3
 ; rdar://6480438
index e0a2610c225e62ae1d701130108338abb46fc1e0..a6b190db2b57371b8c39eb049f849395845e9797 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {store.*addrspace(1)}
+; RUN: opt %s -instcombine | llvm-dis | 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 cc001f0334c34d250bff714da1423e03ab7789c0..982caecc15e4e8dd30fc0880f9426d693454570f 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep 0x7FF8000000000000 | count 7
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep 0x7FF00000FFFFFFFF | count 5
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep {0\\.0} | count 3
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep {3\\.5} | count 1
+; RUN: opt %s -simplifycfg -instcombine | llvm-dis | grep 0x7FF8000000000000 | count 7
+; RUN: opt %s -simplifycfg -instcombine | llvm-dis | grep 0x7FF00000FFFFFFFF | count 5
+; RUN: opt %s -simplifycfg -instcombine | llvm-dis | grep {0\\.0} | count 3
+; RUN: opt %s -simplifycfg -instcombine | llvm-dis | grep {3\\.5} | count 1
 ;
 
 ; ModuleID = 'apf.c'
index 9cdb425ab49c179d90b1cc441b4cd4aab5e037b3..455279c4b907e2bc25fa9f5b40bed9f2823afc5c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep 0x3FB99999A0000000 | count 2
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep 0xBFB99999A0000000 | count 2
+; RUN: opt %s -simplifycfg -instcombine | llvm-dis | grep 0x3FB99999A0000000 | count 2
+; RUN: opt %s -simplifycfg -instcombine | llvm-dis | grep 0xBFB99999A0000000 | count 2
 ; check constant folding for 'frem'.  PR 3316.
 
 ; ModuleID = 'tt.c'
index 313e76d028d0fe671b53bd31aef6004ada63243b..85d7c44b45736f85b7ba46fac652bdbe0eb24f67 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6620e4fadd6470cb334bd47ad2e5f9dcba334ac8..1aecad1800edb4fdbfb41e32e1392ef7281ec3de 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0c3066bb90c9b2970dc6cc6d2e463ef00fbd5f22..9455525db47a994993f162a4302cba7f5da98837 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {%B = add i8 %b, %x}
+; RUN: opt %s -instcombine | llvm-dis | grep {%B = add i8 %b, %x}
 ; PR2698
 
 declare void @use1(i1)
index b08c9622502aaecb377b98574935f2a07c54f6a1..9385f45ede159038a4d4934f19b47633a4e559d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 ; PR3468
 
 define x86_fp80 @cast() {
index 52bceadac39548b301ea6b953e4b3813f6628d06..728bde5e4c7033363aaf8ab46daf0bf9f4df05fb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -scalarrepl | llvm-dis | not grep { = alloca}
+; RUN: opt %s -instcombine -scalarrepl | llvm-dis | not grep { = alloca}
 ; rdar://6417724
 ; Instcombine shouldn't do anything to this function that prevents promoting the allocas inside it.
 
index 2c126df1f14d088c5a6a3a599a61fb3ca0f5642f..76bc69f3693ba0ddfd55443f5702d8378cf928ef 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 3679669}
+; RUN: opt %s -instcombine | llvm-dis | 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 c59c5edcf2d16a636a038aea3cec2f8841dc7913..fd86042d2ad3d716aa36ec30fa4d86a4c03de8bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ae690cf9a519f937a4a29658927c4725d2ce0c9f..493b8d0f587d5885fb559c1524b4f546d389abe7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; PR3826
 
 define void @0(<4 x i16>*, <4 x i16>*) {
index 92ace11f8f398b1ccd13485c759253d49b2161ef..1f207c2ab01e24936eea0a3cee8e2506eef9f9df 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ashr i32 %val, 31}
+; RUN: opt %s -instcombine | llvm-dis | grep {ashr i32 %val, 31}
 ; PR3851
 
 define i32 @foo2(i32 %val) nounwind {
index 6d5a7bf77d2b3b600d182d9b7e775f5166603270..9ee4014e4cbbe795c24c6c49f40a6cffac1ab438 100644 (file)
@@ -1,5 +1,5 @@
 ; PR3874
-; RUN: llvm-as < %s | opt -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 82f876298191538eaa398fb04518317b80ae6d64..88663f3bd15ec8fa0fc302e65f9590e3c44495e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {mul i64}
+; RUN: opt %s -instcombine | llvm-dis | grep {mul i64}
 ; rdar://6762288
 
 ; Instcombine should not promote the mul to i96 because it is definitely
index 1eda7dfa9ec74a26461219890e0d3cdff71953ae..8137875aa3c1273801274e09545d8dd9eb7c570b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cmp
+; RUN: opt %s -instcombine | llvm-dis | not grep cmp
 ; rdar://6903175
 
 define i1 @f0(i32 *%a) nounwind {
index ffb55a7921485e616145e91af8b31ce7106ee620..7db92a2ed38d1f21d9cf122b94078b4ce8073c38 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {store i32 0,}
+; RUN: opt %s -instcombine | llvm-dis | grep {store i32 0,}
 ; PR4366
 
 define void @a() {
index 82b223a4ddc9469e2489e622baca44fd5c921f90..30119d480ce4d07128ca3b2f6c2666d3914242ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep srem
+; RUN: opt %s -instcombine | llvm-dis | grep srem
 ; PR3439
 
 define i32 @a(i32 %x) nounwind {
index 7505de17a7afc4b660dd06566ccf52b793212eb0..2b0967c969ff29a7d0f4522d027dc0fcfd24dfef 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 ; PR4495
 
 define i32 @test(i64 %test) {
index 785b91e79e49a135ba19aabc35144bbf32eb460d..5d400b71029924541f0d7b01e6b38ed3a286c0ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep select | not grep {i32\\*}
 
 ; This testcase corresponds to PR362, which notices that this horrible code
index e24d199f8c45ace2bd98558ed02cc018a461083f..be050fccd48d21db0e4e2e6bfef08345690ae7bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | notcast
 target datalayout = "e-p:32:32"
 
 define i32* @test(i32* %P) {
index 72cab427d07f5510fa5bd338682a7438e08cdf39..7b5dbb2bf0acf83fa840a83e52720b51f5877637 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: llvm-as < %s | opt -instcombine | llvm-dis | grep {%c3 = icmp sle i32 %A, %B}
+; RUN: opt %s -instcombine | llvm-dis | grep {%c3 = icmp sle i32 %A, %B}
 
 define i1 @le(i32 %A, i32 %B) {
         %c1 = icmp sgt i32 %A, %B               ; <i1> [#uses=1]
index 6dc02f361c97fc70c407eb5abe0515804d76c72f..bd428cfb58f0b035e72e901141560114d2fa7574 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {add i32}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sext | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep {add i32}
+; RUN: opt %s -instcombine | llvm-dis | grep sext | count 1
 
 ; Should only have one sext and the add should be i32 instead of i64.
 
index 298b9a1917afddad5c573027e66dd2ce3a10084c..d3e44c2bddec7001a99c22de4928c805e89b8805 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {add i32}
+; RUN: opt %s -instcombine | llvm-dis | grep {add i32}
 
 define double @x(i32 %a, i32 %b) nounwind {
   %m = lshr i32 %a, 24
index 6ff2187474f75cf0bb566e7ec0687823a903263f..c20d6b7679aeefa3d28485d5a8760a4740eb5bfd 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that add instructions are properly eliminated.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep -v OK | not grep add
 
 define i32 @test1(i32 %A) {
index cd67d96a01ac86fbfff20817388f4c9576689def..3469abc81c10a81bca0c4c2ab208a399d3595125 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep add
+; RUN: opt %s -instcombine | llvm-dis | not grep add
 
 define i64 @test1(i64 %A, i32 %B) {
         %tmp12 = zext i32 %B to i64
index 55e7ec7a1db3ac2d496892e740fe81439eb905c0..d4c2684fdf9ee8214a2706a28283266ab8a79388 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep inttoptr | count 2
+; RUN: opt %s -instcombine | llvm-dis | 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 f3b9565a51e115901eb2b34f8ded3b3c3f384a2e..f113915cfe553b1578780a8df6630b94791e4bb9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep { sub } | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep { sub } | count 1
 ; PR2047
 
 define i32 @l(i32 %a, i32 %b, i32 %c, i32 %d) {
index 9328ad36499531152f803c4ea19d34e445d52411..01dc3d7d60b14a29d9385aa5db1a685718c358f0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {icmp s\[lg\]t i32 %n, 0} | count 16
+; RUN: opt %s -instcombine | llvm-dis | 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 c826e31da1f971e05f2fc27a5fac1ef1fedc7d54..d29f834130803a27df56e35f30c85a7686ec5f61 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {align 16} | count 1
+; RUN: opt %s -instcombine | llvm-dis | 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 a05c513dcbb3c38dd4dc55073db2a9643c5c045e..3ce5ca346c2b063eff8176de02a9e52601cdd9c5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {align 16} | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep {align 16} | count 1
 
 ; Instcombine should be able to prove vector alignment in the
 ; presence of a few mild address computation tricks.
index 38be3143edaa671c062cd3866d5c06c89a1c23e0..9304bbe24a668bccf5e36558bf5d63a0bad07c47 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 ; Don't assume that external global variables have their preferred
 ; alignment. They may only have the ABI minimum alignment.
index 104d9918a9c700be9ba6855d22cf00c13eb2ae11..fb2deb25b1f13409c32d60cf24d38dc0d5814038 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {GLOBAL.*align 16}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {tmp = load}
+; RUN: opt %s -instcombine | llvm-dis | grep {GLOBAL.*align 16}
+; RUN: opt %s -instcombine | llvm-dis | grep {tmp = load}
 
 @GLOBAL = internal global [4 x i32] zeroinitializer
 
index 95d0f094ae3f2e4cd6b78538eab0db68d8d8fe20..4c497b0a6cfa1b5ee6d2281d4ddef6a9ab11e394 100644 (file)
@@ -1,6 +1,6 @@
 ; Zero byte allocas should be deleted.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep alloca
 ; END.
 
index d2f2753f887ede4dca97a75e508e001eff64f560..97a3f17f55ba9248f497501fdf74732e0f3547a7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep and | count 1
 
 ; Should be optimized to one and.
index 55efffa34ff5f47a02a5f74aa0344afb46af6971..26a19704a0804176afb9b3eb46c32c92ae3ccaef 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep fcmp | count 3
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep ret | grep 0
+; RUN: opt %s -instcombine | llvm-dis | grep fcmp | count 3
+; RUN: opt %s -instcombine | llvm-dis | grep ret | grep 0
 
 define zeroext i8 @t1(float %x, float %y) nounwind {
        %a = fcmp ueq float %x, %y
index 9e9f397c4be32cc4a66d38d244e2f8801aefe9d7..ff56f477d81d3b0ff0fe605c56f08d955dccb80b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {and i32 %x, %y} | count 4
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {or}
+; RUN: opt %s -instcombine | llvm-dis | grep {and i32 %x, %y} | count 4
+; RUN: opt %s -instcombine | llvm-dis | not grep {or}
 
 define i32 @func1(i32 %x, i32 %y) nounwind {
 entry:
index 04d475ccd8229183427f228f4fdd6f27b21baa6c..9a6ac3afbb1fd417546d7735387462bc3e595b95 100644 (file)
@@ -9,7 +9,7 @@
 ;
 ; Which corresponds to test1.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep {or }
 
 define i32 @test1(i32 %X, i32 %Y) {
index 8fc53a7e0acbcc45f197b593a9b01843d93726ff..76f3209363dd43411e752d9a9b824a6cd167a055 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep xor | count 4
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep and
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep { or}
+; RUN: opt %s -instcombine | llvm-dis | grep xor | count 4
+; RUN: opt %s -instcombine | llvm-dis | not grep and
+; RUN: opt %s -instcombine | llvm-dis | not grep { or}
 
 ; PR1510
 
index 38ad842e015f5f111a8b9422578b51080cb048b1..5aa53fda0937b38e7cc093b78e69dafaa63871dd 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {and i32 %a, 1} | count 4
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {or i32 %0, %b} | count 4
+; RUN: opt %s -instcombine | llvm-dis | grep {and i32 %a, 1} | count 4
+; RUN: opt %s -instcombine | llvm-dis | grep {or i32 %0, %b} | count 4
 
 
 define i32 @func1(i32 %a, i32 %b) nounwind readnone {
index 85f8026ab5721cf3c23d0d368dc744618394961f..5472b04dd02a13d9f49d416fadbc1d8ed29432a5 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and | count 1
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep xor | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep and | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep xor | count 2
 
 ; (x&z) ^ (y&z) -> (x^y)&z
 define i32 @test1(i32 %x, i32 %y, i32 %z) {
index edab47e87cf12cb1bc2bbc914314ad61980c2170..c5cdf72de8627e77f5e4fd1e6fa85db1da764ef1 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep and
+; RUN: opt %s -instcombine | llvm-dis | not grep and
 
 define i32 @test1(i32 %A) {
         ; zero result
index 3b80d94e1a61c706cb459d8330ab7efba41f3667..012fa25aadd204e592d380249e567716f4706440 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep and
+; RUN: opt %s -instcombine | llvm-dis | not grep and
 
 
 ; PR1738
index 74280ee7f7cad1a132b92c9a2a301ce6d7d0f054..3dcff56444e4c5f993a2f294132489ff78e693d6 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that add instructions are properly eliminated.
 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep -v OK | not grep add
 
 
index 0ddfcc0764d6c0e137dc3640a4b0ab93e474ae94..f34b6ae65d3d8812b42b04c0a4a930bdb138b494 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that add instructions are properly eliminated.
 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep -v OK | not grep add
 ; END.
 
index ad2e41d718efefad1363ca7b2846803fad44aab6..61a117b2f504454afd8c1be6e691c0687f516dc3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep and | count 2
 
 ; Should be optimized to one and.
 define i1 @test1(i33 %a, i33 %b) {
index 4630f286786530472ebaf2337401b899f6045428..7682407268448bf8e4e6e99f70375ffb92356b00 100644 (file)
@@ -11,7 +11,7 @@
 ; 
 ; This tests arbitrary precision integers.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {or }
+; RUN: opt %s -instcombine | llvm-dis | not grep {or }
 ; END.
 
 define i17 @test1(i17 %X, i17 %Y) {
index e1e4e3caaef0f0634b35f68c7b4bbd99c8fc29e3..d46cf6ec82ce3572fc9d269626eb854cb4f7d2cb 100644 (file)
@@ -1,8 +1,8 @@
 ; This test case checks that the merge of and/xor can work on arbitrary
 ; precision integers.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and | count 1
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep xor | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep and | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep xor | count 2
 
 ; (x &z ) ^ (y & z) -> (x ^ y) & z
 define i57 @test1(i57 %x, i57 %y, i57 %z) {
index eb3b1a64b2ce0caac84a6e37c0da73304d9dc9cc..deaa471f7143d9f18fdd177198c418e4fd806454 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: llvm-as < %s | opt -instcombine | llvm-dis | not grep {and }
+; RUN: opt %s -instcombine | llvm-dis | not grep {and }
 ; END.
 
 define i39 @test0(i39 %A) {
index f7b3934d5b83d7645217d7dc8f31e811bbbcd3b9..9ae0b5d978236d90d560cd05b6cd005ae042b7ed 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: llvm-as < %s | opt -instcombine | llvm-dis | not grep {and }
+; RUN: opt %s -instcombine | llvm-dis | not grep {and }
 ; END.
 
 
index 3688fbe1f2939ab31992034f1844af14fd19e0ad..bcaef2df1c5efe398a5b7e7b93f3652aec88b762 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | not grep bitcast
+; RUN: opt %s -instcombine | llvm-dis | grep call | not grep bitcast
 
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index 337fd7c2d722d83ceacccef26d1c44a962b4c0ba..35948eb97610b71bf9bd7d83dcc774492552bfab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep bitcast
+; RUN: opt %s -instcombine | llvm-dis | not grep bitcast
 
 define i19 @test1(i43 %val) {
   %t1 = bitcast i43 %val to i43 
index 29a88694d5c56e650e2f797b74b7d35f85fb2219..1e7ac10fd921eaf3e64b253763e524ffb428cd58 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep i41
+; RUN: opt %s -instcombine | llvm-dis | not grep i41
 
 define i61 @test1(i61 %X) {
         %Y = trunc i61 %X to i41 ;; Turn i61o an AND
index dd00146400212e2cb0abc3bce04f7f3f79300500..83640f0d3289cb8428f902239091c80422f7069c 100644 (file)
@@ -1,5 +1,5 @@
 ; Tests to make sure elimination of casts is working correctly
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | notcast
 
 define i17 @test1(i17 %a) {
         %tmp = zext i17 %a to i37               ; <i37> [#uses=2]
index e9aa579b958356cc63b455b4e308c46581e04e5c..b1ec5abf006490288dd4b3262354ed3253bc147c 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that div instructions are properly eliminated.
 ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
+; RUN: opt %s -instcombine | llvm-dis | not grep div
 
 
 define i33 @test1(i33 %X) {
index 2aa2c3a4ac2c3c7b2d97b6f07213b8eb21b93586..41b28b0eb61ea3d5bf16327fb987513d6ebce035 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that div instructions are properly eliminated.
 ; This test is for Integer BitWidth >= 64 && BitWidth <= 1024.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
+; RUN: opt %s -instcombine | llvm-dis | not grep div
 
 
 define i333 @test1(i333 %X) {
index 13d032cacf21e94edf08609bde1045b5617cda35..b3bef0bf177aa933ee71f6cdf01e69916658409c 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that elimination of logical operators works with 
 ; arbitrary precision integers.
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep {(and\|xor\|add\|shl\|shr)}
 ; END.
 
index 36b1102580c9667c414c4a5b09b9f14fd9bcb6a1..d35f03c2abfeb39fdfb7d80f5ad3d7f9cff2094f 100644 (file)
@@ -2,7 +2,7 @@
 ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
 ;
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
+; RUN: opt %s -instcombine | llvm-dis | not grep mul
 
 
 define i17 @test1(i17 %X) {
index 72fd97ac79f0ad7f5d5f0fb05abd25362b8fcb1f..b99e2a5af8f650a769659e5e53d36059d5b12089 100644 (file)
@@ -2,7 +2,7 @@
 ; This test is for Integer BitWidth >= 64 && BitWidth % 2 >= 1024.
 ;
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
+; RUN: opt %s -instcombine | llvm-dis | not grep mul
 
 
 define i177 @test1(i177 %X) {
index f557fa8b1788fd36a71e558ba9634c1881e26f97..205154351c4df8b06fe383c628221cf67743c55d 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that the xor instructions are properly eliminated
 ; when arbitrary precision integers are used.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep xor
+; RUN: opt %s -instcombine | llvm-dis | not grep xor
 
 define i33 @test1(i33 %A) {
        %B = xor i33 %A, -1
index 51b87fe2a2007edb0d54c4cdf4db869c59bdc256..d5d2e7a1a0d021039ee46d15f3dd68ae30da2090 100644 (file)
@@ -2,7 +2,7 @@
 ; This test is for Integer BitWidth <= 64 && BitWidth % 2 != 0.
 ;
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep or
+; RUN: opt %s -instcombine | llvm-dis | not grep or
 
 
 define i7 @test0(i7 %X) {
index 21dc5654ceeca7d0139bcb50addceba9f1f384cf..a38b59e3d3c78562006cb6d5d2f749c69ce26cd0 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that or instructions are properly eliminated.
 ; This test is for Integer BitWidth > 64 && BitWidth <= 1024.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep or
+; RUN: opt %s -instcombine | llvm-dis | not grep or
 
 
 define i777 @test0(i777 %X) {
index 2ec8c749972d5ac29a06858eb7251b3e0cd1fb3f..6564b6816a6033f3a386d0a14fa81ad96beb26bb 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep rem
+; RUN: opt %s -instcombine | llvm-dis | not grep rem
 
 
 define i33 @test1(i33 %A) {
index 4d22c22d540105b6d79c3436a78d43d6b44d21db..fb290cc9ee5380f3cea83ec67704de889643d36b 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ; This test is for Integer BitWidth >= 64 && BitWidth <= 1024.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep rem
+; RUN: opt %s -instcombine | llvm-dis | not grep rem
 
 
 define i333 @test1(i333 %A) {
index c2399fb88efeb2cdd8f58b26fd3f1ac506ac8c3b..3b474254f8951120476b89cc12bc3d68ab0b7279 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep select
+; RUN: opt %s -instcombine | llvm-dis | not grep select
 
 
 define i41 @test1(i1 %C) {
index a0046fbacb6bd4c316cd8a8ef06a7356e4200b8f..1abe50520ba293ad0ea0e76995f97e4ce28fa889 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    egrep {shl|lshr|ashr} | count 3
 
 define i41 @test0(i41 %A, i41 %B, i41 %C) {
index afc5360d8de449e0030c1fc6c10f275f16b57578..c2ee1d3225e00649e3abb06903613116b5bbac80 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that shit instructions are properly eliminated
 ; even with arbitrary precision integers.
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sh
+; RUN: opt %s -instcombine | llvm-dis | not grep sh
 ; END.
 
 define i47 @test1(i47 %A) {
index a9cffdef04f432389a1436c64ad2e7bdef55a676..dd8576a15e6718bf489a1d14f10d841229d98064 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl
+; RUN: opt %s -instcombine | llvm-dis | grep shl
 ; END.
 
 define i1 @test0(i39 %X, i39 %A) {
index 2ff763c9f5f891a80ba47b333496f5a43d08fc91..5b92f1d718c7d29b9dc63524cd0aca016767a8f7 100644 (file)
@@ -2,7 +2,7 @@
 ; even with arbitrary precision integers.
 ;
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep -v {sub i19 %Cok, %Bok} | grep -v {sub i25 0, %Aok} | not grep sub
 ; END.
 
index 5ddf5cf9c9b6b8e5ed416619976d9eb0efce9ffe..50446950a62793f2b8bbd108ea9c851e5eba56f0 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: llvm-as < %s | opt -instcombine | llvm-dis | not grep {xor }
+; RUN: opt %s -instcombine | llvm-dis | not grep {xor }
 
 
 define i47 @test1(i47 %A, i47 %B) {
index 4d2d415f34677210e68bcfaf0f74785ad53679ba..60e0ac6a7967e7dff85cdaccab4dc6207b015fe0 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: llvm-as < %s | opt -instcombine | llvm-dis | not grep {xor }
+; RUN: opt %s -instcombine | llvm-dis | not grep {xor }
 ; END.
 
 
index 03330c7be966fb87e590a93d1a27a5001886cec6..57500082a3717c87d5bb0bbf163ec434b56d473f 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: llvm-as < %s | opt -instcombine | llvm-dis | notcast {} {%c1.*}
+; RUN: opt %s -instcombine | llvm-dis | notcast {} {%c1.*}
 
 define i47 @test_sext_zext(i11 %A) {
     %c1 = zext i11 %A to i39
index 8350d10282b694efa2a92aa4b906aad45e0c9882..6341deee889e345ca5557edd651fb4bdfac57ceb 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: llvm-as < %s | opt -instcombine | llvm-dis | notcast {} {%c1.*}
+; RUN: opt %s -instcombine | llvm-dis | notcast {} {%c1.*}
 
 define i1024 @test_sext_zext(i77 %A) {
     %c1 = zext i77 %A to i533
index bb0da346b0c1a3e18cb0cd913798bfb25313e1c0..3fa07b043f67d82ca86499d879fd48ac5af24fbd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep ashr
+; RUN: opt %s -instcombine | llvm-dis | not grep ashr
 
 define i32 @foo(i32 %x) {
   %o = and i32 %x, 1
index ea5299ba87612c2a7b1057db96a92666185a6341..eb34a12d2bef8808b5a1137caa3b842732dedcf5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | notcast
 
 define i32 @testAdd(i32 %X, i32 %Y) {
        %tmp = add i32 %X, %Y
index d090c69d7f3c3ad2d677b41ec411cac03d1504a2..7363e38747ee00a56c0b8a4a082bcb5cc97c37c8 100644 (file)
@@ -1,6 +1,6 @@
 ; This file contains various testcases that require tracking whether bits are
 ; set or cleared by various instructions.
-; RUN: llvm-as < %s | opt -instcombine -instcombine | llvm-dis |\
+; RUN: opt %s -instcombine -instcombine | llvm-dis |\
 ; RUN:   not grep %ELIM
 
 ; Reduce down to a single XOR
index 8695d1edbc1398d51170c8711beb254ce2876032..3acee53b336a293f8c58230b65248d90f249f2c8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 0}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 0}
 ; PR4487
 
 ; Bitcasts between vectors and scalars are valid, despite being ill-advised.
index 6bb986a2eb94d2b7f92cca91b479a4f71ec0d61f..0e8575377505466dcbb7d96a7c7b0cff4a32947a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep element | count 4
+; RUN: opt %s -instcombine | llvm-dis | grep element | count 4
 
 define double @a(<1 x i64> %y) {
   %c = bitcast <1 x i64> %y to double
index ded3e2f10abad14030d0c6ffeb7f1cecb5aa2ee4..d24368d831e20a7d723ff7963da7b7252d81e7cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep bitcast
+; RUN: opt %s -instcombine | llvm-dis | not 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 = "i686-apple-darwin8"
 
index 8ebf289eb7d7bea0caa19bdd0277d7e4e79f1d4d..0a616b66e90296edf1eddd6a2a77a62e59ce4d83 100644 (file)
@@ -1,6 +1,6 @@
 ; Tests to make sure bit counts of constants are folded
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 19}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 19}
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep -v declare | not grep llvm.ct
 
 declare i31 @llvm.ctpop.i31(i31 %val) 
index 8d45a48aa91d827b327b42c98051830a3a2a773d..7b73deafabc8983a3779d43367f8bdb19bf15272 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -simplifycfg | llvm-dis |\
+; RUN: opt %s -instcombine -simplifycfg | llvm-dis |\
 ; RUN:    not grep {call void @abort}
 
 @b_rec.0 = external global i32          ; <i32*> [#uses=2]
index 87d8b0496d266f9627d83dcfdb4d9b13984da9c7..6e6006a314bbf564ef2b6abf82399cd831a9954d 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep ret | count 6
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep call.*bswap
+; RUN: opt %s -instcombine | llvm-dis | grep ret | count 6
+; RUN: opt %s -instcombine | llvm-dis | not grep call.*bswap
 
 define i1 @test1(i16 %tmp2) {
         %tmp10 = call i16 @llvm.bswap.i16( i16 %tmp2 )          ; <i16> [#uses=1]
index 2ba718e58478ce38aa4e080d660fdcda79d02aee..896a33271518f26b706a893ac257137517851ba1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {call.*llvm.bswap} | count 6
 
 define i32 @test1(i32 %i) {
index 1a02514d1a7bc9dbdea18592631b1c385e695a21..59794e52de8bb134132d72a51902a0f598e50345 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep call | not grep bitcast
 
 target datalayout = "e-p:32:32"
index e1c60570f14f5a265963d747a6c40ed247356ba6..24d0ad3d52610ad88c640b9840cdc5401bb4f992 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis
+; RUN: opt %s -instcombine | llvm-dis
 
 @X = global i8 0                ; <i8*> [#uses=3]
 @Y = global i8 12               ; <i8*> [#uses=2]
index e1677c8fe2154d49e1c694d0588d21f2eaa4c594..00518fc752f3ebf1b2758def7e8b8fd09bd10b4d 100644 (file)
@@ -1,5 +1,5 @@
 ; Ignore stderr, we expect warnings there
-; RUN: llvm-as < %s | opt -instcombine 2> /dev/null | llvm-dis | \
+; RUN: opt %s -instcombine 2> /dev/null | llvm-dis | \
 ; RUN:    grep call | notcast
 ; END.
 
index 4ba840f7fb963436f681eec7019abb37c99f469f..e2bcbd8a19c645f759936e04c285dd26ddf56efc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 79f02e73209ab213f1567e08bc77c08a91048738..874cd4e417ba3babf83cd4f4f61cf9bb4fe259be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep {icmp ne\|icmp ule\|icmp uge}
 
 define i32 @test1(i32 %X, i32 %Y) {
index f90cb7499aff79b194932fd403c1e53a8fb2363d..04943206ad8b693d18e9cc4dd8934c448dd0b6ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep bitcast
 
 define i1 @test1(i32 %val) {
index bb7c3dd754cc49b80b5325f2db2a7958f04d428d..8f4e5d8bbe1d6650c3b1d15c68d73c8152c18c1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep i8 
 
 define i32 @test1(i32 %X) {
index bc2c7b35163d8cade6501a2698417ccfed0b00ff..722f30a4529a19610ce6b449ffcf23bb5834b3ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -globaldce | llvm-dis | \
+; RUN: opt %s -instcombine -globaldce | llvm-dis | \
 ; RUN:   not grep Array
 
 ; Pulling the cast out of the load allows us to eliminate the load, and then 
index d05f6b04fd0792e9107a7ae90332c578929e01c4..2091d4ffe04a4b160546f83a96d8f49b5d4d23e3 100644 (file)
@@ -1,5 +1,5 @@
 ; test that casted mallocs get converted to malloc of the right type
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep bitcast
 
 ; The target datalayout is important for this test case. We have to tell 
index 76e9b24332f570be9c3f5a854cdb4379a688b85e..937b06b9ac3aae5300903634be10b215f7bb4dfe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | notcast
 
 define i32 @mul(i32 %x, i32 %y) {
   %A = trunc i32 %x to i8
index c00f9537410a2d2c4a5f346d1b0ecbc0a33cab22..178c3405cd3e87eb884578b538c851fdad167645 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | \
+; RUN: opt %s -instcombine -mem2reg | llvm-dis | \
 ; RUN:    not grep load
 
 define i32 @test1(i32* %P) {
index 091f148a248331f56e06aa9ac86fcdaf06c017e9..8db7dc3a39af84af93b8c17694fe4073a4e7e617 100644 (file)
@@ -1,7 +1,7 @@
 ; This tests for various complex cast elimination cases instcombine should
 ; handle.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | notcast
 
 define i1 @test1(i32 %X) {
         %A = bitcast i32 %X to i32              ; <i32> [#uses=1]
index 1acd7582100f8b580251f2b81c2c7e4f3c84c233..fd5e40e539df32cb5dd113a7d137dc4defd9e085 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sext
+; RUN: opt %s -instcombine | llvm-dis | not grep sext
 ; XFAIL: *
 
 define zeroext i16 @t(i8 zeroext %on_off, i16* nocapture %puls) nounwind readonly {
index 7a1e7a802dd36f32b9e6b092100b6ddb6c7a657e..9458b98660f0859fbc5b1afad19486e454589dc8 100644 (file)
@@ -1,5 +1,5 @@
 ; Tests to make sure elimination of casts is working correctly
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep %c | notcast
+; RUN: opt %s -instcombine | llvm-dis | grep %c | notcast
 
 @inbuf = external global [32832 x i8]           ; <[32832 x i8]*> [#uses=1]
 
index 5cc9087198b2730d0f9c0cecd1f73929d9d62043..f0e55390a732aecadb181606fc1483e8953bf939 100644 (file)
@@ -1,5 +1,5 @@
 ; Tests to make sure elimination of casts is working correctly
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt %s -instcombine | llvm-dis | notcast
 
 define i16 @test1(i16 %a) {
         %tmp = zext i16 %a to i32               ; <i32> [#uses=2]
index 7cb8634332fd36d012416efb4bd34ee1e493c59d..7ba7b02c79fff614d8fd06ce86e41afa4489a553 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep getelementptr
+; RUN: opt %s -instcombine | llvm-dis | not grep getelementptr
 ; PR2831
 
 ; Don't raise arbitrary inttoptr+arithmetic+ptrtoint to getelementptr.
index beb20e38545a2ca1a7476972fce69dc53fef6675..7a57bbe084633482ff84f4d3b7eaac55d2a66333 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep bitcast | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep bitcast | count 1
 
 ; InstCombine can not 'load (cast P)' -> cast (load P)' if the cast changes
 ; the address space.
index 9b87ed094ea4fb2e7a9c9d84617b60cc38c13eaf..06ccf7215502d3f627c3a9243df465bd4f620ba7 100644 (file)
@@ -1,5 +1,5 @@
 ; Tests to make sure elimination of casts is working correctly
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 target datalayout = "p:32:32"
 
index 62af849a2c7936b429046d298ea5a584d194741b..449bca0132d0bc098ca94767afec782a348a1db5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 ; Constant folding should fix notionally out-of-bounds indices
 ; and add inbounds keywords.
index 27c46068918492bc2981ce57127d43c187c085aa..906099b547153505e4f193b4765f51ef66caa1a5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 2143034560}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 2143034560}
 
 ; Instcombine should be able to completely fold this code.
 
index faefa8add9ec3e4a4805b5cd5af27a00af656bd5..4713c38a3dae812de031ed6d89010d767fa9aec1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret double .sy}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret double .sy}
 
 define internal double @ScaleObjectAdd(double %sx, double %sy, double %sz) nounwind {
 entry:
index 43c17931554882dfb2ca33002834608e8e2ddf23..af2e9645018bfd1108d0c62023eca210f0546595 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 %A}
-; RUN: llvm-as < %s | opt -die | llvm-dis | not grep call.*llvm.stacksave
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 %A}
+; RUN: opt %s -die | llvm-dis | not grep call.*llvm.stacksave
 
 define i32 @test(i32 %A) {
        %X = or i1 false, false         
index 9276c96479d7e00c449147c8755d3c85b0a34133..006f1d67c230d0cada5ffd803c03b3e21443ca7b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sdiv
+; RUN: opt %s -instcombine | llvm-dis | not grep sdiv
 ; PR2740
 
 define i1 @func_75(i32 %i2) nounwind {
index ea6ea6323c5645768f4612dd0980993c81f2ac44..542fccf3ab2efde9d40c69221e3045429682fad2 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that div instructions are properly eliminated.
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
+; RUN: opt %s -instcombine | llvm-dis | not grep div
 
 define i32 @test1(i32 %A) {
         %B = sdiv i32 %A, 1             ; <i32> [#uses=1]
index 6ac24a85a22e977d242b2d8cb779aa6e00737b33..1b88b2b2e6e33571e595c731762907805f6a4528 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep alloca | grep {align 16}
+; RUN: opt %s -instcombine | llvm-dis | 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 8379825406d80995dcc65aaadc56bc66c8955f60..4b8b1ae26f5fd51e624c3cb5ff4caf1d19ad34f5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 ; CHECK: define i32 @foo
 ; CHECK: sdiv i32 %x, 8
index 59b996e130e1c433799a112db3a6f07e830e2e2e..a64ece4e4cc096b62533ce59dadf1c64b6308c15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep extractvalue
+; RUN: opt %s -instcombine | llvm-dis | not grep extractvalue
 
 ; Instcombine should fold various combinations of insertvalue and extractvalue
 ; together
index e884e1948e720ecb8237e4fa149c30187aab32cf..23af69ead9f38cb9e134819cee21167144982f88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep icmp
+; RUN: opt %s -instcombine | llvm-dis | 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 0b5b30a5c6e7c81607b91418f36780b3d7543dce..2e1b5246a36459fcdd8c4f179f922876e7835fd0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep zeroinitializer
+; RUN: opt %s -instcombine | llvm-dis | not grep zeroinitializer
 
 define void @foo(i64 %A, i64 %B) {
 bb8:
index 00c1ea0b96a632857dfb8f60735fb42d606f37b3..69ff5fa507c7cd94ddf6e3cb7f74cc061fc0845c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {call float bitcast} | count 1
        %struct.NSObject = type { %struct.objc_class* }
        %struct.NSArray = type { %struct.NSObject }
index c212128eb99ad6a9f7aa3b54dfb736ea3fa851b6..19d4f61362e7e58b4c384f480e1df1daa0514c70 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep fpext
+; RUN: opt %s -instcombine | llvm-dis | not grep fpext
 @X = external global float 
 @Y = external global float
 
index ab70479204b179efcc2eb659de5b7a74bceebe88..95d6087aa6c9e18f391af626e18ce78a05b5cd00 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep fsub | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep fsub | count 2
 ; PR4374
 
 define float @func(float %a, float %b) nounwind {
index 7bc08d0466ff8e3f47f22093b6f4c6d40f4c8577..ff4ff741dd52836876fab9bb8aa3ec88570d6ffd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 target datalayout = "e-p:64:64"
 %intstruct = type { i32 }
index b5f3f311675f791a2a0bfa0082420d42607e3758..3217d0549329c6ce3f151e3ec17e6b7eaaf8c528 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 ;; This tests that the div is hoisted into the then block.
 define i32 @foo(i1 %C, i32 %A, i32 %B) {
index 3bf3fcd07beec7dc069363a6555628a195fa2319..02845ccc9fb6469dc357585b43a318ee563a0b92 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep icmp
+; RUN: opt %s -instcombine | llvm-dis | not grep icmp
 
 define i32 @test1(i32 %X) {
 entry:
index a6e340902dfb3a2f7c878d47f5abc790c94afac1..78d1d4e8f1e03b9ba9ee4f77aaac164e748de2df 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {align 1}
+; RUN: opt %s -instcombine | llvm-dis | grep {align 1}
 ; END.
 
        %struct.p = type <{ i8, i32 }>
index 85a749541e822a23f2c3c5d295675de272a5e7b5..59d7bb3bcfbe3241a68172f41e64553af3cf6acf 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep load
+; RUN: opt %s -instcombine | llvm-dis | not grep load
 
 @X = constant i32 42           ; <i32*> [#uses=2]
 @X2 = constant i32 47          ; <i32*> [#uses=1]
index 5c3cf330543b4476921e1374e31c7c6bde31d8a5..1465efd4cd8a00753776f33bb56a4805586e11f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep load
+; RUN: opt %s -instcombine | llvm-dis | not grep load
 
 @GLOBAL = internal constant [4 x i32] zeroinitializer
 
index e102d39e015d3a3742642f23baf9211b65e2dac4..77fdd04be167b57cdb520587c27745334941a378 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep load | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep load | count 1
 
 ; Instcombine should be able to do trivial CSE of loads.
 
index ebea3e4fe83102855596c47d7b9df1f150dc9387..a2fcbb0419c08986042c0884d908c5867e71bf0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {, align 16} | count 14
+; RUN: opt %s -instcombine | llvm-dis | grep {, align 16} | count 14
 
 @x = external global <2 x i64>, align 16
 @xx = external global [13 x <2 x i64>], align 16
index 3bb2d348b383737333321e4ac0d61a8b225fa1bb..93e48663fb650f50709c0e966426f1acc8d85ebc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 ; RUN: grep select %t | count 5
 ; RUN: not grep and %t
 ; RUN: not grep or %t
index 683eb87931efbf19da55210745fd0a1243a85529..3a5ccc3b485ec5f2737a76fc0b3b6a7609e1b918 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 ; RUN: not grep lshr %t
 ; RUN: grep add %t | count 1
 
index 24f793f7ca8f6881848f19f45d995415c83687be..482084bb182b29693fbc7e46ef6db8f64992c6fc 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 0}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep malloc
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 0}
+; RUN: opt %s -instcombine | llvm-dis | not grep malloc
 ; PR1201
 define i32 @main(i32 %argc, i8** %argv) {
         %c_19 = alloca i8*              ; <i8**> [#uses=2]
index 6a4601a2ebeeef720eef3cae6209fa1839321e4d..d844ce57753d8de49260865bea983863a7d58c2f 100644 (file)
@@ -1,5 +1,5 @@
 ; test that malloc's with a constant argument are promoted to array allocations
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep getelementptr
+; RUN: opt %s -instcombine | llvm-dis | grep getelementptr
 
 define i32* @test() {
        %X = malloc i32, i32 4
index eb7c9abfcef506613fc50c5902848fa222303fd4..32753113d3ae85092c4c718125e711e9bc9f86e7 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 0}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep malloc
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 0}
+; RUN: opt %s -instcombine | llvm-dis | not grep malloc
 ; PR1313
 
 define i32 @test1(i32 %argc, i8* %argv, i8* %envp) {
index f6f412dfe062c26578cc88370c3a4cf0052cc254..c09b4927d5ec367959850066f4ece59019df13ab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {malloc.*struct.foo} | count 2
+; RUN: opt %s -instcombine | llvm-dis | 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 7a0027d7789fb8c9766dcce7fdafff52512643f4..aeaf05839ed88b9e1735fa01cd67f53a9f2276b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {load double}
+; RUN: opt %s -instcombine | llvm-dis | 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 09ec67d2654eadb947b6ee6739f47aa6443dab34..6c3c6874df557df0999985767a74bb9011dfe72e 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that memmove instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep {call void @llvm.memmove}
 
 @S = internal constant [33 x i8] c"panic: restorelist inconsistency\00"                ; <[33 x i8]*> [#uses=1]
index 27a5b60cade6efcea9d0703f91b99668c35c6afc..57d0825d399ddc6327ac8b1a72a4312f811bd4ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {call.*llvm.memset}
+; RUN: opt %s -instcombine | llvm-dis | not grep {call.*llvm.memset}
 
 declare void @llvm.memset.i32(i8*, i8, i32, i32)
 
index 9b0a5bfe20de9e92cb6d516a18fc649ee97d3af4..88c4065ae2bc827976b46d2ce115e5614ab1b45b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep ashr
+; RUN: opt %s -instcombine | llvm-dis | grep ashr
 
 define i32 @foo(i32 %x, i32 %y) {
   %a = and i32 %x, 7
index cd13803d3103577fb765650a1f6344dd5f0900f4..f3347801b22b989f08ea61b8ec75965b7631bcb2 100644 (file)
@@ -1,5 +1,5 @@
 ; This test makes sure that mul instructions are properly eliminated.
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
+; RUN: opt %s -instcombine | llvm-dis | not grep mul
 
 define i32 @test1(i32 %A) {
         %B = mul i32 %A, 1              ; <i32> [#uses=1]
index 48049677acd852e24a9ee12098d14971856c139d..4d84a853bea43bd8f57cd6e72bc2cb00b64007da 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {add double .sx, .sy}
+; RUN: opt %s -instcombine | llvm-dis | 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 41106e759ce0e3bec0762c4a5a9f06d4e2c83ba3..420a5cadb7f42bbbc7f1997c741efbdbce73f067 100644 (file)
@@ -1,6 +1,6 @@
 ; This file contains various testcases that check to see that instcombine
 ; is narrowing computations when possible.
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {ret i1 false}
 
 ; test1 - Eliminating the casts in this testcase (by narrowing the AND
index 4560419a35fc7f77a663758f61ff776b2b863f8f..5c9837a8a3341b6fd8a1eeb9a8d419c6f01f7e5d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep "fcmp uge"
+; RUN: opt %s -instcombine | llvm-dis | grep "fcmp uge"
 ; PR1570
 
 define i1 @f(float %X, float %Y) {
index a79e51871818f99e7466060d14bb9bf2def4eb51..ee3d7253047edd51637c8cbab411f41f89339db4 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep xor
+; RUN: opt %s -instcombine | llvm-dis | not grep xor
 
 define i32 @test1(i32 %A) {
         %B = xor i32 %A, -1             ; <i32> [#uses=1]
index fbf162a1db84d56af20eec555f69830428c56c3b..ab385baa5cddcbdebe95220d5ec6c60c64211c1c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep call
+; RUN: opt %s -instcombine | llvm-dis | not grep call
 ; rdar://6880732
 declare double @t1(i32) readonly
 
index 3218371336ca114072119435a2ca60aa6f8ae930..afe6e35d96020baa5dca1fb9435dc81cc8f4831c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 ; CHECK: define i32 @foo
 ; %y = sub i32 0, %x
index 96f883335bcc3300cc27f72221e4bf4ee1dee65e..72cf701f50e8964166939f52e9e02dc13f56615a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 10}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 10}
 
 @g1 = available_externally constant i32 1
 @g2 = linkonce_odr constant i32 2
index 3833c6f706fbe94606f0e0f812d7bb97c7288605..2672f38d1e9dd2b00c0adbd1fdc96e0414bedca9 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep fcmp | count 3
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep ret | grep 1
+; RUN: opt %s -instcombine | llvm-dis | grep fcmp | count 3
+; RUN: opt %s -instcombine | llvm-dis | grep ret | grep 1
 
 define zeroext i8 @t1(float %x, float %y) nounwind {
        %a = fcmp ueq float %x, %y             ; <i1> [#uses=1]
index e40417b17d355144b8f48b582f7181f9670602c5..a7588d1911175eefa74a579f0a993d8673a5ca6c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {xor i32 %a, %b} | count 4
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {and}
+; RUN: opt %s -instcombine | llvm-dis | grep {xor i32 %a, %b} | count 4
+; RUN: opt %s -instcombine | llvm-dis | not grep {and}
 
 define i32 @func1(i32 %a, i32 %b) nounwind readnone {
 entry:
index e70fb1c4e0c0f24d43e245a6d54971cd706b673f..9bfc38f5c04eb59f66b783d08e4d085ce9f6f923 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep -v xor | not grep {or }
 ; END.
 
index f14a2743916330fcb0806bf032a0a6ec77023f43..64fa8343a0d0ee5fda279d5d6550aa4eb27074db 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v xor | not grep {or }
+; RUN: opt %s -instcombine | llvm-dis | grep -v xor | not grep {or }
 
 ; PR1738
 define i1 @test1(double %X, double %Y) {
index daac41274cdeb23ad3801408e96ecb7a4510af99..6deaa792e9b08f7cdea43aae79db7ef24a2a5af0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {phi i32}
+; RUN: opt %s -instcombine | llvm-dis | not grep {phi i32}
 ; PR1777
 
 declare i1 @rrr()
index 4efbb79d9d4ee1e3bb8641f997fde1a9a9e132ad..ec34cec14449d5655a0b08cd1a2ee6f2b73bbbbf 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep phi
+; RUN: opt %s -instcombine | llvm-dis | not grep phi
 
 define i32 @test1(i32 %A, i1 %b) {
 BB0:
index 04cc1852cb2a8bed862746eb3175393f65ab1ef4..d158a1786333e0d18ecf140ea7dc318bb7ad0292 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {insertelement <4 x float> undef}
+; RUN: opt %s -instcombine | llvm-dis | 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 194d2cd18f700dbe1c92cb43b27f176bdf7492e3..5783ad703d8290b6791b78c00c4a2f480e9fdf5c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shufflevector
+; RUN: opt %s -instcombine | llvm-dis | grep shufflevector
 ; PR2645
 
 ; instcombine shouldn't delete the shufflevector.
index 3e7dfa2ba6dfb03dea9a8efde2f83fceacfbea6a..f49835c4f593badd8e5e02da5bfe6ca352c034a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 ; PR2996
 
 define void @func_53(i16 signext %p_56) nounwind {
index 24fb7dabe3d5cdacb0accca2c3f10169e7ac4ed2..d8e9e4c8421d92da9b5b9c6c4475e93d912f5e4c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep { i32 \[%\]sd, \[\[:alnum:\]\]* \\?1\\>} | count 4
+; RUN: opt %s -instcombine | llvm-dis | 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 5c154397775e3c1d62d64efa991d171317ebfc77..78b813ffa85c095e8af65c4fd8856d1593d5d748 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 
 define i1 @test1(i32 *%x) nounwind {
 entry:
index 8b2263d9b23f882fa45e579736862a99effe6233..39a68e21139bde4deb5e043c4c783ea87e0e9f34 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep rem
+; RUN: opt %s -instcombine | llvm-dis | not grep rem
 ; END.
 
 define i32 @test1(i32 %A) {
index 305b6d7df927f020f542c6ecc98c4d426779d797..26aa24c874298a14423072121005ec342b600add 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -inline | llvm-dis | not grep '-715827882'
+; RUN: opt %s -instcombine -inline | llvm-dis | not grep '-715827882'
 ; PR3142
 
 define i32 @a(i32 %X) nounwind readnone {
index db0c7fbccf8e8737a9e1e4a55e63f20505970547..40c5350dbe977d4c23179cd43dc96faee375fe17 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 ; PR3144
 
 define fastcc i32 @func(i32 %length) nounwind {
index 3fba05dd75b84b5c6862d64933ce85349f87d774..1aa628b5bd706d61c3db90206fa96eee36e01fc5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
+; RUN: opt %s -instcombine | llvm-dis | not grep div
 
 define i32 @a(i16 zeroext %x, i32 %y) nounwind {
 entry:
index 4621f6e152ad3ad7b8c41b77abc7e43b34b498e6..1a4e0b24f46adc2852bf1c596c0abfb2f1b8c410 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep select | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep select | count 2
 
 ; Make sure instcombine don't fold select into operands. We don't want to emit
 ; select of two integers unless it's selecting 0 / 1.
index 367356e6311a264fd7a058277011253690b71877..c3d1b93340ed3a1ed97539c8718c8e99fcc8a27d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i32 1}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i32 1}
 
 declare void @test2()
 
index 15083f2facd2bc2f85da35356bf888aadff193dc..e3d071290d4e90d1c3c194ed0c65c402b3dda2e0 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ; PR1822
 
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep select
+; RUN: opt %s -instcombine | llvm-dis | not grep select
 
 define i32 @test1(i32 %A, i32 %B) {
         %C = select i1 false, i32 %A, i32 %B            ; <i32> [#uses=1]
index 5e3ca0b51b89852c124121996ffbd176109b7ba4..7c7b13ef860a5f45bd516f45b9ed65e33e504802 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep icmp
+; RUN: opt %s -instcombine | llvm-dis | not grep icmp
 ; END.
        
 @X = external global i32                ; <i32*> [#uses=2]
index ed2e2bee551e5ffa8ada604425065bfd2fa84f6e..00a95360a400a8bd9ce01f7ce633dfef0b7a2296 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: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep {br i1 false}
 ; END.
 
index 9931ccb2fd2599c375b6743dff8b43c83858ac7c..ce55827afc91529e17d61562e5779e270dab1816 100644 (file)
@@ -2,7 +2,7 @@
 ; working.  Basically this boils down to converting setlt,gt,le,ge instructions
 ; into equivalent setne,eq instructions.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep -v {icmp eq} | grep -v {icmp ne} | not grep icmp
 ; END.
 
index 58749666ea1b50b435432f344814b40ef366f943..49a0f0d7fb945a025a517e9bae4d539423fc84bc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sext
+; RUN: opt %s -instcombine | llvm-dis | not grep sext
 
 declare i32 @llvm.ctpop.i32(i32)
 declare i32 @llvm.ctlz.i32(i32)
index ecf3f5f92fef55cbf659739f713203d426d6b84d..76911ec7d6bfe9e83d9336dd49b687bffa28173b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    egrep {shl|lshr|ashr} | count 3
 
 define i32 @test0(i32 %A, i32 %B, i32 %C) {
index 6058bd6dc7241fc082bfb68fec534eb4839af800..4ac925338b7969505db48d54492f5e6f6c87339a 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {lshr i32} | count 2
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep ashr
+; RUN: opt %s -instcombine | llvm-dis | not grep ashr
 
 
 define i32 @test1(i32 %X, i8 %A) {
index bf9f4070fb9845c12ad3333a1af0859d6aa80d20..12f73e59e5284167d27671af1a157fb34b94aa5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep lshr.*63
+; RUN: opt %s -instcombine | llvm-dis | grep lshr.*63
 
 define i32 @t1(i64 %d18) {
 entry:
index 9dc7755c1b8bc4d4b4f92f351e1816ad5b93c796..358765c4c5ae297b7d8e52d894a6ab41985148d5 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sh
+; RUN: opt %s -instcombine | llvm-dis | not grep sh
 ; END.
 
 define i32 @test1(i32 %A) {
index 234c40bf6881596138fd8acf01c4ac5e536e783c..a517e655cd9e507383abd9789919d842a78442e2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ffef2984f5c97ede97639ba1ffb330e1052d3e50..6d2e6b5a948e089ba2d6b907b33609956cc73dd8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl
+; RUN: opt %s -instcombine | llvm-dis | grep shl
 
 define i1 @test(i32 %X, i8 %A) {
         %shift.upgrd.1 = zext i8 %A to i32              ; <i32> [#uses=1]
index a9e8d34958871f944c5b625a8bbcda42303a0fb0..9ee1aa854e88a7cfbbb701d05bbd7b4c6368918c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {shufflevector.\*i32 8}
+; RUN: opt %s -instcombine | llvm-dis | 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 f153a484fa01bf20fb6c8198454f2c01c397d459..2100e5d80eb3b24480877b99e739f4c1263bfb24 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep "2 x float"
+; RUN: opt %s -instcombine | llvm-dis | 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 86e07ec7ce15b964a1d5b0de5bb32112d5063563..2a2739b1bfe084563d55e0a20c07b15116bf4dc2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 ; RUN: not grep zext %t
 ; RUN: not grep slt %t
 ; RUN: grep {icmp ult} %t
index 716662682da32fc68ad8fa69bd7d6d17ce472f8d..17a45b67043063440bb9dd5a1230cbadea1e0362 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep {(and\|xor\|add\|shl\|shr)}
 ; END.
 
index ac63534514f49cdd5a02edd2755ac45e177e74d9..fdd8dc391bc7aa959aa91a1a9090725e33736c64 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -disable-output
+; RUN: opt %s -instcombine -disable-output
 
 ; SimplifyDemandedBits should cope with pointer types.
 
index 2bf7385cddff73029a141a040e133aa7923d4e1d..799666fe29c808aed8c630f8462c3fcaffb37ef5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep itofp
+; RUN: opt %s -instcombine | llvm-dis | not grep itofp
 
 define i1 @test1(i8 %A) {
   %B = sitofp i8 %A to double
index cdf520256837dd71678c6a8d4c4e126662e70b0b..bd6428b1e87d58678fe68f5f525afe9b854fb3b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 false}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i1 false}
 ; PR2276
 
 define i1 @f(i32 %x) {
index 864775ae08a1084d0072d018f080daf03013a3a9..49fdbf3a2820b94bd4abd38d12845d00d0d16175 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep srem
+; RUN: opt %s -instcombine | llvm-dis | grep srem
 
 define i64 @foo(i64 %x1, i64 %y2) {
        %r = sdiv i64 %x1, %y2
index ee59d3ed99f81b0087d1991fb24c33a0cf2c3041..2f74cf504cf56ad6bc2a9bd4fa0279b4c64e7a21 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine
+; RUN: opt %s -instcombine
 ; PR2670
 
 @g_127 = external global i32           ; <i32*> [#uses=1]
index 45bdc2e0cbe89672cfc0a25299da5eeeecd9a0d5..54a9c2c0f6daaf877fcc253317ec82c6612ba0e4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {align 32} | count 1
+; RUN: opt %s -instcombine | llvm-dis | 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 c82a425b2fd0402880d18a872217476fd994d41f..348ec3fb4761dd9e485489667f9e77ce1715726c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {call.*stackrestore} | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep {call.*stackrestore} | count 1
 
 declare i8* @llvm.stacksave()
 declare void @llvm.stackrestore(i8*)
index 7b117ca7f5f951ef2c4afac118531c50b881de21..db45541878e9ea8be84e40c87be9d818a5c18bc1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    grep {ret i32 %.toremerge} | count 2
 ;; Simple sinking tests
 
index 337b2cce08aa3517e239ea306710fe87f951a0a2..e31aa6dd97ef8d9013eac8bbcca3c4ee7a35ec99 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep -v {store.*,.*null} | not grep store
 
 define void @test1(i32* %P) {
index 1ab4eaf1b49d167d952f8f4b3e0c6e442b6746da..e3cb2bccbd6125470450e8534c26834befe39bc8 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep -v {sub i32 %Cok, %Bok} | grep -v {sub i32 0, %Aok} | not grep sub
 
 define i32 @test1(i32 %A) {
index 7e3d8446acffcf2e7b23e5bb7a0ba35b21d3a157..37146ed30c0a61d075fcee073a6751680c070215 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
+; RUN: opt %s -instcombine | llvm-dis > %t
 ; RUN: not grep zext %t
 ; RUN: not grep sext %t
 
index 5bcaa66366c7b1bfb4d52c115dde0449a8b7d8b8..a65ee90782b5808f082ab53e710ba60b894ba386 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i64 0} | count 2
+; RUN: opt %s -instcombine | llvm-dis | grep {ret i64 0} | count 2
 
 define i64 @foo(i32 %x) nounwind {
   %y = lshr i32 %x, 1
index 0036760ba50ee5abbbd43c274d7e36ae2f1ce903..b7c48f4a18f7e880a10feef3fb9a0c497d93bd2f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t1.ll
+; RUN: opt %s -instcombine | llvm-dis > %t1.ll
 ; RUN: grep udiv %t1.ll | count 2
 ; RUN: grep zext %t1.ll | count 2
 ; PR2274
index 5594e277eeafe45df0c6f962a355dadae2824a73..d73271eeab859ed7786003431ba236ffb0a97660 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that this transform works:
 ; udiv X, (Select Cond, C1, C2) --> Select Cond, (shr X, C1), (shr X, C2)
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis -o %t
+; RUN: opt %s -instcombine | llvm-dis -o %t
 ; RUN:   not grep select %t
 ; RUN:   grep lshr %t | count 2
 ; RUN:   not grep udiv %t
index eb4ba662375cbaab0f547c056c9998a5dd860c67..eb7a69a91695b4d791b5f34fc651e9c70a3ce572 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep zext
+; RUN: opt %s -instcombine | llvm-dis | not grep zext
 ; PR4548
 
 define i8 @udiv_i8(i8 %a, i8 %b) nounwind {
index 8980e732c6c9b87016ef3a4be3482fec0757db10..f41dfa9fa6c283877de52cf862090f33a0e4f8c3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {= or i32 %x, -5 }
+; RUN: opt %s -instcombine | llvm-dis | 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 24e7463cbaf845cbff11378c2f8a2100eefaf9dc..c1993deb679057794a6b6d04f0d36086c0bec2b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep urem
+; RUN: opt %s -instcombine | llvm-dis | grep urem
 
 define i64 @rem_unsigned(i64 %x1, i64 %y2) {
        %r = udiv i64 %x1, %y2
index dac03152fea131f310160b8800b225cdec94d7de..d2a3fd794af56d2f8937c98d26814e91a0050bb3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep extractelement
+; RUN: opt %s -instcombine | llvm-dis | not grep extractelement
 
 define void @get_image() nounwind {
 entry:
index eba3629eb9e70a9e5b4d33d7bfc7267fa7a086ba..baa5ce2a56205f5e7b3992b722a7bdc9334f458b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep load
+; RUN: opt %s -instcombine | llvm-dis | not grep load
 ; PR4340
 
 define void @vac(<4 x float>* nocapture %a) nounwind {
index 95df8c63f6d48a21edd600b3a1417f94557b39c9..7ea46a56fbb72d6775b42c6ebbe485197f8979ab 100644 (file)
@@ -1,12 +1,12 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep {fadd float}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep {fmul float}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep {insertelement.*0.00}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep {call.*llvm.x86.sse.mul}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep {call.*llvm.x86.sse.sub}
 ; END.
 
index 30b2f1d042b4cc6b658de15b70aa7d54da23c69f..1f2335bb47ce2b971cb6806f91d7a29d81069593 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep extractelement
+; RUN: opt %s -instcombine | llvm-dis | not grep extractelement
 
 define i32 @test(float %f) {
         %tmp7 = insertelement <4 x float> undef, float %f, i32 0                ; <<4 x float>> [#uses=1]
index 37463d23f17c5d67f9637adbfb3e734bdce5402d..216d7ef05baeb719c54b18c589b250b8b31df924 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 ; The load replacing the extract element must occur before the call
 ; that may modify local array a.
index df9cecd09c66f3cc88f7893a44a6a3130ada3d30..fc4642872177037001f665adefe6dbadeb36865d 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep shufflevec | count 1
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep insertelement
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   not grep extractelement
 ; END.
 
index 9be154b987158877b877fe045178ff64580bde4c..79fce2f2f65b3e3f73d1c104b06a507a69d075b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret <4 x i32> %A}
+; RUN: opt %s -instcombine | llvm-dis | grep {ret <4 x i32> %A}
 
 ; PR1286
 define <4 x i32> @test1(<4 x i32> %A) {
index e444c2a65103ccba5cf5ff28d4e5b634e654b251..f54c6e4dd5477cedcd6d786dc983266fafdf898f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep {add float}
 
         %V = type <4 x float>
index aaaee3f84315eacb14787484ed393f3b7dda00f2..510a6c5108d515b2d48c4951dea51d465b323e31 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep vector_shuffle
+; RUN: opt %s -instcombine | llvm-dis | not grep vector_shuffle
 ; END.
 
 %T = type <4 x float>
index 3bd8924903f8baf2f1340b21ce48865118a7b6ef..6da526cf785f3caddc8416e9bfc9fc5c7d451527 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep undef | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep undef | count 1
 ; END.
 
 ; Test fold of two shuffles where the first shuffle vectors inputs are a
index 36f7d7042452ad8d4bb508c90edb4ec6ee5f3344..00448374ac059965a3327db10d3d29ca5e1b78dd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
+; RUN: opt %s -instcombine | llvm-dis | FileCheck %s
 
 ; This turns into a&1 != 0
 define <2 x i1> @test1(<2 x i64> %a) {
index e8766ebc1e077dd48c4c47d8fe87598d4ffd7bc6..6d317ac69d2cde65aa7d69a395ef1d60d6201ba7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {srem <4 x i32>}
+; RUN: opt %s -instcombine | llvm-dis | grep {srem <4 x i32>}
 
 define <4 x i32> @foo(<4 x i32> %t, <4 x i32> %u)
 {
index 09651ba302d54bd81e71d058c9da077028b7e917..30ef8cbcd964fe21ff677b63b3c371588b4c364c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {volatile store}
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {volatile load}
+; RUN: opt %s -instcombine | llvm-dis | grep {volatile store}
+; RUN: opt %s -instcombine | llvm-dis | grep {volatile load}
 
 @x = weak global i32 0         ; <i32*> [#uses=2]
 
index c8de6dbdf21bd143ac206768ace4972a7c8f61a2..34b60bf9e20948496b1eef7463714c822608d520 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {= or}
+; RUN: opt %s -instcombine | llvm-dis | not grep {= or}
 ; PR3266
 ; XFAIL: *
 
index c090223b53714b86db25f1aae4b55444d89488bd..de341686782dcb8a388fa3a1994c02ad1075bdec 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep zeroinitializer
+; RUN: opt %s -instcombine | llvm-dis | grep zeroinitializer
 
 define <2 x i64> @f() {
        %tmp = xor <2 x i64> undef, undef
index d8b84a6122ddbecc0058e8b0c82cd28a96fa8109..2456f03e532b9fa4e377cf5540a735b60c622ed2 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:    not grep {xor }
 ; END.
 @G1 = global i32 0             ; <i32*> [#uses=1]
index efb3146c68bfc58a967ab143cf9eb765d8cad0b4..821a562f3eec64e3161946c26280e09ef7ba3854 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {xor }
+; RUN: opt %s -instcombine | llvm-dis | not grep {xor }
 
 ; PR1253
 define i1 @test0(i32 %A) {
index adb28e4d5c7fc8ed06b02c7d8db5c2f5908ead01..9f38cadf054fc0c284b8bfcdcc6cf8210b389c87 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 0.0 | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep 0.0 | count 1
 
 declare double @abs(double)
 
index 2b4950aec97818a7be6638ef811f05da8c9d4c83..715edec3ec938906faf5a2fbf95b35c08219ec56 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   grep {and i32 %Y, 8}
 
 define i32 @test1(i8 %X) {
index f1a3080349835158c2f2633e82ef876bf4f83907..c1b9d1437434dbfdb40b57907e8709ecad4451ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep zext
+; RUN: opt %s -instcombine | llvm-dis | not grep zext
 
 define i32 @a(i1 %x) {
 entry:
index 27ea46061b073dc433075a84b0c625fd48482c0b..9597ad3d6fb40e9aa568ee0ea2ae7d88a445f4e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {zext } | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep {zext } | count 1
 ; PR1570
 
 define i32 @test2(float %X, float %Y) {
index 35c7c0a6be6eddc6cbe884b07753d306083149ff..dfd10997092974234ad323235490d151ea9886c2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep icmp | count 1
+; RUN: opt %s -instcombine | llvm-dis | grep icmp | count 1
 
        %struct.FooBar = type <{ i8, i8, [2 x i8], i8, i8, i8, i8, i16, i16, [4 x i8], [8 x %struct.Rock] }>
        %struct.Rock = type { i16, i16 }
index c0fa3771cc15ddcc5ec69131fb3c0be0366b1846..e005a86f58c0e211d47a1a4a42fa3950f6cd6524 100644 (file)
@@ -1,5 +1,5 @@
 ; Tests to make sure elimination of casts is working correctly
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; RUN: opt %s -instcombine | llvm-dis | \
 ; RUN:   notcast {} {%c1.*}
 
 define i64 @test_sext_zext(i16 %A) {
index 6ba5cb985ab94cdd820f4d8202f96ba649d8d59e..770b0eb4156c6690704b7a8fafee21fe4839c361 100644 (file)
@@ -1,12 +1,12 @@
 ; No arguments means internalize all but main
-; RUN: llvm-as < %s | opt -internalize | llvm-dis | grep internal | count 4
+; RUN: opt %s -internalize | llvm-dis | grep internal | count 4
 ; Internalize all but foo and j
-; RUN: llvm-as < %s | opt -internalize -internalize-public-api-list foo -internalize-public-api-list j | llvm-dis | grep internal | count 3
+; RUN: opt %s -internalize -internalize-public-api-list foo -internalize-public-api-list j | llvm-dis | grep internal | count 3
 ; Non existent files should be treated as if they were empty (so internalize all but main)
-; RUN: llvm-as < %s | opt -internalize -internalize-public-api-file /nonexistent/file 2> /dev/null | llvm-dis | grep internal | count 4
-; RUN: llvm-as < %s | opt -internalize -internalize-public-api-list bar -internalize-public-api-list foo -internalize-public-api-file /nonexistent/file 2> /dev/null | llvm-dis | grep internal | count 3
+; RUN: opt %s -internalize -internalize-public-api-file /nonexistent/file 2> /dev/null | llvm-dis | 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 | llvm-dis | grep internal | count 3
 ; -file and -list options should be merged, the .apifile contains foo and j
-; RUN: llvm-as < %s | opt -internalize -internalize-public-api-list bar -internalize-public-api-file %s.apifile | llvm-dis | grep internal | count 2
+; RUN: opt %s -internalize -internalize-public-api-list bar -internalize-public-api-file %s.apifile | llvm-dis | grep internal | count 2
 
 @i = weak global i32 0          ; <i32*> [#uses=0]
 @j = weak global i32 0          ; <i32*> [#uses=0]
index c0041ac2d7dfabaabe9db3a7dcbb0e23ccbe1d46..023801effbb28013c3ecd8b3e00cb5188e287f0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -internalize | llvm-dis | grep internal | count 3
+; RUN: opt %s -internalize | llvm-dis | grep internal | count 3
 
 @A = global i32 0
 @B = alias i32* @A
index 3eb2aa1be5b06c2fd37b8f5c00cddd6e26acbbf1..6bae0ec52eec94c4e7e6c02bacdeea3adbbb2698 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 f109109fc3f522cdc93e86eecf4c3ca0c9140bee..0f6431dba74099c5949f86cebef0bbe750bb2aa2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 974b9ef77478e5835dd40dd74c1fcc184267e624..08bf190d8b304d02a1536490cdf2fa7e41ac7452 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6de67ebbcecca891437e00eaab9207aaa053e734..03983348cb0d2ed52244003ec2274d38684abb54 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 ab8b087f8a4afcd7b2cd936ecd353f78c41127ba..b02ff548c54ff527d652ead97432a421e1e5159c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -jump-threading | llvm-dis
+; RUN: opt %s -jump-threading | llvm-dis
 ; PR3353
 
 define i32 @test(i8 %X) {
index de4435c50794177d1ce50ad673aeb3da78ceb801..1135ac60a233c1cbc03349769056c923f5a22bde 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -jump-threading -mem2reg -instcombine -simplifycfg  | llvm-dis | grep {ret i32 %v1}
+; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  | llvm-dis | grep {ret i32 %v1}
 ; There should be no uncond branches left.
-; RUN: llvm-as < %s | opt -jump-threading -mem2reg -instcombine -simplifycfg  | llvm-dis | not grep {br label}
+; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  | llvm-dis | not grep {br label}
 
 declare i32 @f1()
 declare i32 @f2()
index b01c4baffc0ed8e3ab9f02a7e4119b6c61032041..38d3c5358aeb691a7fbd792196e97feb7d59243f 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -jump-threading -mem2reg -instcombine -simplifycfg  | llvm-dis | grep {ret i32 %v1}
+; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  | llvm-dis | grep {ret i32 %v1}
 ; There should be no uncond branches left.
-; RUN: llvm-as < %s | opt -jump-threading -mem2reg -instcombine -simplifycfg  | llvm-dis | not grep {br label}
+; RUN: opt %s -jump-threading -mem2reg -instcombine -simplifycfg  | llvm-dis | not grep {br label}
 
 declare i32 @f1()
 declare i32 @f2()
index bf746e7f139c8f7a86f9d55361f4013e0dd703cb..7f851bd036ffc0c1f8460d5ceeec77d60f1ea866 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -jump-threading -simplifycfg -mem2reg | llvm-dis | grep {ret i32 %v1}
+; RUN: opt %s -jump-threading -simplifycfg -mem2reg | llvm-dis | grep {ret i32 %v1}
 ; There should be no uncond branches left.
-; RUN: llvm-as < %s | opt -jump-threading -simplifycfg -mem2reg | llvm-dis | not grep {br label}
+; RUN: opt %s -jump-threading -simplifycfg -mem2reg | llvm-dis | not grep {br label}
 
 declare i32 @f1()
 declare i32 @f2()
index 0ea2431ca0999332028fede035ba47abe1e7e4f4..4ee3e58f519b8826b5cf6ed8040466e448528178 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -jump-threading | llvm-dis | not grep phi
+; RUN: opt %s -jump-threading | llvm-dis | not grep phi
 
 declare i8 @mcguffin()
 
index cbada569aac99093d915dbeed467eff31452c56e..4edd4a931072a04fcdfbcfecc91a164789324f5b 100644 (file)
@@ -1,5 +1,5 @@
 ; There should be no phi nodes left.
-; RUN: llvm-as < %s | opt -jump-threading -simplifycfg -mem2reg | llvm-dis | not grep {phi i32}
+; RUN: opt %s -jump-threading -simplifycfg -mem2reg | llvm-dis | not grep {phi i32}
 
 declare i32 @f1()
 declare i32 @f2()
index e20d939316a6a713378dda317557b87662de09a1..00e17cbadb8702cb194977475e01398b8d24299e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -jump-threading -die | llvm-dis | grep icmp | count 1
+; RUN: opt %s -jump-threading -die | llvm-dis | grep icmp | count 1
 
 declare void @f1()
 declare void @f2()
index 0c729d1a9b4d7980a3a77fea51d18ca05e7cecf5..4278c3badb9a231a45f06cafcad894e5cf8caa61 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -jump-threading -loop-rotate -instcombine -indvars -loop-unroll -simplifycfg | llvm-dis > %t
+; RUN: opt %s -jump-threading -loop-rotate -instcombine -indvars -loop-unroll -simplifycfg | llvm-dis > %t
 ; RUN: grep {volatile store} %t | count 3
 ; RUN: not grep {br label} %t
 
index 5c0b256224a910743caca733116502aac6c6638e..149acf0731cdb828f795d3e4bfcc5e56f45535b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -jump-threading -mem2reg -simplifycfg | llvm-dis | grep {ret i32 1}
+; RUN: opt %s -jump-threading -mem2reg -simplifycfg | llvm-dis | grep {ret i32 1}
 ; rdar://6402033
 
 ; Test that we can thread through the block with the partially redundant load (%2).
index 497a87a6564193477be252e82a9f21b245b1a865..8c285a3465190c8a8993a1a1243ff16f6847deae 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -jump-threading | llvm-dis | not grep {br }
-; RUN: llvm-as < %s | opt -jump-threading | llvm-dis | grep {ret i32} | count 1
+; RUN: opt %s -jump-threading | llvm-dis | not grep {br }
+; RUN: opt %s -jump-threading | llvm-dis | grep {ret i32} | count 1
 
 define i32 @test(i1 %cond) {
        br i1 undef, label %T1, label %F1
index b20cf3d0b0b1ea702316c7eb31dcb343bf40f176..f9a3aa2ddde078e7ca52e98f5bbba18bed8c91f4 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -lcssa | llvm-dis | \
+; RUN: opt %s -lcssa | llvm-dis | \
 ; RUN:   grep {%%SJE.0.0.lcssa = phi .struct.SetJmpMapEntry}
-; RUN: llvm-as < %s | opt -lcssa | llvm-dis | \
+; RUN: opt %s -lcssa | llvm-dis | \
 ; RUN:   grep {%%SJE.0.0.lcssa1 = phi .struct.SetJmpMapEntry}
 
         %struct.SetJmpMapEntry = type { i8*, i32, %struct.SetJmpMapEntry* }
index eaccbadbf1d74ea2dc5c54e9bcd8dda8fd89feb7..a7bdaecf017c3d7056af99b66c78f1444f94c2be 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -lcssa | llvm-dis | \
+; RUN: opt %s -lcssa | llvm-dis | \
 ; RUN:    grep {%X.1.lcssa}
-; RUN: llvm-as < %s | opt -lcssa | llvm-dis | \
+; RUN: opt %s -lcssa | llvm-dis | \
 ; RUN:    not grep {%X.1.lcssa1}
 
 declare i1 @c1()
index c8af10058c08a149a308ba719b580e85fc5ea044..4a94f49904ce34e8b34585be90270858a3442372 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lcssa
+; RUN: opt %s -lcssa
 
        %struct.SetJmpMapEntry = type { i8*, i32, %struct.SetJmpMapEntry* }
 
index bececb1876417f8455368dd2da99edb4d21f0a74..8629b7a3939d179589d4878fc559ab3197dfef4c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lcssa -disable-output -verify-dom-info
+; RUN: opt %s -lcssa -disable-output -verify-dom-info
 ; PR977
 ; END.
 declare i32 @opost_block()
index b02feb4103d240403fdbef9f65db93b66d7a398f..280409c6481febc347991dce76d4825e18408e22 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lcssa -disable-output
+; RUN: opt %s -lcssa -disable-output
 ; PR977
 ; END.
 
index e8dc391352953271ad9abf2b3d30fb957419b432..c6c3e34fad8a2b5c29f11210aad19e12ad0025d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 72cebed5d9f6b1d430478f64569613c19bce1f23..1dd97919fed32852324aaab92871a5cc9ad7632b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0c433c3ff37464d12182a5f28d33aec975a20a0e..082050ff467444823cf7b686a0c0110f11bbf6c0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 090bde95d971c3653559990e7ae82918202a22d6..da8d0ecc8bf50d3b0fac4d1c48116518fa403ad5 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -lcssa | llvm-dis | \
+; RUN: opt %s -lcssa | llvm-dis | \
 ; RUN:   grep {X3.lcssa = phi i32}
-; RUN: llvm-as < %s | opt -lcssa | llvm-dis | \
+; RUN: opt %s -lcssa | llvm-dis | \
 ; RUN:   grep {X4 = add i32 3, %X3.lcssa}
 
 define void @lcssa(i1 %S2) {
index 5c6c7a0a9b5253c375c640ae55fc13b3db212be9..034d94ff380a5dd4db18785daee9d966ac8eacd5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 cf0520617938681946bdd89f35a5e8f6e498e2a1..90a78cfcb4752683123bae927771f291c447697f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -licm -disable-output
+; RUN: opt %s -basicaa -licm -disable-output
 
 ;%MoveArray = external global [64 x ulong]
 
index bf209eaa479f0c5ac2f3a176e2c4569b67239c64..f2e3bea567589ea253d6bf43aac64baa7efb1d2a 100644 (file)
@@ -1,6 +1,6 @@
 ; Exit blocks need to be updated for all nested loops...
 
-; RUN: llvm-as < %s | opt -loopsimplify
+; RUN: opt %s -loopsimplify
 
 define i32 @yyparse() {
 bb0:
index 4b51a3be4b06540933eacbabad96bb394e63f602..63f2cf3304b58f7b552d7b195e0348f350f82ed9 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase fails because preheader insertion is not updating exit node 
 ; information for loops.
 
-; RUN: llvm-as < %s | opt -licm
+; RUN: opt %s -licm
 
 define i32 @main(i32 %argc, i8** %argv) {
 bb0:
index 18b86064ed04ad9cbee53dc50e683c3160d55c58..5baef4db6a82bff06bee702ef150ac241ed2893d 100644 (file)
@@ -3,7 +3,7 @@
 ; happens because preheader insertion doesn't insert a preheader for this
 ; case... bad.
 
-; RUN: llvm-as < %s | opt -licm -loop-deletion -simplifycfg | llvm-dis | \
+; RUN: opt %s -licm -loop-deletion -simplifycfg | llvm-dis | \
 ; RUN:   not grep {br }
 
 define i32 @main(i32 %argc) {
index 7ce164ec237f7be29ec0a5b3c676b7205134a5d9..4790de7127450b7b23b599c8bb0ee5c62b838bde 100644 (file)
@@ -1,6 +1,6 @@
 ; LICM is adding stores before phi nodes.  bad.
 
-; RUN: llvm-as < %s | opt -licm
+; RUN: opt %s -licm
 
 define i1 @test(i1 %c) {
 ; <label>:0
index 849ecd7cb1bbde313e10ec9c85333f701573e8a3..c1f27125e93d7dcad9fd937c202ccd09ff81576c 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that hoisting is disabled for pointers of different types...
 ;
-; RUN: llvm-as < %s | opt -licm
+; RUN: opt %s -licm
 
 define void @test(i32* %P) {
        br label %Loop
index 7b58535972e5078e696111d3a472f74db78b6715..e316bae3c3f518a8eef63479908ace0112133d63 100644 (file)
@@ -3,7 +3,7 @@
 ; loaded from.  Basically if the load gets hoisted, the subtract gets turned
 ; into a constant zero.
 ;
-; RUN: llvm-as < %s | opt -licm -gvn -instcombine | llvm-dis | grep load
+; RUN: opt %s -licm -gvn -instcombine | llvm-dis | grep load
 
 @X = global i32 7              ; <i32*> [#uses=2]
 
index e491c9aee479aa6a7caa64e26afaf1fc16973275..3e50ca08215b66e3a39329d50b54f03d5d57b470 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm | lli
+; RUN: opt %s -licm | lli
 
 define i32 @main() {
 entry:
index b9c9eb3739999ab748fd3862cb23efa3fbc4534d..0db41ece2d15b7c19304dfb128913ed7ec06a350 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -globalsmodref-aa -licm -disable-output
+; RUN: opt %s -globalsmodref-aa -licm -disable-output
 
 @PL_regcomp_parse = internal global i8* null           ; <i8**> [#uses=2]
 
index 9a53d95996a77c4707dce0bee9472042eecd1754..84b5933a0d9815b5085ccc9e98e499916f29fd29 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b001cd0d5cd2dc3aef112aa3450098a3dd51134f..724c1fa71bf0e73758ee042520dc6a700db6294a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm -disable-output
+; RUN: opt %s -licm -disable-output
 
 define void @test({ i32 }* %P) {
        br label %Loop
index c2c4bcb4ab0be94c99732e451a5f3a14b5abae30..10cdb6d103a66623613e34081b94967944ec133b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm -disable-output
+; RUN: opt %s -licm -disable-output
 ; PR908
 ; END.
 
index bf5d7bc09297760192be93a0e0fa21fe5bc819df..0d4c70c0cbd3ab4ecf9ae1f738b5d7d8ebe88e44 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm | llvm-dis | grep {volatile store}
+; RUN: opt %s -licm | llvm-dis | 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 110d884494645ffb42e59ad86fdbbb20e0fa42ca..64919eafc1fb60b1c639773d4ab65761af896f20 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e9ba9e16318fee45375bb3d99314742463b9b470..8b0098e04ccf66959427299652deab99f0226783 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: llvm-as < %s | opt -licm | llvm-dis | not grep promoted
+; RUN: opt %s -licm | llvm-dis | not grep promoted
        %struct.decision = type { i8, %struct.decision* }
 
 define i32 @main() {
index f9f45f389b8a840e81af4ff6b4185edcc6ed878d..4eb52ec1362e66b880373fb270d5d9a8d8021dd3 100644 (file)
@@ -1,5 +1,5 @@
 ; Do not promote null value because it may be unsafe to do so.
-; RUN: llvm-as < %s | opt -licm | llvm-dis | not grep promoted
+; RUN: opt %s -licm | llvm-dis | not grep promoted
 
 define i32 @f(i32 %foo, i32 %bar, i32 %com) {
 entry:
index 7359cc0695ad20788c5959c9459942a0ab51399c..08fe0ff20396a2d7b9863d044b614bbd297a17bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm | llvm-dis | grep promoted
+; RUN: opt %s -licm | llvm-dis | grep promoted
 ; Promote value if at least one use is safe
 
 
index dcb20e7bbd0c0f003f6af56030c03458ad1fee52..56202b655ebb9e0d4c5c7ab74a76759aa539c7e0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 3824d53597723770be27b80586a14673f7e16ea2..11df8dfb4ce098be649aa84c7c09018566e310f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm -enable-licm-constant-variables | llvm-dis | grep -A 1 entry | grep load.*@a
+; RUN: opt %s -licm -enable-licm-constant-variables | llvm-dis | grep -A 1 entry | grep load.*@a
 @a = external constant float*
 
 define void @test(i32 %count) {
index c3c9a810c52c583efcf87ffb0718f8840a9b3d72..0ccd167c9b7728927c77ff9890f465332620bd4a 100644 (file)
@@ -1,5 +1,5 @@
 
-; RUN: llvm-as < %s | opt -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 850d071810ef05ad56c62cb8ad6b30596fcc9103..000ead10aa0240d48f5e02f891675c780c3cd481 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0a57ce4539fed4a5263a9e9665ddcc048dcafab5..b4442d1c243fa1f257f6051b9eafd0151f5b95a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm | llvm-dis
+; RUN: opt %s -licm | llvm-dis
 
 define void @testfunc(i32 %i) {
 ; <label>:0
index 821c8a3fd5b20512b9d8b7902cee55ac59895835..48aa0aa9cdb56dda7ed0c5e52faca9bb9bc90576 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm | llvm-dis | FileCheck %s
+; RUN: opt %s -licm | llvm-dis | FileCheck %s
 
 @X = global i32 0              ; <i32*> [#uses=1]
 
index 6ea08612ea869ed08254c12427b4fb2270de7b04..969a83c80c1a6b3c40a79546ce9f52b39144f0fd 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that LICM works when there is not a loop-preheader
-; RUN: llvm-as < %s | opt -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 8f00d03321219dcef4cd2f69ed5819ab3376bd97..e2a58b90a649d08ad1b672155fa96ca07240e7c6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt  -licm | llvm-dis | FileCheck %s
+; RUN: opt %s  -licm | llvm-dis | FileCheck %s
 @X = global i32 7              ; <i32*> [#uses=4]
 
 define void @test1(i32 %i) {
index cf1827710538c506c401349d06f104122a97f778..7e1218ee8f7b4b0b049aa7d41db4173e36d9e8b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -basicaa -licm | llvm-dis | FileCheck %s
+; RUN: opt %s -basicaa -licm | llvm-dis | FileCheck %s
 
 declare i32 @strlen(i8*) readonly
 
index ecba2f47b187615cb87e61e8fc95675740408d73..41786e500720542be63a0c1d4fd4da8c5940c160 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-deletion | llvm-dis | grep switch
+; RUN: opt %s -loop-deletion | llvm-dis | grep switch
 ; PR 1564
   
 define fastcc void @out() {
index bfb747a72da8e6288786f50dc7d467366e5fd221..820a8a89281279f7351f21dd6a1c40ea6e4dedb9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 c112cae53700163f7b13966d88fa80bf5063ed20..ab4f287319216e69c1c63c704c075d2d0dc1cb1a 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, and when followed by ADCE, is completely eliminated
 ;
-; RUN: llvm-as < %s | opt -sccp -simplifycfg -indvars -loop-deletion -dce -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -sccp -simplifycfg -indvars -loop-deletion -dce -simplifycfg | llvm-dis | not grep br
 
 define i32 @"test function"(i32 %i0, i32 %j0) {
 BB1:
index fa1ab2dd6ba1d42ed188bd488221702986d0efad..1c7252fd68fad957b9117c6b610eec60f18db019 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1692
-; RUN: llvm-as < %s | opt -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 928fd959ae90ba552c6496bfec4b41db01fe4b39..700c0f222f629b0c1bd2cb55e7076ebb5cf62f4d 100644 (file)
@@ -1,6 +1,6 @@
 
 ; Update loop iteraton space to eliminate condition inside loop.
-; RUN: llvm-as < %s | opt -loop-index-split | llvm-dis | not grep bothcond
+; RUN: opt %s -loop-index-split | llvm-dis | 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 6619c7d19d8a7d54dffab7a1ebe018efd2d9925e..3089ce49adc8c7c06da11b36087dfb7102d46000 100644 (file)
@@ -1,6 +1,6 @@
 ; PR714
 ; Update loop iteraton space to eliminate condition inside loop.
-; RUN: llvm-as < %s | opt -loop-index-split | llvm-dis | not grep bothcond
+; RUN: opt %s -loop-index-split | llvm-dis | not grep bothcond
 
 define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) {
 entry:
index a4966a9de4a28a9300602e4f50ef933b4664d5b8..0152c7f989d0a54c25fdeadf6b404b9a96f4a1cb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 4ad906719f8b742fc2369a318749c36dad9f3aa8..dddb9fbd415f4fe7bcb617b518904e66c4f35f78 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
 ; PR 1995
 
 define void @add_blkdev_randomness(i32 %major) nounwind  {
index 9fa83e4f57ffb5d6c14d6179f66d66261bd19f49..ab2ed8488e7748c08032a45348804207b068b1ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0c67ea2c30706d1959b8a5e7effa019d95ecbaf5..bf8baa72d688da3f07d5a6adedac58e2e9b38018 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 393299f3e094437f9a2e5ac875e07142c6e9b89c..72b25f920368472b120ab94de1ce9548b2a0b631 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 2ee51e14948cde3cb6868346c583e3c2911b49a7..7bab623861d9ab2bc04a28823e3eff9e8267d253 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-index-split -disable-output
+; RUN: opt %s -loop-index-split -disable-output
 ; PR 2030
        %struct.FULL = type { i32, i32, [1000 x float*] }
 
index 24f22cab4ea1d1785419c65fb8c8a8d88620cc82..d862f9c1f1b86460133691c27c4c3b90135cd853 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 5809918acffe935b0bb129da9b419a3135e9b302..bab3a130c7647038d626b4c4b6f4bf7ad5c9d1d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 1f6876c8d29d8e2b1039a602bac185987f076286..c35b66de957e47ada2c66de06b37ba4295097de6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 7592511a290d387d6e006422a027314dac9c8c80..061e444596873574d95ac30170f55010e21021e9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 a7a7cc23fefd22bb73f364a86007da1f80e6f9e1..1757391759aac96bda0bd64281737476b69fe96c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 f66edcd062e21a89987cabc3c34e87de2f7c186e..43acc7f01b144fb1cf1e330360c5edfeae35f7ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b477b73cc37a3f790f200c14631820b3c65fd589..165821817887f7e480d8ad36184002e42a012635 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 417f0917eda1217edc924e995623453bcdac0fa4..c55ac24330cc5909afa085ca9aab78420549beaa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 11ee0f5c45277729ba9c20ddb298059151b7691f..70960c3625d91c75d1442b351a9c838254d21874 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 73113e7b46f7dbe2f1941b802b18e4366fca37d5..d5b8f2c9f1914665a3c77f7da392719c99c8fdf3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b34cb51c332ecdc6185096aecfead59ab4b9c29b..28c41c92104c771e0d444a26d3e623be37688a6b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-index-split | llvm-dis | not grep undef
+; RUN: opt %s -loop-index-split | llvm-dis | not grep undef
 define i32 @main() {
 entry:
        br label %header
index d77f55a60aea84418f31a20a51dbc22b5fa675fe..26b4870e846999dbe9a41a11fb9f17bd5d264ee5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-index-split -disable-output 
+; RUN: opt %s -loop-index-split -disable-output 
 
         %struct._edit_script = type { %struct._edit_script*, i32, i8 }
 
index 4b2cffd798601837fee6057092802b5113b9bcb3..9bca6e7057479d0bec2b6322f794fe02f2164149 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 241b7dc188d6caa9df549b01b819cdb099d81f88..f746981a92794354393b74760cb26f56e03ad393 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-index-split -disable-output 
+; RUN: opt %s -loop-index-split -disable-output 
 
         %struct._edit_script = type { %struct._edit_script*, i32, i8 }
 
index 9e79f483d9f3868f868fe590c735320b733b9e1f..8e3254c0075fe60314beede3fbfee3341bc08c1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-index-split -disable-output 
+; RUN: opt %s -loop-index-split -disable-output 
 
 @k = external global i32               ; <i32*> [#uses=2]
 
index e98f699d7f6f19006f494f11c98f41113b5f1516..fc4047d9fcc0e086d48597161e005d7857892bd5 100644 (file)
@@ -1,5 +1,5 @@
 ; Loop is elimianted
-; RUN: llvm-as < %s | opt -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 31332bd984a5eb8ed81fe89f79281a0a161178f9..92e1a3f6df405d08a79ce68aecfe331d6d7a9176 100644 (file)
@@ -1,5 +1,5 @@
 ; Loop is elimianted. Save last value assignment.
-; RUN: llvm-as < %s | opt -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 bf568e57f24ccd6b854416ea68cd343973e36cfd..b2bf19e4b1adb02d53f172a7562122dc02df464d 100644 (file)
@@ -1,5 +1,5 @@
 ; Loop is elimianted. Save last value assignments, including induction variable.
-; RUN: llvm-as < %s | opt -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 c4fc0d1c5e73c91123d81949353bdefb6576f5fb..181633300a5d47555b2d53ed53398ac953463887 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-index-split | llvm-dis | not grep "icmp ne"
+; RUN: opt %s -loop-index-split | llvm-dis | not grep "icmp ne"
 
 define i32 @main() {
 entry:
index e19f22a6211c4b97b915369ee0fe1a975a3638e3..2271d3d297367eeb4b64196375070953bb5b0744 100644 (file)
@@ -1,5 +1,5 @@
 ; Split loop. Save last value.
-; RUN: llvm-as < %s | opt -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 3b237bb1f143c0d26c013958e15b378e01c95bbe..c163522a10bbc146d80b05a5f353618a1d75c5a2 100644 (file)
@@ -1,5 +1,5 @@
 ; Split loop. Save last value. Split value is off by one in this example.
-; RUN: llvm-as < %s | opt -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 27327a059cf9e492eef3384bed63d35237fab5a4..1ba2e0e65311c2cb9944d6ed8dc8d8a8c9b0cef6 100644 (file)
@@ -1,5 +1,5 @@
 ; Split loop. Save last value. Split value is off by one in this example.
-; RUN: llvm-as < %s | opt -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 c5064517dd1d1552a0f38d5ee33b44962a69059c..47129ff0f70e9f50f5c81253faeda80a261bac5a 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: llvm-as < %s | opt -loop-index-split | llvm-dis | grep select
+; RUN: opt %s -loop-index-split | llvm-dis | grep select
 
 @k = external global i32               ; <i32*> [#uses=2]
 
index caaa8adb213ccdcf4a3cd230eb937fb9d1bacc3e..cf970848143e6566ac7c89bf3770f79140992951 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 7cc3951b3cd1b0147983bc7d40b0d0997d6c5039..0a634fa4cd36dac63971ee0b4872a7b77174a620 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e6c7667d5975a71ac4e7ae160571dd3e77ab5312..50bdf1c9b11c882a81ec92bc0dde2381e40e2bec 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 
        %struct.relation = type { [4 x i16], i32, [4 x i16], i32, i32 }
 
index 6dbe76df9eb330aca6a25a50ef22a27f1117600b..d1d1d7e7dfa8e4918a4d8c0b7b2b715014f6c3e0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 
 define void @findAllPairs() {
 entry:
index 94991a55b82477b436d37eca1fcd9dd724681607..d1f49a9829307f83f4efacbcace892ccf1948214 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 
 define void @_ZN9Classfile4readEv() {
 entry:
index ab43fc88922c816f00463b69aa33550d33ef8168..60b48fec31474a8fc40294f22cf4a87c3ace135f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 
 define void @InterpretSEIMessage(i8* %msg) {
 entry:
index d61e749d7ee44ee486bdcb2346b311c521731484..71a296185a90ef972cfc91437a1a339bae5f8eff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 573e3960bd86386b8400ae8e016c15ec773d2a8e..102c137256e138bffa721110ba840ce9338ef474 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-rotate | llvm-dis | not grep {\\\[ .tmp224} 
+; RUN: opt %s -loop-rotate | llvm-dis | 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 a55704b1fdb6b1f87a47ae8fb77447c2a5369667..2427b7633dd3f0f6cb037494b97e74a52148dfa7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-rotate -disable-output
+; RUN: opt %s -loop-rotate -disable-output
 ; ModuleID = 'PhiSelfRefernce-1.bc'
 
 define void @snrm2(i32 %incx) {
index 67477ade99685970082521dbc80e1fc613b6076e..e746672f2cb2a7cd72f387f2e9df96ee4a8edad9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-deletion -loop-rotate -disable-output
+; RUN: opt %s -loop-deletion -loop-rotate -disable-output
 ; PR 2639
 
        %struct.HexxagonMove = type { i8, i8, i32 }
index 70445fb8f8c1389e7452ed353500e4d424d479fc..1305e3a4ebdaf962d8fe795990663461ee16b4b3 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: llvm-as < %s | opt -loopsimplify
+; RUN: opt %s -loopsimplify
 
 define i32 @yylex() {
        br label %loopentry.0
index ba2eef7095b12ae7ef64b52d12189a7df3ccd567..f32366814c40a7148fff882fa6b8d2ff785df8e7 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: llvm-as < %s | opt -loopsimplify
+; RUN: opt %s -loopsimplify
 define i32 @re_match_2() {
        br label %loopentry.1
 loopentry.1:           ; preds = %endif.82, %0
index 53fc59edfc993e5386b460a95093a1f245f8724e..60b55f7fd493ff887b231c32071e402d65da8c54 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 bd39330cb49d02051f2ab3279fbf8789b9df453c..0318ccc7d62bba7dc2f4a960ae0a6030babcda3b 100644 (file)
@@ -4,7 +4,7 @@
 ;
 ; This is distilled from a monsterous crafty example.
 
-; RUN: llvm-as < %s | opt -licm -disable-output
+; RUN: opt %s -licm -disable-output
 
 
 @G = weak global i32 0         ; <i32*> [#uses=7]
index b8ced96f23fef9cd572a1cc88a90792a04b18f7a..1e44cbb1d0a033c7aa3885ee542a22fc5c424dcd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loopsimplify -verify -licm -disable-output
+; RUN: opt %s -loopsimplify -verify -licm -disable-output
 
 define void @.subst_48() {
 entry:
index 439ea7e2228abb660fbfdff5a9cc97f9a84f2ee0..e8d3eeb4b87156a2253c429af746be6e3e127f78 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loopsimplify -licm -disable-output
+; RUN: opt %s -loopsimplify -licm -disable-output
 define void @main() {
 entry:
        br i1 false, label %Out, label %loop
index e75b214cb25f2a6a619769f762a4629e2b7a59ec..903937bc9b0a132b440c32f3bc9f2abd4c0c74d5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loopsimplify -licm -disable-output
+; RUN: opt %s -loopsimplify -licm -disable-output
 
 ; This is PR306
 
index ae11d80d34b85c5505212fb0283120aa07319614..f8153fd5721a1ac25c8a82a29b48e5cf946777d2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loopsimplify -disable-output
+; RUN: opt %s -loopsimplify -disable-output
 
 define void @test() {
 loopentry.0:
index bd0515c476e91ecb90cfe03e00eca3e1f9ad4eef..d27c9925b406ce22214bb232bb91bea4ed8cc5cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -loopsimplify -licm -disable-output -verify-dom-info
+; RUN: opt %s -scalarrepl -loopsimplify -licm -disable-output -verify-dom-info
 
 define void @inflate() {
 entry:
index 914fcd1661b830f9035640d9d1e2083b49544a43..0322ac1a8a7d2ff05728e14bee4174547d83aecb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0388b0e9eac51d2817dd7d87c106b7e33760e37c..a6f03d69b675f3bac5c028e3dad0f7118c627906 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loopsimplify
+; RUN: opt %s -loopsimplify
 
 ; This function should get a preheader inserted before BB3, that is jumped
 ; to by BB1 & BB2
index 6ee0567dbc8153663175e5086fe0087dfd12e8bb..9fe3a5f6516b0e40e6bd5ad18cb391ecb7a6ed14 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loopsimplify
+; RUN: opt %s -loopsimplify
 
 define void @foo(i1 %C) {
        br i1 %C, label %T, label %F
index c5bf7fdc3c4dd35d90b7ad5d52fb6bad0b003322..b1f6c9f31fa6b69d70b4aada34f6ffc843aa65f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loopsimplify -loop-rotate -instcombine -indvars \
+; RUN: opt %s -loopsimplify -loop-rotate -instcombine -indvars \
 ; RUN:  | llvm-dis > %t
 ; RUN: not grep sext %t
 ; RUN: grep {phi i64} %t | count 1
index a22fadb48a4da95a9f96427e52070036fc118762..1a7ece73b03e3d5e1b1961d920ce8b7bb4563e18 100644 (file)
@@ -1,5 +1,5 @@
 ; Loop Simplify should turn phi nodes like X = phi [X, Y]  into just Y, eliminating them.
-; RUN: llvm-as < %s | opt -loopsimplify | llvm-dis | grep phi | count 6
+; RUN: opt %s -loopsimplify | llvm-dis | grep phi | count 6
 
 @A = weak global [3000000 x i32] zeroinitializer               ; <[3000000 x i32]*> [#uses=1]
 @B = weak global [20000 x i32] zeroinitializer         ; <[20000 x i32]*> [#uses=1]
index 8391048eed220f713861aa6659721a483a73e1bb..a5868e9453234ff3e4c54a42a34de91db28da463 100644 (file)
@@ -2,7 +2,7 @@
 ; for all loops.  This allows the -indvars pass to recognize the %IV 
 ; induction variable in this testcase.
 
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar
+; RUN: opt %s -indvars | llvm-dis | grep indvar
 
 define i32 @test(i1 %C) {
 ; <label>:0
index 75574c07c0e805fe65d88606f233379c19aa6639..c2045ce9e5928741d6c49789383675084da69424 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 define void @try_swap() {
 entry:
index 83d46967e5f3c62639f9d8fd0e4c8257b5ffb3a7..ab80f38f27df8d3f72bfe9ee918044984eda2a6a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 define i32 @image_to_texture(i32 %indvar454) {
 loopentry.1.outer:
index 145551bded22a719223db14aa97a2003db75fd88..3f0d78bcb88ae5959feabca2c18609e9afa819d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 define void @main() {
 entry:
index 2d2dade0bdc218eb393a6bfdc59b27297f4c7177..3c28a539e45dfd1efd57c7433b0769c16d4d6f7b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 be95d4dce664fc2b754581a6ef850c1e637b0f76..46e282b46901531f59387c5ffca0842e654c4056 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep ugt
+; RUN: opt %s -loop-reduce | llvm-dis | grep ugt
 ; PR2535
 
 @.str = internal constant [4 x i8] c"%d\0A\00"
index fbd3c1e8a6172437f60b7f98cce3b561b59cd3cc..740056ca4dea5603a3bd3726bbc6c14ff29f504c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep add | count 2
+; RUN: opt %s -loop-reduce | llvm-dis | 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 2377589b0ebf63824751af54b047f4465260759d..7b89fa82484c0d5c8ae5b1f0cebc10e3a86e1b5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep "phi double" | count 1
+; RUN: opt %s -loop-reduce | llvm-dis | grep "phi double" | count 1
 
 define void @foobar(i32 %n) nounwind {
 entry:
index 703aebef7ca1e8fe3ed76fe5bdb36189a127bf56..30bbaf3858d3b353792c2559af9b02678fade7f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | count 2
+; RUN: opt %s -loop-reduce | llvm-dis | 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 a7072858c8ac5881c2ee905f345925bcc58508b0..66f80eb1691fd3f6f1a79e9d9a0a190a66783561 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | count 1
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep mul | count 1
+; RUN: opt %s -loop-reduce | llvm-dis | grep phi | count 1
+; RUN: opt %s -loop-reduce | llvm-dis | 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 e1c9642ce8186ca4d8fd6d5fb6fee8016fb02867..b535d3c0faa549f5b3ff0835d95d6487b79674c2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis \
+; RUN: opt %s -loop-reduce | llvm-dis \
 ; 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 33b052215117cf57d712b78014e914b981199b66..56a89f6502b9f055207a95be69d19a9776c34318 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc --x86-asm-syntax=att | grep {cmpl    \$4}
+; RUN: llc %s -o - --x86-asm-syntax=att | grep {cmpl   \$4}
 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 cb2f3aa5166d683f3fa793160cc5fbf7c0a455bd..8a3978bb2ee57ef7bf7e07bdeb4eb7e50e5456bc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc --x86-asm-syntax=att | grep {cmpq    \$8}
+; RUN: llc %s -o - --x86-asm-syntax=att | grep {cmpq   \$8}
 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 a6aafa911dab8b5d6caf1d3cbde01c77574364f8..7450449d25f6c076016beec501cd6cd5f2900b2f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | count 1
+; RUN: opt %s -loop-reduce | llvm-dis | grep phi | count 1
 
 define void @foo(i32 %n) {
 entry:
index e5225da56deda0acac906614538bfa266efccb9e..0dfd082ec7e96b551008a944173e325664f669fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 52095070ae0aefc1fdfe899193453386423d6541..0b1644b92bab67b4a132db05c9317e8584bcbfb5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | \
+; RUN: opt %s -loop-reduce | llvm-dis | \
 ; 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 68eb107f1091694dde063a6d906e4a7cd950f3f6..fca440f4fd8addd412312d50db3e5df5826832d9 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that this test makes INDVAR and related stuff dead.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | count 2
+; RUN: opt %s -loop-reduce | llvm-dis | grep phi | count 2
 
 declare i1 @pred()
 
index bfbbecfdb2676ea570ee2febb97a9b59bd3554dc..14e16fdcdf7577e55bff266fe47bbc1db78c4f82 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: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 
 
 declare i1 @pred(i32)
index 39eca6c963085eca7f7f5706876418115540e827..3f6a78725a38ba9432c9d0dd3374b7b5fe666d44 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis \
+; RUN: opt %s -loop-reduce | llvm-dis \
 ; RUN:    | grep {icmp eq i2 %lsr.iv.next, %xmp4344}
 
 ; Don't reverse the iteration if the rhs of the compare is defined
index 86a1c257655bdaa07559fc745c88b96960cb318e..a043e0d94afd9dab57b6d82c7f9cc6173db09fbd 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | \
+; RUN: opt %s -loop-reduce | llvm-dis | \
 ; RUN:   not grep {getelementptr.*%outer.*%INDVAR}
 
 declare i1 @pred()
index 8e9cbc4a81ef81aaeba4a7afc9204a47d5d2b8be..a63ad429bbc12eb56c134a28a4689264d1262a15 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | \
+; RUN: opt %s -loop-reduce | llvm-dis | \
 ; RUN:   not grep {getelementptr.*%outer.*%INDVAR}
 
 declare i1 @pred()
index c19e844ea2bb56bf3d147fd9b90cc76a53da6b2f..6d5bc1ac18c91dd41db31158d2bef78722cb8800 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep mul
+; RUN: opt %s -loop-reduce | llvm-dis | not grep mul
 
 ; Make sure we don't get a multiply by 6 in this loop.
 
index 5880dc15f0d24d7b04c897ec76518861cb369cd0..5524b1c1d8d70c33d89bfd1f494ca04a559a8bd2 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: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep INDVAR
+; RUN: opt %s -loop-reduce | llvm-dis | not grep INDVAR
 
 declare i1 @pred()
 
index 64d387a4a936c774e953f4f6938cce36d826b7f8..4d7d1afc8d2a0b04def6f083d13acee3cb053ebe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 ; LSR should not crash on this.
 
 define fastcc void @loadloop() {
index e9be384e6f7a3a84ba8f56ef33f31859e5917b27..a19cb434905a93bb7adf8c47a8ef73b684627332 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: opt %s -loop-reduce -disable-output
 ; PR 2537
 
 define void @a() {
index ce0c3bf5c988d257f615ada4c76fccfcde83c94d..9485f076d3b8a638bc2277cad49f630c30316905 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep {phi\\>} | count 10
+; RUN: opt %s -loop-reduce | llvm-dis | 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 f92bfe2b68c859d066771c1dd1a8d84daca94100..4ab1cb9c80a5fd60f5a71b0c08f604d08b52891f 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
-; RUN: llvm-as < %s | opt -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 9d2f5eda1b3fa716fd51606d52a2d8be3c45df34..fde0526e591ba8bec9a189e2719617c821ac1065 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis
+; RUN: opt %s -loop-reduce | llvm-dis
 ; PR3399
 
 @g_53 = external global i32            ; <i32*> [#uses=1]
index 79fcdb17338a9d12ec791cafb8f127f13ff19ac9..1566ec4116e30f346a1b235acedb88e911da2fd2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis
+; RUN: opt %s -loop-reduce | llvm-dis
 ; PR3571
 
 target triple = "i386-mingw32"
index be1372ded3a70f84d840d73f3d6c65d83c3a430f..59068596d3fa241d60a4540bc612a0c1a0901885 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 434da99068c3dbab400850563557d3492730b43f..6be51083361716a0df7c3b989a71082e5b7c7bd3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | count 1
+; RUN: opt %s -loop-reduce | llvm-dis | grep phi | count 1
 
 ; This should only result in one PHI node!
 
index 623c0b5338efc4f15a668b00d40b36ac9abf343b..3f8e14d9f5d400b8eba03e9c5d870f2ce222783e 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that this test makes INDVAR and related stuff dead.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep INDVAR
+; RUN: opt %s -loop-reduce | llvm-dis | not grep INDVAR
 
 declare i1 @pred()
 
index a78fa5f349fa34a676e3042b7c739b9d373d7d75..b9477fef9ef43d832dd60d255aa55fe2b44272d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep mul | count 1
+; RUN: opt %s -loop-reduce | llvm-dis | 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 b52d571f4276300a99f0703210b10e586eb1c39c..04cfa2042a49142830250051462b357c2b4e1ada 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | count 1
+; RUN: opt %s -loop-reduce | llvm-dis | 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 2c9c70de8366487fc70f5e4e753b31115630a0a3..d684ac345bfbdcc430884be69b24cce61f7c4c3d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | \
+; RUN: opt %s -loop-reduce | llvm-dis | \
 ; 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 53eedd67326051bcce86409516a089a8b040247c..168c3d091d144a115ebe7e8d7069526f07c53117 100644 (file)
@@ -1,9 +1,9 @@
 ; Base should not be i*3, it should be i*2.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | \
+; RUN: opt %s -loop-reduce | llvm-dis | \
 ; RUN:   not grep {mul.*%i, 3}
 
 ; Indvar should not start at zero:
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | \
+; RUN: opt %s -loop-reduce | llvm-dis | \
 ; RUN:   not grep {phi i32 .* 0}
 ; END.
 
index 90d3947101ff5f9c4b31b22d4a395f14c28c0cae..401189711f91057ecca026a12c7784983eb70a91 100644 (file)
@@ -1,5 +1,5 @@
 ; Check that variable strides are reduced to adds instead of multiplies.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep mul
+; RUN: opt %s -loop-reduce | llvm-dis | not grep mul
 
 declare i1 @pred(i32)
 
index 13a26a2533257a29f82950e95ffac4aad766bc75..86e70216fe997c2e0b83cc35cf539e2b2ae6ab5f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unroll -disable-output
+; RUN: opt %s -loop-unroll -disable-output
 
 define i32 @main() {
 entry:
index db107fdd4bc0f22b8a6307c00dbdedec17ab761b..5831262fb56a7af5c2ffe2a27063da884574f813 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unroll -loopsimplify -disable-output
+; RUN: opt %s -loop-unroll -loopsimplify -disable-output
 
 define void @print_board() {
 entry:
index 16419cab1abf9afb87571e04398763da20439c63..f98ec3bfaa1ae301b72921572f6e25166c592546 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unroll | llvm-dis | grep bb72.2
+; RUN: opt %s -loop-unroll | llvm-dis | grep bb72.2
 
 define void @vorbis_encode_noisebias_setup() {
 entry:
index 26fa60a8216c7caf7fe9fdee991ca70d230b6a16..9bfe148a2bcc16fe2a8f4aceb26d75787e5d3127 100644 (file)
@@ -1,5 +1,5 @@
 ; PR 1334
-; RUN: llvm-as < %s | opt -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 44890a6e616e23f46f506b142661c5fe0dea1dda..aa076564f542abaf46a2dbfcd117e08af01acbc7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unroll | llvm-dis | not grep undef
+; RUN: opt %s -loop-unroll | llvm-dis | 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 2086e9678cdca416aa376d5015abed6ffb2b0ca3..10fc1a11ec324f5adf7a5796aeb156ea46be4304 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unroll -unroll-count=3 | llvm-dis | grep bb72.2
+; RUN: opt %s -loop-unroll -unroll-count=3 | llvm-dis | grep bb72.2
 
 define void @foo(i32 %trips) {
 entry:
index a46c09e3bde8c655c329edbb2dddb58ddc6f7c8c..11958300c3b3669c40a24dd0693fa8a8510adf6f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -disable-output -loop-unroll
+; RUN: opt %s -disable-output -loop-unroll
 ; PR1770
 ; PR1947
 
index b80220af5003c69f438e33d9806b90292f62fa01..ed8e0cccb543e93aa9bc59e732a40954fa80dd39 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 ; END.
 
 target datalayout = "E-p:32:32"
index 916cba20b52921a1635c8576140843d4a11b8575..80c8deb160535e3a4812dff6083f2cfa2a73f381 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 define void @sort_Eq(i32* %S2) {
 entry:
index 60e464f3acb6ce1f0a4909b840df016aa20ef413..5ed4874daa60e7b9b672b625e3a27bc8a6038077 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 67da9ffad3e2955d8ae446afce9f6c5fdece0c58..32d031d7ce3f2125666cf01dc84e37bcea364fd4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 define void @init_caller_save() {
 entry:
index 08cb9b66bc10cff93359e47537d5e7adf45f0171..0edfd37c7954f8138a30bfbfbf278b2ff445288c 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1333
-; RUN: llvm-as < %s | opt -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 c4080c1e3b199aac0640086de44fff14781b1490..48f5969206b42022857ba220d9ca1e28c9a80599 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 de3f670f2b9527b63200ff7aac6cc5ce3a5f2736..a7b38b8357e2d1a511e1a8c29cb96a800fd22da6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 define i32 @main(i32 %argc, i8** %argv) {
 entry:
index edd7d1ff58e7a47e7bd9c29c9fadb7c3722ceeaa..9bacc4898f051ba747727dfc28e16af4a594ca09 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 ; PR1559
 
 target triple = "i686-pc-linux-gnu"
index 9673e2e96a9613b3f5077e9e690ee11d1cc981e9..a8a70557a9038490b5282215e25cc019e740c5fc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm -loop-unswitch -disable-output 
+; RUN: opt %s -licm -loop-unswitch -disable-output 
 ; PR 1589
 
        %struct.QBasicAtomic = type { i32 }
index 139cdbe70a055adb50e0ab6d167a61ba431ef870..bbeb7bba4c0ef6152069283c3b21415115fd6001 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 b236edcf56c1725e40b0d4b780412a7dfc617bb8..617c39374ff67858c27156535daebe6f8a3417b6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -licm -loop-unroll -disable-output
+; RUN: opt %s -licm -loop-unroll -disable-output
 
 @resonant = external global i32                ; <i32*> [#uses=2]
 
index dcf41c34a48622fd5dc11a323fe4f24249b59433..a2263ea4f043ec896fd8c15eadc63371bbcfc9ea 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -instcombine -gvn -disable-output
+; RUN: opt %s -loop-unswitch -instcombine -gvn -disable-output
 ; PR2372
 target triple = "i386-pc-linux-gnu"
 
index 713a0bddb135e2d65065f158cb53381ef5dad922..6a1b2aed065e32a650263fc65ab08cbeea6a5fa7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 383aa5b671c78226f13d10f4601a89ed230c112f..7174968e926cef38eabab6efe85975b525596233 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 eeaf08d7e650711d0f741445edf61fd15b0b29c1..40fe7f8429119b7be3ca022dc12e98fe39af8891 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
+; RUN: opt %s -loop-unswitch -disable-output
 
 define i32 @test(i32* %A, i1 %C) {
 entry:
index 1e8b880485e4e12cf3d1a02a25b0cfc92730a1ca..87a330ec0fec29b1b5a205d3ce6834b1cc0a770e 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase was reduced from Shootout-C++/reversefile.cpp by bugpoint
 
-; RUN: llvm-as < %s | opt -lowerinvoke -disable-output
+; RUN: opt %s -lowerinvoke -disable-output
 
 declare void @baz()
 
index 07770136964ee1547a037ac2a8eb8b2107eea8f7..569ba265487fe8d2b9bdcaa739158fce4f1c0a0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 10c878537289fcbbb606c9f5f0767776d8fdae34..1256d492ee30826710b2debc836daa4c9b30393d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lowerinvoke -enable-correct-eh-support -disable-output
+; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
 
 declare void @ll_listnext__listiterPtr()
 
index 0a8ccbe3e61ea06ec5fcf428101987effa603a84..60b4544bf44b04d4b01a70620ed8c78213b59ebc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lowerinvoke -enable-correct-eh-support -disable-output
+; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
 
 declare fastcc i32 @ll_listnext__listiterPtr()
 
index fa8253986533ba5f486ce5f05383a56862ae9bb6..3d24b8679422661d1b95699c0c206473459fc058 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 a9c19f2790d50ce10de339130583c4716213e20e..22cbc469973d079db76fc515843df58c343f163b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lowerinvoke -disable-output -enable-correct-eh-support
+; RUN: opt %s -lowerinvoke -disable-output -enable-correct-eh-support
 
 
 define i32 @foo() {
index 3be2163aa469f413a1293466364824798231aa3a..f93539d89e32a4660e2864962f57884617c25b04 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lowersetjmp -disable-output
+; RUN: opt %s -lowersetjmp -disable-output
 
        %struct.jmpenv = type { i32, i8 }
 
index 9ff5f29c238e005e0307a4067480656087d57988..c9b0dcf4e08c5d93ce004945d8407592d4538b73 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lowersetjmp | llvm-dis | grep invoke
+; RUN: opt %s -lowersetjmp | llvm-dis | grep invoke
 
        %JmpBuf = type i32
 @.str_1 = internal constant [13 x i8] c"returned %d\0A\00"             ; <[13 x i8]*> [#uses=1]
index cb5f090864b7f428652d70138e574a62063d9a10..c4d07080e17a64c7762f0b9d7f96cad43f3079c6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lowerswitch
+; RUN: opt %s -lowerswitch
 
 define void @child(i32 %ct.1) {
 entry:
index 71e5a4bcc4d75bc74344bcb981b509f7e041792d..c01da0c63091f54bf045c4978a439f666ca5953a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lowerswitch
+; RUN: opt %s -lowerswitch
 
 define void @test() {
        switch i32 0, label %Next [
index 2fc1c9801914310d929cbd10c5ca081f236a4b8e..57d2efe80efdf064c798cd323220ba6c0b7c7ad0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -lowerswitch -disable-output
+; RUN: opt %s -lowerswitch -disable-output
 
 define void @solve() {
 entry:
index b0d2c7913363a624c919283a180a9c6ff70a200e..7a62c9a206d67ab0c8a29a97c3c759ae7b0089fd 100644 (file)
@@ -1,6 +1,6 @@
 ; Uninitialized values are not handled correctly.
 ;
-; RUN: llvm-as < %s | opt -mem2reg -disable-output
+; RUN: opt %s -mem2reg -disable-output
 ;
 
 define i32 @test() {
index c649d6a5f44370734f06bb783c99a5712298aa90..46524873948ff18832b2ce0bd290242074d7262c 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: llvm-as < %s | opt -mem2reg
+; RUN: opt %s -mem2reg
 
 define void @test() {
        %r = alloca i32         ; <i32*> [#uses=2]
index 0dd27614104d075a5a251add339bca36e6104845..798ed816ca8541d37036d70e4b44e3e4c1442df9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -mem2reg
+; RUN: opt %s -mem2reg
 
 define void @_Z3barv() {
        %result = alloca i32            ; <i32*> [#uses=1]
index 78bfcb4197b238bdee434cd72297b0b1087bc7e5..93a3468d58a6cdf5f262a0cbd7b8a8062796b53e 100644 (file)
@@ -1,5 +1,5 @@
 ; This testcases makes sure that mem2reg can handle unreachable blocks.
-; RUN: llvm-as < %s | opt -mem2reg
+; RUN: opt %s -mem2reg
 
 define i32 @test() {
        %X = alloca i32         ; <i32*> [#uses=2]
index 04e8db3c8de5c92ca89245f78405686df144ae2d..3009b30904cc30ed0f8167a7999388337a65bb49 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: llvm-as < %s | opt -mem2reg -disable-output
+; RUN: opt %s -mem2reg -disable-output
 
 define i32 @test(i1 %c1, i1 %c2) {
        %X = alloca i32         ; <i32*> [#uses=2]
index 27d00150d685b9f8913e7e0b35397b34ef976f26..eb4bc12e766927acc29da1449dc02ffd0c5adb96 100644 (file)
@@ -1,5 +1,5 @@
 ; Promoting some values allows promotion of other values.
-; RUN: llvm-as < %s | opt -mem2reg | llvm-dis | not grep alloca
+; RUN: opt %s -mem2reg | llvm-dis | not grep alloca
 
 define i32 @test2() {
        %result = alloca i32            ; <i32*> [#uses=2]
index 5a27b20ca5099a00c1f53d8f0ae7fd664ae38087..8126c76477f0b9a7e167d2cfdf65a26815e8216f 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: llvm-as < %s | opt -mem2reg | llvm-dis | not grep phi
+; RUN: opt %s -mem2reg | llvm-dis | not grep phi
 
 define void @test(i32 %B, i1 %C) {
        %A = alloca i32         ; <i32*> [#uses=4]
index b053aa162f5bb49c3217c9295ce5c05181cc1669..369817cff2b4c15020aac810e77405054bbc28b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -mem2reg -instcombine | llvm-dis | grep store
+; RUN: opt %s -mem2reg -instcombine | llvm-dis | grep store
 ; PR590
 
 
index a985db3eb8c71920aadf52468d11813e9e1ce2fc..c8264b91bff21137b29506eba5b2753a16e17d80 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -mem2reg -disable-output
+; RUN: opt %s -mem2reg -disable-output
 ; PR670
 
 define void @printk(i32, ...) {
index 579ed41c94c1dd0d2020cf70fa58781506dc5aa7..7cb85e0442b86caf060dd841d2c19d340844b8b6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -std-compile-opts | llvm-dis | grep volatile | count 3
+; RUN: opt %s -std-compile-opts | llvm-dis | grep volatile | count 3
 ; PR1520
 ; Don't promote volatile loads/stores. This is really needed to handle setjmp/lonjmp properly.
 
index 63b8c783c256113b9e25c9a9e99fc90d02bc65d1..55aa340274eeb574bc7653b96e294113699b74bb 100644 (file)
@@ -1,5 +1,5 @@
 ; Simple sanity check testcase.  Both alloca's should be eliminated.
-; RUN: llvm-as < %s | opt -mem2reg | llvm-dis | not grep alloca
+; RUN: opt %s -mem2reg | llvm-dis | not grep alloca
 
 define double @testfunc(i32 %i, double %j) {
        %I = alloca i32         ; <i32*> [#uses=4]
index 0d20d7df3458b9f9ee24b4f1fd64328093cca5ef..79dd5498612f189ebe71a9231f8fca2ec2f3048d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -mem2reg | llvm-dis | not grep phi
+; RUN: opt %s -mem2reg | llvm-dis | not grep phi
 
 define i32 @testfunc(i1 %C, i32 %i, i8 %j) {
        %I = alloca i32         ; <i32*> [#uses=2]
index 30d0a6dbebb5fe072e30a35b1b55f5760cd09711..0f1c6f41b0197646a27e0f88b3733ea136bae204 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -memcpyopt -dse | llvm-dis | grep {call.*initialize} | not grep memtmp
+; RUN: opt %s -memcpyopt -dse | llvm-dis | 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 12c9a9d23e5304aeaa89b53f1ae6cf31477b83a7..804fc35d7d0f9de0c02afdda46674c77f023af3c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -memcpyopt | llvm-dis | not grep {call.*memcpy.}
+; RUN: opt %s -memcpyopt | llvm-dis | not grep {call.*memcpy.}
        %a = type { i32 }
        %b = type { float }
 
index 1d9a35d63f28e5622e16e9ac1da41052e0b8e3c4..cfc40d2d2a1be6269c306f03453bf104480db274 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -memcpyopt | llvm-dis | grep {call.*memcpy.*agg.result}
+; RUN: opt %s -memcpyopt | llvm-dis | 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 ffacb8565c216a844802f189e571bd558a74166f..6cdb17682ce4df24ff63241c982b14386aa827db 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -memcpyopt | llvm-dis | not grep store
-; RUN: llvm-as < %s | opt -memcpyopt | llvm-dis | grep {call.*llvm.memset}
+; RUN: opt %s -memcpyopt | llvm-dis | not grep store
+; RUN: opt %s -memcpyopt | llvm-dis | grep {call.*llvm.memset}
 
 ; All the stores in this example should be merged into a single memset.
 
index 719cd47b0b7bcd91969c6336dda9a1573dd055ff..f588f6d5dfdf84ef231cfe884b9e4d7e6c633d92 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -memcpyopt | llvm-dis | not grep store
-; RUN: llvm-as < %s | opt -memcpyopt | llvm-dis | grep {call.*llvm.memset} | count 3
+; RUN: opt %s -memcpyopt | llvm-dis | not grep store
+; RUN: opt %s -memcpyopt | llvm-dis | 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 94daee0149edae13440d0f0ad724093e0895dd59..c4fdf9664f26ab10f112176eba0c4bc92da677f5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -memcpyopt -dse | llvm-dis | grep {call.*memcpy} | count 1
+; RUN: opt %s -memcpyopt -dse | llvm-dis | 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 64d9db13d2f65192d77dcc2753e7f086ec7f22dd..1967afb72eae9d30aafbb0052cbef2354d9e741a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -memcpyopt | llvm-dis | FileCheck %s
+; RUN: opt %s -memcpyopt | llvm-dis | 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 ad9fb1b215938d7fcf4ba3f5112a02e2f12720d8..edb2dc1747b48b421876d93ed7f37dd694834c92 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -memcpyopt | llvm-dis | not grep {call.*memcpy}
+; RUN: opt %s -memcpyopt | llvm-dis | 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 cea49fb1ceca5a485ba3cdc939e602aa58c34c30..5598c250ec3c6d7ab8fe0fb700b52f417b687ce3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -mergefunc | llvm-dis > %t
+; RUN: opt %s -mergefunc | llvm-dis > %t
 ; RUN: grep {define weak} %t | count 2
 ; RUN: grep {call} %t | count 2
 
index 9ba3081a901c44b88a96cd01ddd73d63d0fc72e9..a658daeca1f1c2e5dac83a5076bf60e155ff01df 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d8c6e30b97577f293eaa178ed836421d0c206705..ce9b04b8468ac305a20b6f47c3f71290d8825995 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -mergefunc -stats -disable-output |& grep {functions merged}
+; RUN: opt %s -mergefunc -stats -disable-output |& grep {functions merged}
 
 define i32 @foo1(i32 %x) {
 entry:
index fadaaa2ac56a2daee80ccb09b8eb4a8536c71d07..9f7d12cc9024b961ec051dfce3da9420ee6e0bf6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define fastcc void @_ov_splice(i32 %n1, i32 %n2, i32 %ch2) {
 entry:
index c08dbb3a095cd53362583984db4c91f547126a0e..63785f36e4a5429fb43ec194954b5e6d57841e53 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @safe_strcpy(i32 %size1) {
 entry:
index f3d58e9102d08889c937cfe77cd09c924ebfc0de..bf1f5c5066fbd50119e98a73a6b99d60f33628e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @gs_image_next() {
 entry:
index 9df0f9d9bef970f179f970e0cdf8abe1f2912321..6ff1f6fe5845f117a588ec51bac3b4ca80b22850 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify | llvm-dis | grep br | grep return.i.bb8_crit_edge | grep false
+; RUN: opt %s -predsimplify | llvm-dis | 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 b0b9859462a6d982e03ff1d2bffcdc8fdcc10131..00923b0af93f7a9000a1d96cf1989cdf18630b25 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @readMotionInfoFromNAL() {
 entry:
index 906d7c363bf6cde548ae9daffe9e8555e5fa285e..59c80ebd13936e9bf291cde63c9cc86e1a8c2d2d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define i32 @test_wp_B_slice(i32 %select_method) {
 entry:
index 87e0e16b5eead4922d944adfda27470b44ba348e..6e1e8517dbd7fba840133004504f38718ffcf34f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @diff(i32 %N) {
 entry:
index 4f8af01bc3991f2ca069e441fb86ff3b0922a7a4..08b09aa95bf9660ecf5ed9915028d6c7e1738b32 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 47f912de5e8bd12332bc2afcfb9fdd67d66d725d..d472b6ff78c8d338c357aef5f57f1b51b37c33eb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 ; END.
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index 8e45a6602acf9cb7ec5811e6b6db0052115640e8..7d74df2d6abc8487d76ef0b5296b06153120fc71 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 
 define void @ercMarkCurrMBConcealed(i32 %comp) {
 entry:
index 0a45e7ce36a2dbb830a52d31d1e9cdaa967290bc..45bfb6f1f68c3da60fcb58f2a485ccbf78f5be08 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify | llvm-dis | grep -v %c
+; RUN: opt %s -predsimplify | llvm-dis | grep -v %c
 define void @foo(i8* %X, i8* %Y) {
 entry:
   %A = load i8* %X
index e12453a76c41c1b703a683274aa79eb89f4b506e..babfea7322e3aa13d6fc31731b43d4aba10ed652 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify | llvm-dis | grep unreachable | count 2
+; RUN: opt %s -predsimplify | llvm-dis | grep unreachable | count 2
 ; PR1683
 
 @.str = internal constant [13 x i8] c"c36174a.adb\00\00"               ; <[13 x i8]*> [#uses=1]
index e98362b5ddda41d046b91c8bb1001e421863af5a..a0ce26e9efa41f611ec20358318c53a94785544c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -verify
+; RUN: opt %s -predsimplify -verify
 
 define void @dgefa() {
 entry:
index 9c064eebe58413645013d6b16ec3a9e2ad35bf74..5fbf99c90486d82791c7fde098223557970c41a9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -verify
+; RUN: opt %s -predsimplify -verify
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
 deplibs = [ "c", "crtend" ]
index 190cc900689e0830af04f90495645865bf61c412..993c544488c37d1d312f4af0c01f3a2587374a30 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -simplifycfg | llvm-dis | grep pass
+; RUN: opt %s -predsimplify -simplifycfg | llvm-dis | grep pass
 
 define void @regtest(i32 %x) {
 entry:
index 092a49e7a38eb4b04512cf7e4248caf1bab70d64..28f343f01e077a8567f74c786825ea69ba61b7c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -predsimplify -disable-output
+; RUN: opt %s -predsimplify -disable-output
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
 
index 7fc912563e1fa04a9161a40197025db3d8707133..808b5099a024874e10485f764c2ed9e738e5b7aa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | grep invoke
+; RUN: opt %s -prune-eh | llvm-dis | grep invoke
 
 declare void @External()
 
index 8333cd8f722cd49caeebd7b6a491ffc332f8d98d..fe593d2012d6cfb874457332d2cfefbc41420313 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -prune-eh -disable-output
+; RUN: opt %s -prune-eh -disable-output
 
 define internal void @callee() {
        ret void
index 133200f28471411d46b693c63314c081fc8125bd..ad009bbd757e7c895b9842aacd17e798488c3992 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep nounwind
+; RUN: opt %s -prune-eh | llvm-dis | not grep nounwind
 
 define weak void @f() {
 entry:
index 74434f4d952a191d82bde7f86cd54516ac318ef4..cbaa1176f11b2c2fc13c2494f4150cf3e1840a5a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 231c7b373819862d9388724a8347463dbe130db8..70cd2b25591224c1b32c884f39c7fa71f8e00a1f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep invoke
+; RUN: opt %s -prune-eh | llvm-dis | not grep invoke
 
 define internal i32 @foo() {
        invoke i32 @foo( )
index d2bd50cf5da7cb2192b2be4851b478d9e212681b..80608a75257a0ed7970e4bdfd1279ae5bbd2d8f8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep {ret i32}
+; RUN: opt %s -prune-eh | llvm-dis | not grep {ret i32}
 
 declare void @noreturn() noreturn;
 
index 678e8d76b680cdc195a35d0c45c2df15d8c78042..284fd6bcb5098d5fc1a87e2700025b1e3fe9512f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep invoke
+; RUN: opt %s -prune-eh | llvm-dis | not grep invoke
 
 declare void @nounwind() nounwind
 
index 10daa7620d22dbab540a684d702bde8f8e2949d9..a84b71cc3dad5a79271a1fb85343f0fa0be8b152 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -raiseallocs -disable-output
+; RUN: opt %s -raiseallocs -disable-output
 
 define void @main() {
        %tmp.13 = call i32 (...)* @free( i32 32 )               ; <i32> [#uses=1]
index 4521581b3879bb58e49f2afccec7081d8bca6f44..9de8204aa979a7f925b3b5157201a0a764e48924 100644 (file)
@@ -1,6 +1,6 @@
 ; This situation can occur due to the funcresolve pass.
 ;
-; RUN: llvm-as < %s | opt -raiseallocs | llvm-dis | not grep call
+; RUN: opt %s -raiseallocs | llvm-dis | not grep call
 
 declare void @free(i8*)
 
index 5465418d00ded7196e7a78dcffec331bde91cf66..809378fe6854494d115648dbb66ec2fd6b5dd198 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -instcombine -constprop -dce | llvm-dis | not grep add
+; RUN: opt %s -reassociate -instcombine -constprop -dce | llvm-dis | not grep add
 
 define i32 @test(i32 %A) {
        %X = add i32 %A, 1              ; <i32> [#uses=1]
index 79afb6e64c1393431f14f7f5e708d61484ad2635..7829fa3f432607749c57040e07927889212e0583 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -instcombine -constprop -die | llvm-dis | not grep 5
+; RUN: opt %s -reassociate -instcombine -constprop -die | llvm-dis | not grep 5
 
 define i32 @test(i32 %A, i32 %B) {
        %W = add i32 %B, -5             ; <i32> [#uses=1]
index de0666e956177b1a995b3d496ea45fa63e1c3878..441c14569c3d34baeb627f70ad4627274666976f 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate all of the constants.
 ;
-; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -dce | llvm-dis | not grep add
+; RUN: opt %s -reassociate -constprop -instcombine -dce | llvm-dis | not grep add
 
 define i32 @test(i32 %A, i32 %B) {
        %W = add i32 5, %B              ; <i32> [#uses=1]
index 070080acf24fdb8bc1a5b0a3d3a53b3768e4b3c9..96740149713315096200b7321d74bd5de3ea3253 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the two 12 constants.
 ;
-; RUN: llvm-as < %s | opt -reassociate -constprop -dce | llvm-dis | not grep 12
+; RUN: opt %s -reassociate -constprop -dce | llvm-dis | not grep 12
 
 define i32 @test(i32 %A, i32 %B, i32 %C, i32 %D) {
        %M = add i32 %A, 12             ; <i32> [#uses=1]
index c19baeaae68f8957c65b10406f85f8f075337d58..fe1a9cca8ea2a41f6aee9df770f83e185daa1e51 100644 (file)
@@ -1,6 +1,6 @@
 ; The reassociate pass is not preserving dominance properties correctly
 ;
-; RUN: llvm-as < %s | opt -reassociate
+; RUN: opt %s -reassociate
 
 define i32 @compute_dist(i32 %i, i32 %j) {
        %reg119 = sub i32 %j, %i                ; <i32> [#uses=1]
index 41cba63d8fdab1686add8afa2dc56b38538cac40..a7eaff2c4bd3426c2fc311e2bfdd157d73ad3fd8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 99c98ef5932cd5c3b93ddb59b02d4e0225a77419..10e05a9910f9ab102a1fe0060fa5226abbc95925 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 d11a2ea767a9aff61f76b1a328452d5226056e74..c4868aa411d59985ee18a65740d1fec9144bdd49 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis |\
+; RUN: opt %s -reassociate -instcombine | llvm-dis |\
 ; RUN:   grep {ret i32 0}
 
 define i32 @f(i32 %a0, i32 %a1, i32 %a2, i32 %a3, i32 %a4) {
index 3662e097c9f06f550c1a28b93063ea661ebc97dd..d12ce4ad9643bd8b05db3d930554f8de70b8360a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 09db47b1907c050a0be52b19e5c2a3cce5d32425..738fa66717741065df649e4ec4aadc9d414f6859 100644 (file)
@@ -1,6 +1,6 @@
 ; With reassociation, constant folding can eliminate the 12 and -12 constants.
 ;
-; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep add
+; RUN: opt %s -reassociate -constprop -instcombine -die | llvm-dis | not grep add
 
 define i32 @test(i32 %arg) {
        %tmp1 = sub i32 -12, %arg               ; <i32> [#uses=1]
index dbde3af35e1b83c8a990bb4443a1ca1d5b97cc33..2e63bbaeca98bb7fabe1138b99f5caf37ded632a 100644 (file)
@@ -1,6 +1,6 @@
 ; With reassociation, constant folding can eliminate the +/- 30 constants.
 ;
-; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep 30
+; RUN: opt %s -reassociate -constprop -instcombine -die | llvm-dis | not grep 30
 
 define i32 @test(i32 %reg109, i32 %reg1111) {
        %reg115 = add i32 %reg109, -30          ; <i32> [#uses=1]
index a88030db2f9a51a7655a27a65975f45ed5a0cf25..0e20ad1aaec07701f761b948df6b42e54e4c020c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -gvn | llvm-dis | grep add | count 6
+; RUN: opt %s -reassociate -gvn | llvm-dis | grep add | count 6
 ; Each of these functions should turn into two adds each.
 
 @e = external global i32               ; <i32*> [#uses=3]
index 608becd9c3a9e98e90dfc7761f3f28a1f2e11c64..8a4420546e21f406337e9582d48ad10105cde171 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -gvn -instcombine | llvm-dis | not grep add
+; RUN: opt %s -reassociate -gvn -instcombine | llvm-dis | not grep add
 
 @a = weak global i32 0         ; <i32*> [#uses=1]
 @b = weak global i32 0         ; <i32*> [#uses=1]
index 5b08d0eec675fd64efc33ad78f869df7cd1c42c2..4284fe5e5be2ec98cf2cb38a5f97f643abb1d8e3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -dce | llvm-dis | \
+; RUN: opt %s -reassociate -dce | llvm-dis | \
 ; RUN:   not grep {\\(and\\|sub\\)}
 
 define i32 @test1(i32 %a, i32 %b) {
index 3b28c2389538d93317c1462040b53f33682b3c79..202af14c837080d2e1dc4408a4cf3e46df8b6493 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: llvm-as < %s | opt -reassociate | llvm-dis | grep 115 | not grep 117
+; RUN: opt %s -reassociate | llvm-dis | grep 115 | not grep 117
 ; END.
 @.LC0 = internal global [4 x i8] c"%d\0A\00"           ; <[4 x i8]*> [#uses=1]
 
index 1899be79e11210e69bf92fafee9656fdf22f0649..9c50954f31284b8e6a3de31396f3cf6bce2aa15b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis |\
+; RUN: opt %s -reassociate -instcombine | llvm-dis |\
 ; RUN:   not grep {sub i32 0}
 
 define i32 @test(i32 %X, i32 %Y, i32 %Z) {
index f80019c95e36a17aeb51bda93e3aafc38c0aad38..c5a471f4edb78af8b8982dc22ffcd38b17f26897 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis | grep mul | count 2
+; RUN: opt %s -reassociate -instcombine | llvm-dis | grep mul | count 2
 
 ; This should have exactly 2 multiplies when we're done.
 
index 6b2041898a1d3f0ab61813b12c44657d34eaaa52..1707d57009c378f4c119d8a3126c719f5e7895a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis | not grep sub
+; RUN: opt %s -reassociate -instcombine | llvm-dis | not grep sub
 
 ; Test that we can turn things like X*-(Y*Z) -> X*-1*Y*Z.
 
index 3c9b0744a8fc56d57cb700a7f6275cbd6e855b80..827c7ea8f1cd94471231b53a5baab6ed0dd00827 100644 (file)
@@ -1,6 +1,6 @@
 ; Reassociation should apply to Add, Mul, And, Or, & Xor
 ;
-; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep 12
+; RUN: opt %s -reassociate -constprop -instcombine -die | llvm-dis | not grep 12
 
 define i32 @test_mul(i32 %arg) {
        %tmp1 = mul i32 12, %arg                ; <i32> [#uses=1]
index fd49e7d3f22320965a863d004a1464a65e61fee1..42b1873eedbb96a862934b0206600488579b970f 100644 (file)
@@ -1,6 +1,6 @@
 ; With shl->mul reassociation, we can see that this is (shl A, 9) * A
 ;
-; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis |\
+; RUN: opt %s -reassociate -instcombine | llvm-dis |\
 ; RUN:    grep {shl .*, 9}
 
 define i32 @test(i32 %A, i32 %B) {
index 513984e7722d4f601d6bdf2156c74ecd221b99cb..78bd0ef3b8aa290366a859efd2761ecf7e63c778 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the 12 and -12 constants.
 ;
-; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis | not grep 12
+; RUN: opt %s -reassociate -instcombine | llvm-dis | not grep 12
 
 define i32 @test(i32 %A, i32 %B) {
        %X = add i32 -12, %A            ; <i32> [#uses=1]
index c81e9b38def99c699ccdf1f2874542df2191c08f..91c3b7ff8a66464d85782204fe215e1093d4f27a 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the uses of %a.
 ;
-; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis | grep %a | count 1
+; RUN: opt %s -reassociate -instcombine | llvm-dis | grep %a | count 1
 ; PR2047
 
 define i32 @test(i32 %a, i32 %b, i32 %c) nounwind  {
index 13b45f59a94f438159c905fc70a73ba8a09242a4..2d61c6aca76122110eb9a43045a2ef53e99e6f0e 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: llvm-as < %s | opt -sccp | llvm-dis | not grep loop
+; RUN: opt %s -sccp | llvm-dis | not grep loop
 
 define i32* @test() {
 bb1:
index fd4083d1374c8aea8a0be3845b6468d651606387..289cafb9dbee02dbf46deec9506438dd70b711b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep sub
+; RUN: opt %s -sccp | llvm-dis | not grep sub
 
 define void @test3(i32, i32) {
        add i32 0, 0            ; <i32>:3 [#uses=0]
index 61bf5db44441f14bcfab487d66c96274bd96cf03..b5dc2bc8e59ad6617a9ae9f62c78c00456178857 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: llvm-as < %s | opt -sccp | llvm-dis | grep phi
+; RUN: opt %s -sccp | llvm-dis | grep phi
 
 define i32 @test(i32 %A, i1 %c) {
 bb1:
index b46d23a9dcf305007bde57293d687ba6bef4bfda..b81f6255579a87ac79d0f510c0629e652d7f8d64 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: llvm-as < %s | opt -sccp -simplifycfg | llvm-dis | \
+; RUN: opt %s -sccp -simplifycfg | llvm-dis | \
 ; RUN:   grep ret
 
 define void @old_main() {
index c5a7c790bd260b3a62d0fa97d27a4f5aaf8adb67..32fa36ca98abff369ce93a6ba2c898006c2975c8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep %X
+; RUN: opt %s -sccp | llvm-dis | not grep %X
 
 @G = external global [40 x i32]                ; <[40 x i32]*> [#uses=1]
 
index 03ff4dde8a1018764ea3c52b0fec201ae457d60b..6dbe97d05a230473bc20fc18041982fc5fc272bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -simplifycfg | llvm-dis | \
+; RUN: opt %s -sccp -simplifycfg | llvm-dis | \
 ; RUN:   not grep then:
 
 define void @cprop_test11(i32* %data.1) {
index 020af7d16c7da6547386b2f5ebc28db6d3a6006f..57f0cf059ce29d059bd3b282e09ef07a0ebf39b4 100644 (file)
@@ -1,5 +1,5 @@
 ; The PHI cannot be eliminated from this testcase, SCCP is mishandling invoke's!
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep phi
+; RUN: opt %s -sccp | llvm-dis | grep phi
 
 declare void @foo()
 
index cf64677334a207964e11c22936e0c6b38436e153..98cced0fce9e436e9315abad177dd7ce3f0f390d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -disable-output
+; RUN: opt %s -sccp -disable-output
 
 declare i32 @foo()
 
index 6592e8b08925be9d182a5194bba617e9d54a0b5f..983297f8ee7848d22e207e967208949a13939c10 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep {ret i32 1}
+; RUN: opt %s -sccp | llvm-dis | grep {ret i32 1}
 
 ; This function definitely returns 1, even if we don't know the direction
 ; of the branch.
index 299b79f53e21453438d6f876b5774c1a47ed11d0..9cec1e6e1e1450b2e8687ff7322c59a70f7ae400 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -disable-output
+; RUN: opt %s -sccp -disable-output
 ; END.
 target datalayout = "E-p:32:32"
 target triple = "powerpc-apple-darwin8.7.0"
index 0e268c2db839f0a01eb50d4e26e78aeae6981093..afdf9dab2b0d05c2ccc9f0ea1ef1069630310cb2 100644 (file)
@@ -1,7 +1,7 @@
 ; Test VectorType handling by SCCP.
 ; SCCP ignores VectorTypes until PR 1034 is fixed
 ;
-; RUN: llvm-as < %s | opt -sccp
+; RUN: opt %s -sccp
 ; END.
 
 target datalayout = "E-p:32:32"
index 4d686690b98fef25315c2095f3b9514a0d031e02..1b1c249648fbde43b1071f38bf23830c2b7f142b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | \
+; RUN: opt %s -sccp | llvm-dis | \
 ; RUN:   grep {ret i1 false}
 
 define i1 @foo() {
index 18ab5e8cdc5b09d2a074c931282844d8568b216c..4bcad3a5974305e1b6008e379e770886f5fe0470 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep undef | count 1
+; RUN: opt %s -sccp | llvm-dis | grep undef | count 1
 ; PR1938
 
 define i32 @main() {
index f85a36260e0a65055cb19eb42465d9a5e9174c06..9abe1038c1915b74cc03d7411da61ca0ffa7ae9d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep {ret i32 undef}
+; RUN: opt %s -sccp | llvm-dis | 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 20f7c21b7c1880835c9067e80aed06095d214f2c..9f0b95db9eeebfdc10e843d9e10e1e89e2be5180 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep {ret i32 42}
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep {ret i32 undef}
+; RUN: opt %s -ipsccp | llvm-dis | grep {ret i32 42}
+; RUN: opt %s -ipsccp | llvm-dis | grep {ret i32 undef}
 ; PR3325
 
 define i32 @main() {
index 480aca0d1acf40bca7735c4bee25c52ede770370..3d1b29450223651d524a69aa7dbb8c6ef5a2ae52 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -disable-output
+; RUN: opt %s -sccp -disable-output
 ; PR4277
 
 define i32 @main() nounwind {
index ead3f6ab9a669c27e67c480e5cd59f9adb50cdc7..15d0f3203f78f8aad21a9193fb88a0e175345ca0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep {ret i101 12}
+; RUN: opt %s -sccp | llvm-dis | grep {ret i101 12}
 
 @Y = constant [6 x i101] [ i101 12, i101 123456789000000, i101 -12,i101 
 -123456789000000, i101 0,i101 9123456789000000]
index 12f8326a7375fc17c4b63a49f7ee1d93a04dba7e..9796ad9b333e8d54d9d14f047defcd14922990d5 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep add
+; RUN: opt %s -sccp | llvm-dis | not grep add
 
 define i128 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2
index 7db4e362eb4c8bf78234d52c6d82b4dc46dc52a7..4a173549b9af67099912a9ae3fbf0f9e44e5cc84 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: llvm-as < %s | opt -sccp | llvm-dis | not grep phi
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep add
+; RUN: opt %s -sccp | llvm-dis | not grep phi
+; RUN: opt %s -sccp | llvm-dis | not grep add
 
 define i128 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2
index 6e86764bf2cff84c8a96630f41dbf7207484f5d0..cc3d07389bd9da00ed31a28d8ad6ba45246cd712 100644 (file)
@@ -2,8 +2,8 @@
 ; arithmatic operations.
 
 
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep mul
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep umod
+; RUN: opt %s -sccp | llvm-dis | not grep mul
+; RUN: opt %s -sccp | llvm-dis | not grep umod
 
 define i128 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2
index a90bd7d7315b18423f716a416a0c261c55449c62..541412bf86b02b4ade7f0659c9339c910b9b786d 100644 (file)
@@ -2,9 +2,9 @@
 ; logic operations.
 
 
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep and
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep trunc
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep {ret i100 -1}
+; RUN: opt %s -sccp | llvm-dis | not grep and
+; RUN: opt %s -sccp | llvm-dis | not grep trunc
+; RUN: opt %s -sccp | llvm-dis | grep {ret i100 -1}
 
 define i100 @test(i133 %A) {
         %B = and i133 0, %A
index 5cd1107a7a44d6c01cf66841fcdc186d8a97609c..91886ffe60baebe3da875c735eac2c9785e0d79b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep %X
+; RUN: opt %s -sccp | llvm-dis | not grep %X
 
 @G =  global [1000000 x i10000] zeroinitializer
 
index 59cfa3f7a2f3b7b034e58a1e03f9514243df8f37..eb374ff98ddd4baa739e012a691de4810c80f5b6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep -v {ret i512 undef} | \
+; RUN: opt %s -ipsccp | llvm-dis | grep -v {ret i512 undef} | \
 ; RUN:   grep {ret i8 2}
 
 define internal i512 @test(i1 %B) {
index 65e5ee7e89ecad83737ba4ed940bf12f7703377b..e6a971d9d3f50b5c3360a885834284008b804283 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep -v {ret i101 0} | \
+; RUN: opt %s -ipsccp | llvm-dis | grep -v {ret i101 0} | \
 ; RUN:    grep -v {ret i101 undef} | not grep ret
 
 
index a0656b75c132d10c2a5e0f5ffb85be26031e1b9c..59775471059bd899ca5bf6f408e4270f2ac73d2f 100644 (file)
@@ -1,8 +1,8 @@
 ; This test makes sure that these instructions are properly constant propagated.
 
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | not grep load
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | not grep add
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | not grep phi
+; RUN: opt %s -ipsccp | llvm-dis | not grep load
+; RUN: opt %s -ipsccp | llvm-dis | not grep add
+; RUN: opt %s -ipsccp | llvm-dis | not grep phi
 
 
 @Y = constant [2 x { i212, float }] [ { i212, float } { i212 12, float 1.0 }, 
index 96509714bb070696705b1329bd19dc8966444c8a..66629d75ecafe4cf89340c7e2f347df4439791d3 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly constant propagated.
 
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | not grep load
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | not grep fdiv
+; RUN: opt %s -ipsccp | llvm-dis | not grep load
+; RUN: opt %s -ipsccp | llvm-dis | not grep fdiv
 
 @X = constant i212 42
 @Y = constant [2 x { i212, float }] [ { i212, float } { i212 12, float 1.0 }, 
index 77f6bc869266ef2f9882fe729e18d2cb636deb9e..21c998b47047dbf22e2aabcd884f3303530a13a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep phi
+; RUN: opt %s -sccp | llvm-dis | not grep phi
 
 define i999 @test(i999%A, i1 %c) {
 bb1:
index 08640a9a239af0bfcdd2ae1c94d76a2a02cd36ca..a0cc398dab2decc2f3d6ec238b262d853305d5bc 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep add
+; RUN: opt %s -sccp | llvm-dis | not grep add
 
 define i32 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2
index ee6eb8e4a803762c9d91c9e76f6d4aec59c48188..3e42432548ea07fe78f38e295ae2570c79a23045 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -loop-deletion -simplifycfg | llvm-dis | \
+; RUN: opt %s -sccp -loop-deletion -simplifycfg | llvm-dis | \
 ; RUN:   not grep br
 
 ; No matter how hard you try, sqrt(1.0) is always 1.0.  This allows the
index 1449ea70c39babdaf68285e1506fb33e053c64a6..525747ff6ee7e6e50848c9d2ff33f155c115c2f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | \
+; RUN: opt %s -ipsccp | llvm-dis | \
 ; RUN:   grep -v {ret i32 17} | grep -v {ret i32 undef} | not grep ret
 
 define internal i32 @bar(i32 %A) {
index b98bbf44be68db2e994a3efcd78b824d07df4ad6..cbeee601db94bb0cd1529fb2468bd7332acb6bd1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | \
+; RUN: opt %s -ipsccp | llvm-dis | \
 ; RUN:   grep -v {ret i32 0} | grep -v {ret i32 undef} | not grep ret
 
 define internal i32 @bar(i32 %A) {
index 6f2ee1f4d8a33f0d41e02e4a2e8f0105717f6cba..7dbb86a863eeb72fdc9b8fcd298e9b0a9ebb1943 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | not grep global
+; RUN: opt %s -ipsccp | llvm-dis | not grep global
 
 @G = internal global i32 undef         ; <i32*> [#uses=5]
 
index 0cbbdf60366190d599f6e94dce23b76addf5a2cd..172f3d253495f27cb74c419df1a349e7afe2db54 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly constant propagated.
 ;
 
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep load
+; RUN: opt %s -sccp | llvm-dis | not grep load
 
 
 @X = constant i32 42           ; <i32*> [#uses=1]
index 87454e4dcea65d4bd58b522f97cc066909801216..15eb1954794319e57cbcca119d0b8635c33919c1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep {ret i32 0}
+; RUN: opt %s -sccp | llvm-dis | grep {ret i32 0}
 
 ; Test that SCCP has basic knowledge of when and/or nuke overdefined values.
 
index c75de5dde8fa609ce6879a5b1b6af661ba4af2c2..9946a88eeeef3edc60c7722abc8df09656fad066 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -dce -simplifycfg | llvm-dis | \
+; RUN: opt %s -sccp -dce -simplifycfg | llvm-dis | \
 ; RUN:   not grep br
 
 define i32 @test(i32 %param) {
index 84ba2d43cde7bf976870fa68892c02a25d2105d0..7606d85635fb2aa53470f944649ce58f48e56e51 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: llvm-as < %s | opt -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 74b20d09c143395065c9f3bd7db8863e7ec64854..1e0fc4840164b3c34b78de907d7d9c0b764c233b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep select
+; RUN: opt %s -sccp | llvm-dis | not grep select
 
 define i32 @test1(i1 %C) {
        %X = select i1 %C, i32 0, i32 0         ; <i32> [#uses=1]
index 81a1476fc9642f26860c831f84b190e263331770..a9cf372a4612336e43ce1e92127354cf24587ac0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 21701dd84be63178b6ef8cc76946a9356e03d107..8a1a07e0885aa28e55d30691a30378d0e40e2304 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: llvm-as < %s | opt -sretpromotion | llvm-dis | grep sret
+; RUN: opt %s -sretpromotion | llvm-dis | grep sret
 
 %struct.S = type <{ i32, i32 }>
 
index 10f92efc8654f081bd0e0ab43894b2d3e695f125..e4ea12423fb17f8288728b2ceae6996d90e181b5 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: llvm-as < %s | opt -sretpromotion | llvm-dis | grep sret
+; RUN: opt %s -sretpromotion | llvm-dis | grep sret
 
 %struct.S = type <{ i32, i32 }>
 
index 4146cce46ed0f03b5515ad02596deb9e4076f37b..df84021059d8d128288f989990850a05cb5a3a03 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sretpromotion | llvm-dis > %t
+; RUN: opt %s -sretpromotion | llvm-dis > %t
 ; RUN: cat %t | grep sret | count 1
 
 ; This function is promotable
index 652dfe075bd671a26eec942fb8d217b8d4db61c2..aa5bcc8c6f3269e5a27e61c9a2134d04acc5fc2b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 11a4f60b1542116056430b580a13748c33f2ecd5..bd90d1f9631136fe8f884c7dc431135bb8ac5a40 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ssi-everything -disable-output
+; RUN: opt %s -ssi-everything -disable-output
 
 declare fastcc i32 @ras_Empty(i8** nocapture) nounwind readonly
 
index 0c60b045b618860ccb4003d52df78a9c40393df2..f17436005bff19d11d57e4e6d442f775c351f4fa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ssi-everything -disable-output
+; RUN: opt %s -ssi-everything -disable-output
 
 define void @test(i32 %x) {
 entry:
index 480c7033bc462303f9469f79c02a3eeb8f27f9a7..65cd8b579bdbf79047595020a85f8ba527c7a841 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ssi-everything -disable-output
+; RUN: opt %s -ssi-everything -disable-output
 
 define void @foo() {
 entry:
index bdee6fed5249700c9357f3655c247394697d527f..54efe58cce286c71f5cb4295ad69f3c80d236781 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ssi-everything | llvm-dis | FileCheck %s
+; RUN: opt %s -ssi-everything | llvm-dis | FileCheck %s
 
 declare void @use(i32)
 declare i32 @create()
index 5a9f3a52c667a35a95a97076defb1875ab0957cd..6171ae3075280a29659971ad8c8c5de17766e95d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl -instcombine | llvm-dis | not grep alloca
 
 ; Test that an array is not incorrectly deconstructed.
 
index 83a18c1cd58a2b06b4643f9c6164b823d1662e64..50967a612065597c799d83f70c29a23f2a73f952 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 422064967819f297859f59aff78cb3c6dead3ef5..be99c9146f81c3b45b5247af22bc40095783b888 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl
+; RUN: opt %s -scalarrepl
 
 define i32 @test() {
        %X = alloca { [4 x i32] }               ; <{ [4 x i32] }*> [#uses=1]
index dbac15c3a5211fd046e37f4dca37a63aab47a8ae..54dc693e4a8d974dcbe624d3aba137e14d727cb6 100644 (file)
@@ -1,6 +1,6 @@
 ; Scalar replacement was incorrectly promoting this alloca!!
 ;
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   sed {s/;.*//g} | grep {\\\[}
 
 define i8* @test() {
index c5c059b154dd4d85a64dc9e33d6f9bd97ba2ea92..ae65933f014ceb97f8a52902b338f49cfe87114b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {alloca %T}
+; RUN: opt %s -scalarrepl | llvm-dis | grep {alloca %T}
 
 %T = type { [80 x i8], i32, i32 }
 declare i32 @.callback_1(i8*)
index de6e2974a9ec1bdd17c20be2317989101f21e376..a4a1aecd347a07a8eeadead6cf8dce9b18d5c133 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 bcb8457d553ae5eb5a3afd3b32d9bee9f1f08bc8..d62d4c9f5229647825949cefc1176a7d56c2f882 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 
 target datalayout = "E-p:32:32"
 
index 18493f59471352d41d53e21082ca5f69bd60c596..81a6d2115b451f499abb25913124fd969aa1b8da 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 
 define void @output_toc() {
 entry:
index 0007665a8f8655fa9767c6ff9e2c8fe612f27f55..357d4d3bb106f2d715011f6a9415ac4e4b0cc48c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 ; END.
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8.7.2"
index f0253b7bea9330e28880af17ef2b1526168d758b..ab9a15b64bfc96b6ae81df90ed8bc1af9167f382 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl | llvm-dis | 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 ae870d38558036d1f10baf0b8c6e8f66f0c946c8..33f560996752476e38e877117589923b585785d2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -disable-output
+; RUN: opt %s -scalarrepl -disable-output
 ; PR1045
 
 target datalayout = "e-p:32:32"
index 769ec199b8495300f72d1fa1566808bf094e3cb1..49a7eabf7d38807d038fd914b1c312ceddc1e94f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 43b721b7013e1fba851710d52aa540981d66a302..7a8532ca0c78840997c8733e963957211baba7f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {alloca.*client_t}
+; RUN: opt %s -scalarrepl | llvm-dis | 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 dc1198ead89f32f3dc8adf6dc8b22d07164e306c..2d443717c60f2729602f34ed120560ff16e8665a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep memcpy
+; RUN: opt %s -scalarrepl | llvm-dis | 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 d2d2b24da763a8c8019348453f336354517093b0..d66181adc9518b81c85e987752e13b320845b33a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep shr
+; RUN: opt %s -scalarrepl | llvm-dis | not grep shr
 
 %struct.S = type { i16 }
 
index 0675a966b5a3a1a7a5b7ca1404df4d00ec0e4522..ac58f9c073983d2ccff0affb96c8bc2c4337c4af 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | grep {ret i8 17}
+; RUN: opt %s -scalarrepl -instcombine | llvm-dis | 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 9ec5fa381221cb7f87db262a89c7693e7b4a235d..86b91309f36c2ddc98a0a256595a441d9bd81fb1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl | llvm-dis | 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 73d92be179e41f1393a98adb6e864cbc05da533f..780447bc2c0140077681cad24bb4bb0116fa90be 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: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl | llvm-dis | not grep alloca
 
 define i32 @foo() {
        %target = alloca { i32, i32 }           ; <{ i32, i32 }*> [#uses=1]
index 8fbbb6749a9c001d1d8ddf546a02dcd222ff2cbf..f6bf52e4f8473f98b9882be1b847995bb29e02b6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {call.*mem} 
+; RUN: opt %s -scalarrepl | llvm-dis | 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 a2386fdedcb75cc879eac66e5f02ddbabe8fb78b..4122f2536ca61a7b3105531ca220ce4b44e2ce94 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {s = alloca .struct.x}
+; RUN: opt %s -scalarrepl | llvm-dis | 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 6640383973e26105c2fac5b2612e2ab33c6ac09c..0215e5bba831a7cf2595fd884abfe3ac4e7c8c9e 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: llvm-as < %s | opt -scalarrepl | llvm-dis > %t
+; RUN: opt %s -scalarrepl | llvm-dis > %t
 ; RUN: cat %t | not grep alloca
 
 %struct.two = type <{ < 2 x i8 >, i16 }>
index 9cdf4a0ef245ffd81bedb3f8e6e84e9a2a6293ff..a4f73be57324f45d19e14ccc477b03d6fb47ddb7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis
+; RUN: opt %s -scalarrepl | llvm-dis
 ; PR3304
 
        %struct.c37304a__vrec = type { i8, %struct.c37304a__vrec___disc___XVN }
index af34baa0c5cf603df33a253c471b49a85c68b38b..37bb85c0f616c62bd56b7247a68f4705b171e604 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | grep {ret i32 %x}
+; RUN: opt %s -scalarrepl -instcombine | llvm-dis | 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 3bea5738ab80ff6635d7028fd3a1c4b11671fddb..833bbbdf02e7fc96a4a667fe12e94ab50f6fbe4c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -instcombine -inline -instcombine | llvm-dis | grep {ret i32 42}
+; RUN: opt %s -scalarrepl -instcombine -inline -instcombine | llvm-dis | 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 4fc491b297986c35c536932f7cb403aaf150fbae..b0848ab5986e0cb090f2da8edcc4a5817f24f576 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: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {store i16 1, .*, align 1}
+; RUN: opt %s -scalarrepl | llvm-dis | grep {store i16 1, .*, align 1}
 ; PR3720
 
         %struct.st = type { i16 }
index 437e732653f9e8ccdeb83c1f04be3f992788b775..9d69cb642c173e5983fceaa427ced028464d0d8e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 facb7c13c0ad6853773dc514763a0a49983b8463..55ba33afbc3cb9fc764b70b4dde3dda732927d66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep store | not grep undef
+; RUN: opt %s -scalarrepl | llvm-dis | 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 2342f05aac7f76063e293f65795d9ece4e65fc9d..d433e9f5b23c118fe98d4c11d2b3b718f9e8b68f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 0a604e9dcc3c529b5d756643d178e5892ca58013..37f071b681311665475bfdf3500edf56a8576a9e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis
+; RUN: opt %s -scalarrepl | llvm-dis
 ; PR4146
 
  %wrapper = type { i1 }
index ffdd679355a7b48397459a8b3769e7c941d1c304..d93cc185f843b2ff09b2335436798728315d7a63 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 61e67ad563ab7a2b5a154af75c6ddc12502e2021..381d0fbc77fc08d26d9942f4b249d875e872e5cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 104a0f989760ae06ae0c474acdff17b12a8b0d7c..6b8a50bee5dd581de9fbeacf87ca5a5be2252409 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   not grep alloca
 
 target datalayout = "E-p:32:32"
index c0604142df89a1178d1de6fcaf5e6e421131228e..0bcd38d5ef0f4f72b63b3e9f95d53d9df5809fa2 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: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   not grep alloca
 
 define i32 @testfunc(i32 %i, i8 %j) {
index 911a8e38c0873ef0e1b754244e745f1a2ae6a114..4499f67bc4fd0226c3368baf2cea4dd6533cf33e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -mem2reg | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl -mem2reg | llvm-dis | not grep alloca
 
 define i32 @test() {
        %X = alloca [4 x i32]           ; <[4 x i32]*> [#uses=1]
index c48848630564bb2e02c7152ee079bceba099b40d..686c13714f32a39ef61bc35ae566a97b85903e83 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl -instcombine | llvm-dis | not grep alloca
 ; PR3466
 
 define i32 @test() {
index 11a1d51a9676720bc3d2920abde6677eb197b54b..7e5998b052ae1febaa930c9bb9d04ce15a96174c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -mem2reg | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl -mem2reg | llvm-dis | not grep alloca
 
 define i32 @test() {
        %X = alloca { i32, float }              ; <{ i32, float }*> [#uses=1]
index 34dd120e3f8f93bcbbc22816f3de4b5d013b5bc5..54fe08e486a0f8d42549b30b6e61aeb1d8d9e36d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca        
+; RUN: opt %s -scalarrepl | llvm-dis | not grep alloca        
 ; rdar://6532315
 %t = type { { i32, i16, i8, i8 } }
 
index a1ad3f9b82807685a1035adfad0aea95ab2f5e6a..c98e03d76818b48603d3149313afeebe83f939ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl | llvm-dis | not grep alloca
 ; PR3290
 
 ;; Store of integer to whole alloca struct.
index 63ecd687ac5b2e6bc7b7a623e8455b9b8fe203a0..8484a34e78091d806909d49f87a750bd80c41b59 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl | llvm-dis | 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 df13db739f55c5fe41ab9efeae019a5c9a7f6e46..f6f9cbf022116c49201e31294132a3c1fd38f557 100644 (file)
@@ -2,7 +2,7 @@
 ; are directly loaded from or stored to (using the first class aggregates
 ; feature).
 
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis > %t
+; RUN: opt %s -scalarrepl | llvm-dis > %t
 ; RUN: cat %t | not grep alloca
 
 %struct.foo = type { i32, i32 }
index e62ccc2954510f53d936dda595926c3b92090e83..111b2933f0245b750309c6f38c0172965c4f3f1f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep {call.*memcpy}
+; RUN: opt %s -scalarrepl | llvm-dis | 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 91d8ea900717673f869dea7ec9906d36cc1f8b36..1ec67c5138e1592aa57d1e615b13b2035a9a6762 100644 (file)
@@ -1,7 +1,7 @@
 ; PR1226
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   not grep {call void @llvm.memcpy.i32}
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep getelementptr
+; RUN: opt %s -scalarrepl | llvm-dis | grep getelementptr
 ; END.
 
 target datalayout = "E-p:32:32"
index b7b33521bbcefcd40ceace01245a9d07260c2723..0e1f025d92ace763002b0fbe570dcb331b7704ee 100644 (file)
@@ -1,7 +1,7 @@
 ; PR1226
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {ret i32 16843009}
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca
-; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | grep {ret i16 514}
+; RUN: opt %s -scalarrepl | llvm-dis | grep {ret i32 16843009}
+; RUN: opt %s -scalarrepl | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl -instcombine | llvm-dis | 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 e2111e7b31c2d90a49184e5ec6b5df053644cfca..f89ac613e67286e27a43c4a43185c3b238a9ec19 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep {7 x double}
-; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | grep {ret double %B}
+; RUN: opt %s -scalarrepl | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl | llvm-dis | not grep {7 x double}
+; RUN: opt %s -scalarrepl -instcombine | llvm-dis | grep {ret double %B}
 
 define double @test(double %A, double %B) {
        %ARR = alloca [7 x i64]
index 4eb8743bd1cf10c0e4c4fa82511de6a1345755e3..c8ec35f30b45f141cd29610c85a1a7b9189be5b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine -mem2reg | llvm-dis | not grep alloca
+; RUN: opt %s -simplifycfg -instcombine -mem2reg | llvm-dis | 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 901fa90dc96d522f192fed59b1d8ba0f2cf844f6..5cbeea7b91f3389fc86effebca6bda04064540f1 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: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | not grep alloca
+; RUN: opt %s -instcombine -mem2reg | llvm-dis | not grep alloca
 
 define i32 @main() {
        %mem_tmp.0 = alloca i32         ; <i32*> [#uses=3]
index 1bfdaccc0d8d007ac647861692dd8b2252c37d9e..9394eac23d246b5619e76ac94879ea31bc0c16db 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 e0ea2bc93fec2e008265b898f7151c89076f7439..5d0db106fe81c6e90fcbf9114330bb3577066ecd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 1c3b18b4a1e15cf1b0b870314811f80c4941a084..7c3821c3a1a15ba8ece37908271f00fb570f5c2d 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   not grep alloca
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   grep {bitcast.*float.*i32}
 
 define i32 @test(float %X) {
index 10d8a5d7ac4b747206aa000a5eb0809b7196f5e6..df68951d9013e8a859cb553c20470d2781bef3f8 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   not grep alloca
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   grep bitcast
 
 define <4 x i32> @test(<4 x float> %X) {
index 269b4b9ff52ea8b0710962fff621bd1c90007a36..f6b9eb89e67dcddf408c268fe8488e12b54a40be 100644 (file)
@@ -1,7 +1,7 @@
 ; PR892
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
+; RUN: opt %s -scalarrepl | llvm-dis | \
 ; RUN:   not grep alloca
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {ret i8}
+; RUN: opt %s -scalarrepl | llvm-dis | grep {ret i8}
 
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8.7.2"
index 56785788ff9af6b29f7f2adcf28f80ef756c3898..6032dd376eba0775bc52795eb90429e9367120f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis > %t
+; RUN: opt %s -scalarrepl | llvm-dis > %t
 ; RUN: grep {ret <16 x float> %A} %t
 ; RUN: grep {ret <16 x float> zeroinitializer} %t
 
index 4b6555b3d673a4259337b9fe281d18f5546c90f9..a8f326e22134ca0e1b892c3cf21eebcdd64218c5 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep alloca
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {load <4 x float>}
+; RUN: opt %s -scalarrepl | llvm-dis | not grep alloca
+; RUN: opt %s -scalarrepl | llvm-dis | grep {load <4 x float>}
 
 define void @test(<4 x float>* %F, float %f) {
 entry:
index 5f9fe0d89a5a318e1533397633f7da1b96c32060..45427613876a2d5e52bc515c32c41d97e212f2b3 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {volatile load}
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep {volatile store}
+; RUN: opt %s -scalarrepl | llvm-dis | grep {volatile load}
+; RUN: opt %s -scalarrepl | llvm-dis | grep {volatile store}
 
 define i32 @voltest(i32 %T) {
        %A = alloca {i32, i32}
index 5682ff4e40df1ad5a91c3803b4a6e8a55279bcec..cd6d924f446d1f3fa67e884348b0e37885b038eb 100644 (file)
@@ -1,6 +1,6 @@
 ; Basic block #2 should not be merged into BB #3!
 ;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   grep {br label}
 ;
 
index c955d668898f35a1ff72bc54b03499605ec80d6b..9f945a833a2ed501cdecd362b014ed4af097ab52 100644 (file)
@@ -4,7 +4,7 @@
 ;
 ; Which is not valid SSA
 ;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis
+; RUN: opt %s -simplifycfg | llvm-dis
 
 define void @test() {
 ; <label>:0
index 87b428600ba502b9750c2422945c7930abd11fd9..f8e7e40d88ae4119b3401e21ba16a785f892fc9e 100644 (file)
@@ -1,7 +1,7 @@
 ; -simplifycfg is not folding blocks if there is a PHI node involved.  This 
 ; should be fixed eventually
 
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 define i32 @main(i32 %argc) {
 ; <label>:0
index 75beb344a883243a17168d8333eed7c68783687a..ef5a4f4f53329b4b067b54758beca150cfe658d2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg
+; RUN: opt %s -simplifycfg
 
 define i32 @test(i32 %A, i32 %B, i1 %cond) {
 J:
index c45a5c9da98c6537b76fe231fcc54a7e337f257a..edef456a5f38db1687de7545c092f8cb380e07c9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @test(i32* %ldo, i1 %c, i1 %d) {
 bb9:
index 74e7428429de484435147f0b18706d5d5407f24b..3e6b20829d7b817352fd8ef3d3214ab6e19dab72 100644 (file)
@@ -1,6 +1,6 @@
 ; Do not remove the invoke!
 ;
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define i32 @test() {
        %A = invoke i32 @test( )
index 9f56e07bfd62c9af0352df34e2508d5966171648..8de559ca55d188cfa9f87845914b352283a87b31 100644 (file)
@@ -1,6 +1,6 @@
 ; Do not remove the invoke!
 ;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep invoke
+; RUN: opt %s -simplifycfg | llvm-dis | grep invoke
 
 define i32 @test() {
        invoke i32 @test( )
index ea74692d05f765cb5a0943377d472a8d86441127..63fdb4adcf28c80893013d20245fd1a290c8946b 100644 (file)
@@ -1,7 +1,7 @@
 ; This test checks to make sure that 'br X, Dest, Dest' is folded into 
 ; 'br Dest'
 
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not grep {br i1 %c2}
 
 declare void @noop()
index a307573d3d338140c9d14d56a22decfaabc501b7..1fd265502b89fd42141e72f556edcad0427ab55f 100644 (file)
@@ -3,7 +3,7 @@
 ; due to the fact that the SimplifyCFG function does not use 
 ; the ConstantFoldTerminator function.
 
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not grep {br i1 %c2}
 
 declare void @noop()
index c9f50907569a73ea8624afd92982076f52ec6f3e..abd260cfd8a80babc3ddffa47032ac2e54cb1da1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not grep switch
 
 
index cd22e1edb15a60922285728faec84f550bc3af2b..f4e17e91053d286fd6469c9391f3989d2e76749c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not grep switch
 
 ; Test normal folding
index de0d2624582931dd5bee6a27fe2ca49c337b637f..f0331a46641978fd4ffe9a9a78c6ad61f54fa70d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @symhash_add() {
 entry:
index 7fea2921b023de8ca85f18ba2a83b848e782895e..8e6bccb1dfe8ffa0a34433e6afd40c397e8a3543 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 83143218b1ad9e55677e39ec1a5c50e1f2b5dd64..64e73567c488d5d62aafd97a4bc67118453f5c3e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
 
 define void @main() {
index 51490a00eb4739ae28ba6bbed9961f3f42a6cf20..5b172b496f51e8f09e7fc7a917085d0c451c68af 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
 
        %arraytype.1.Char = type { i32, [0 x i8] }
index a0fe7817743ac8e8fb418c3aa50d237406d63c64..7f6e244b01b5e6e603c152813239154695b7ed51 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define i1 @foo() {
        %X = invoke i1 @foo( )
index 27413fcf9fa16980450fc5a6af9c2b6e170d520f..8e91e997c2e1c1a786366e820fa528a9bee0bac6 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure this doesn't turn into an infinite loop
 
-; RUN: llvm-as < %s | opt -simplifycfg -constprop -simplifycfg |\
+; RUN: opt %s -simplifycfg -constprop -simplifycfg |\
 ; RUN:   llvm-dis | grep bb86
 ; END.
        
index 4400624d184d0a229d1d95e9a74321c81832b18c..6ee83a48a5a076f6e5cec6ff6245a0bc5d008ee8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @polnel_() {
 entry:
index 4981cf3c9aa34eb55aed1f02523ede7260030853..4e975b04d9928224a55e68c5aca801a8b9b0d59c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
 
 define void @main(i32 %c) {
index e410c35450bbf2a53cd2bb9460decdf687eafe7e..eb5a55f46cabca8b927cd5d4dd004ae8be583d6d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -gvn -simplifycfg \
+; RUN: opt %s -gvn -simplifycfg \
 ; RUN:   -disable-output
 ; PR867
 ; END.
index 0d056eed74e1010e90d5a9fa94d31d4f7b5fb2f6..02ce47c113345a6aabf1e2d2d9ceb798435497b4 100644 (file)
@@ -1,5 +1,5 @@
 ; PR957
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not grep select
 
 @G = extern_weak global i32
index 6bfef021493170a3944dbc9526acee645101ef9e..ecc51247e20fe79e2f9b1162c8ebada3de3f6df4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
        %struct..4._102 = type { %struct.QVectorData* }
        %struct..5._125 = type { %struct.QMapData* }
index d433f0482955c7364b12c418cff8822e48111ef8..955a36ad3d936d13004c8774961bcfcc5df3dbda 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis
+; RUN: opt %s -simplifycfg | llvm-dis
 ; END.
 
 ; ModuleID = '2006-12-08-Ptr-ICmp-Branch.ll'
index 449047b0d32f6e7a9cd8df3f5dccb99845d5cba1..c3c9f322b6c29fefd2d207673ded2a172a127e61 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep invoke
+; RUN: opt %s -simplifycfg | llvm-dis | not grep invoke
 
 declare i32 @func(i8*) nounwind
 
index fe1ca80468bee9ddecf099fdb421fd0e3d0f5e2e..22814959d72503b4597ee25109cd9cbe81e1d819 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: llvm-as < %s | opt -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 4c9c9e8ae6850b70c2fb3098820866e59a640a8a..966c91d1f28a9d65e1b664b616992755714c0eb0 100644 (file)
@@ -1,5 +1,5 @@
 ; The phi should not be eliminated in this case, because the fp op could trap.
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep {= phi double}
+; RUN: opt %s -simplifycfg | llvm-dis | 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 5ee13526785db4ee0009d02207cfb5c85cff14a5..145ec556bc243e19cd49f16d03a64dfcb1f2d423 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 be3410c15a385defde3abd1379c7065194744a3d..c3813a0281427326ae32788031f7998f11e7fcc2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 8af26402d6713e702d17cd221359d58144842f4b..d3bc1306b555d72ee22d4341f2bd53078b5b8b01 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis > %t
+; RUN: opt %s -simplifycfg | llvm-dis > %t
 ; RUN: not grep {^BB.tomerge} %t
 ; RUN  grep {^BB.nomerge} %t | count 2
 
index 0678e20ed4af5db4bcb58438aa24eacce1505af6..fd40be79bc37012a5502d92554e9c1c92c74c5be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep {%outval = phi i32 .*mux}
+; RUN: opt %s -simplifycfg | llvm-dis | grep {%outval = phi i32 .*mux}
 ; PR2540
 ; Outval should end up with a select from 0/2, not all constants.
 
index 82a2cc03033a6d9d0023793c599ec5d9bb250be7..3bbba1c5fbd79a3eeb52a6e562bdfe7d2e47ac58 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; PR 2777
 @g_103 = common global i32 0           ; <i32*> [#uses=1]
 
index b2d671da67f46052a7ab9a73f086b4384f400040..1746fa999838e4e2d531fab24c107de720bfcdf1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; PR 2800
 
 define void @foo() {
index a061a82954b679c794e6e09066ccb585b92248db..0006e4a5d3d441a52167d824a4371a283ba69bc6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg
+; RUN: opt %s -simplifycfg
 ; PR2855
 
 define i32 @_Z1fPii(i32* %b, i32 %f) nounwind {
index 7b4aee489b55cdb1a6cf375f00a6e254c0d14852..6dffdf1598a9f2237603344d5eab59fdd96f517c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis
+; RUN: opt %s -simplifycfg | llvm-dis
 define i32 @test() {
 entry:
        br label %T
index b52d10dc3bc9a2cafb3c44a297e9a3500937e25e..3a48f8cb781115442cd0f8543a2379ee37db569a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep icmp
+; RUN: opt %s -simplifycfg | llvm-dis | 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 692ef748262c79d4d0092f1d8a2c67592337855a..b43ce8a3679dd404e59956a0238b1f2aef961317 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis
+; RUN: opt %s -simplifycfg | llvm-dis
 ; PR3016
 ; Dead use caused invariant violation.
 
index e65bafa6805d2b9405f1a17dcd546e37e3f9a9ca..b9411a0f1796717a35f7086d231a60ed346e5357 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep {br i1 } | count 4
+; RUN: opt %s -simplifycfg | llvm-dis | grep {br i1 } | count 4
 ; PR3354
 ; Do not merge bb1 into the entry block, it might trap.
 
index 9033976108a9efd9929869093a15b542c8cededd..0d6f8e0edcab4c6cb361b5c8fe8f7ef050c65ba3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep select
+; RUN: opt %s -simplifycfg | llvm-dis | grep select
         %llvm.dbg.anchor.type = type { i32, i32 }
         %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
 
index dc0cbbebedc2e3a0c967d84ea3f5d73d98e1cff0..1088a0fbe124533130d43c1a611fa3e94777845a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep select
+; RUN: opt %s -simplifycfg | llvm-dis | 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 d0e7ed7872844e19725504fa3090f04be3f1907e..bcc4b8727b48bd9bb491b4087beaf39e7a3a3592 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 ; END.
        %struct..4._102 = type { %struct.QVectorData* }
        %struct..5._125 = type { %struct.QMapData* }
index 1acdecd5781ad3840db9f9687ad0d38ac32e3c39..c9718978310fe85c438b9420a4f0f636dd57b349 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN: not grep {br label}
 
 define void @test(i1 %C) {
index a4c8366e00fbd5a704d37ceba3dea90354f81132..9eed20de0ba3d0758b41f4981c2f414ec1f5b826 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not grep {icmp eq}
 
 ; Check that simplifycfg deletes a dead 'seteq' instruction when it
index 55db7880f125e60bb10f664a0b74b4b1ca7d7b7d..1c174bfe0f5a555b061d1963fc105a1d08e4699d 100644 (file)
@@ -1,6 +1,6 @@
 ; Test merging of blocks with phi nodes.
 ;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep N:
+; RUN: opt %s -simplifycfg | llvm-dis | not grep N:
 ;
 
 define i32 @test(i1 %a) {
index d8894a6faa47d8ebb832dee0bf84ff5062292fea..008aea701a9845ff617bf975b4f2ea6f2b428090 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 define void @foo(i1 %C, i32* %P) {
         br i1 %C, label %T, label %F
index 4f52f6b72e9e6388279c0a82311cb4819742c9aa..e56b9712ed55f0ebd5525153557b02b8f19d46de 100644 (file)
@@ -3,7 +3,7 @@
 
 ; If this test is successful, the function should be reduced to 'call; ret'
 
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not egrep {\\(invoke\\)|\\(br\\)}
 
 declare void @bar()
index f3844f7328e981069f89efc5abec236cb20ccdf5..98453703da8bf564af45c948cb5777ac6db743bb 100644 (file)
@@ -1,6 +1,6 @@
 ; Test merging of blocks that only have PHI nodes in them
 ;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep N:
+; RUN: opt %s -simplifycfg | llvm-dis | not grep N:
 ;
 
 define i32 @test(i1 %a, i1 %b) {
index 24b3d118e7bceee12e4f8caa94df710ba63348cd..f6e91d44c406dea5ced0696d9fd8c1c1edd299d0 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: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep N:
+; RUN: opt %s -simplifycfg | llvm-dis | not grep N:
 ;
 
 declare i1 @foo()
index 94697c96b78a76a39dcf95d8c72d1bca9e3f5df8..3b7a69d82f43c8f1a512baddbe8b5ff07ae99ab5 100644 (file)
@@ -3,7 +3,7 @@
 ; nodes away allows the branches to be eliminated, performing a simple form of
 ; 'if conversion'.
 
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis > %t.xform
+; RUN: opt %s -simplifycfg | llvm-dis > %t.xform
 ; RUN:   not grep phi %t.xform 
 ; RUN:   grep ret %t.xform
 
index ec1b91a0d16e4d885d69a634488bf1aeeb9859af..80769ed6f7677a564e68c416323a0548e064aba4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 define i32 @test(i1 %C, i32 %V1, i32 %V2) {
 entry:
index dfe122abbf9463efed1a84ce480578b798ec5cbb..9470ca86ee6894851a3868a7808fd703d43dd6c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not grep select
 
 ;; The PHI node in this example should not be turned into a select, as we are
index 2be9124fe13ab11b8c3adacebe0b6ed1d69f3608..581df09f0072817081a701d59b17d63ed4f7d9c7 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -simplifycfg  | llvm-dis | grep select
-; RUN: llvm-as < %s | opt -simplifycfg  | llvm-dis | grep br | count 2
+; RUN: opt %s -simplifycfg  | llvm-dis | grep select
+; RUN: opt %s -simplifycfg  | llvm-dis | grep br | count 2
 
 define i32 @t2(i32 %a, i32 %b, i32 %c) nounwind  {
 entry:
index e6c05f3beeb00189b674397b45996018bd1d6f98..7d282ab6a279d19e13bae132c78096fe8ec0ab9e 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: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:    not grep {br label}
 
 define i32 @test(i1 %B, i32 %A, i32 %B.upgrd.1) {
index 3c4491937355b2c5210acd609e0d3b29a2913d11..9c7a79e51f75b31591509088af49c0aae4064979 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep unreachable
+; RUN: opt %s -simplifycfg | llvm-dis | not grep unreachable
 
 define void @test1(i1 %C, i1* %BP) {
         br i1 %C, label %T, label %F
index 1fd629a4fd41603dd496827ac8af4a96b5e8d8a2..996d31e5f3b4de25c68553f498a7e17dd99d0fc1 100644 (file)
@@ -1,6 +1,6 @@
 ; Test CFG simplify removal of branch instructions...
 ;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 define void @test1() {
         br label %BB1
index b2f53a3da6d34cab8deb667b8e695d8d35dc3d98..443a925ec8bb98e428c7dc4e8922ad4d50890c69 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep {br i1} | count 1
+; RUN: opt %s -simplifycfg | llvm-dis | 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 ae465036584fe81d581aa2667163d3bba0a20831..f1da1ba1624d14d6919544d26c5ac1afbb229571 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine \
+; RUN: opt %s -simplifycfg -instcombine \
 ; RUN:   -simplifycfg | llvm-dis | not grep call
 
 declare void @bar()
index a7cd359689d9aa41d66e402af6c53af60fa461d6..8d5cdc57bb7e6fefe5c81839182f169782414231 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep call
+; RUN: opt %s -simplifycfg | llvm-dis | not grep call
 
 declare void @bar()
 
index 444741f5b72d92ef9fa22297031396c2e1561691..b575f5ba75dedc18d8a71cd399c7857926319af6 100644 (file)
@@ -1,7 +1,7 @@
 ; This test ensures that the simplifycfg pass continues to constant fold
 ; terminator instructions.
 
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 define i32 @test(i32 %A, i32 %B) {
 J:
index d671b6edec4557fcc3fce43527fc8c094793ab43..40f59df62ec818759729cf4f1ec6f5044a778f8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep {br i1} | count 1
+; RUN: opt %s -simplifycfg | llvm-dis | grep {br i1} | count 1
 
 define void @test(i32* %P, i32* %Q, i1 %A, i1 %B) {
         br i1 %A, label %a, label %b
index c536b6c88716b0602aff02d304c6c1cd5ff49209..5288f7cfb6c7081c950a3433c718a3dbe4d3ffbd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -adce | llvm-dis | \
+; RUN: opt %s -simplifycfg -adce | llvm-dis | \
 ; RUN:   not grep {call void @f1}
 ; END.
 
index d1d00b37aac244395db2167b101f796bd4c4333d..618657ff5dfe64b2b04e1b9a534fded5f4c17043 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 ; END.
 
         %llvm.dbg.anchor.type = type { i32, i32 }
index 67e44aa37c7fe5a99a14aa921441dfb6f6878ec6..40499011ef3052d33315582bbb280df12def7935 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep "br label"
+; RUN: opt %s -simplifycfg | llvm-dis | 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 ad5cd938aba67e37207d5bb193eb0b7a13242db1..0122fb8962d11da598f1a9a0d314caf2f4a1018a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 
         %llvm.dbg.anchor.type = type { i32, i32 }
index 7512da263bd5ade7fb70d06551d73a11d4d44010..6ab699158c89b59638fdff84ef76fb6682514c6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 declare void @bar(i32)
 
index 9081b01b20a8fd86b16bb0286d2335fd534f6b42..f752458d55a9dd81bc647d1741959ef62aae1df9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep bb17
+; RUN: opt %s -simplifycfg | llvm-dis | not grep bb17
 ; PR1786
 
 define i32 @main() {
index 0e1c6327e8b35caaab8439dc087a9d300840aee9..50d5102eac2e78523a721eb9857bc98890890f2a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep unreachable
+; RUN: opt %s -simplifycfg | llvm-dis | grep unreachable
 ; PR1796
 
 declare void @Finisher(i32) noreturn
index 60267e9ec69b1ef2bda04d50c62fcb388dace5e3..a3756467f41fa6eed678c040b826cb429b740b32 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 define i32 @test1(i1 %C) {
 entry:
index 74559a02647e32582a8b58082eba15857675edb8..6d10ebfcfbdafda0c46de950fdf469527c0e4f0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: opt %s -simplifycfg -disable-output
 
 define void @NewExtractNames() {
 entry:
index 4994cd3960aa094012aafec58257e923c33ba53a..6c473d62aa4cc691ede64b7a1cdb6ca5d09a5349 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 declare void @foo1()
 
index 0ce01f1cfaeae36e77692ebabb018008ba999a63..b8e9574ccba6c666b217b6817680ef7aec736664 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 ; END.
 
 
index 534c471eaad7ce56fa80e0d3982907532da48149..fb3f11288c4b56008a289f6b92050f38d34b9199 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 ; END.
 
 define i1 @_ZN4llvm11SetCondInst7classofEPKNS_11InstructionE({ i32, i32 }* %I) {
index 1590f343a5fdf4afe8819e1b74b580afef1ce620..c30f0c0667eceb35c3dd7e8a3a8a9b89a98c5418 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   grep switch | count 1
 
 ; Test that a switch going to a switch on the same value can be merged.   All 
index 3654b28eed4cbc4934e304c1b0198536d1295afd..778705dba47929473b56f1c4e1d4508a7cd8f3b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   grep switch | count 1
 
 ; ModuleID = '<stdin>'
index a92528a3331f2274f13bc24c2baa86ad06fb5463..c94f52c980ea88965d6bb5bc6d9fc027dd953d02 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
+; RUN: opt %s -simplifycfg | llvm-dis | \
 ; RUN:   not grep {call void @DEAD}
 
 ; Test that we can thread a simple known condition through switch statements.
index a73a82b369717f38eee346e501d86be41b8f3506..8c856c7335ebc62f9e1a2e1975b33782403df453 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep {volatile load}
+; RUN: opt %s -simplifycfg | llvm-dis | grep {volatile load}
 ; PR2967
 
 target datalayout =
index 62d4a4335a51ca912988cacd7e3191232d3f483a..3748ef651b2e56cc39a06ade205224800974dd78 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
         %llvm.dbg.anchor.type = type { i32, i32 }
         %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
index 19814ade4d91752ed74f7cf8fec1718037a3d728..ff9d45ef1bfc5b65814159b7d2c8396dec432a43 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -simplifycfg | llvm-dis | not grep br
 
 define i1 @qux(i8* %m, i8* %n, i8* %o, i8* %p) nounwind  {
 entry:
index 860a6ebf966b90e11b3ee7d8c259a69d25d12819..5b7ec094d7f5703c90a3e7d948fa24703e07909f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 5a56d24a35abe9a1ea0c7cee29159d235b880a81..b1cf0a5180811bd0fa808ef3741e20eec04be15a 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1307
-; RUN: llvm-as < %s | opt -simplify-libcalls -instcombine | llvm-dis > %t
+; RUN: opt %s -simplify-libcalls -instcombine | llvm-dis > %t
 ; RUN: grep {@str,.*i64 3} %t
 ; RUN: grep {@str1,.*i64 7} %t
 ; RUN: grep {ret i8.*null} %t
index b6c0ffdb704f089f302ad3e920c276813334bb38..2415c87a0d26e511b4dca32236b21e18695ff3c9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep i32
+; RUN: opt %s -simplify-libcalls | llvm-dis | grep i32
 ; PR2341
 
 @_2E_str = external constant [5 x i8]          ; <[5 x i8]*> [#uses=1]
index fcaf12e188da506953e52baba012f7a574823162..52fe14636108b4e7a2ff6bc70c89fb975e0ab770 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis > %t
+; RUN: opt %s -simplify-libcalls | llvm-dis > %t
 ; RUN: grep noalias %t | count 2
 ; RUN: grep nocapture %t | count 3
 ; RUN: grep nounwind %t | count 3
index 551a2bb6b9904022359cef61f6965749fdd8c834..9fbbb0b39d2ac6a786b130922819c17c45458a28 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 4aeff1c048d85c2600d0363b57827ccac805e000..4ed64a8acc318e1a546e3f53c0f4e4ab56a32995 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis > %t
+; RUN: opt %s -simplify-libcalls | llvm-dis > %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 f7209934f7693427bcd4ebc686f58c891321839f..8f9e980ca6ef35c70b47fa10b0b653c59b508aca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls -instcombine | llvm-dis | grep {ret i32 -65}
+; RUN: opt %s -simplify-libcalls -instcombine | llvm-dis | grep {ret i32 -65}
 ; PR4284
 
 define i32 @test() nounwind {
index e4d9f89e4d105ee8f35770dd0fa7532f48dcd8e8..7114fce4686ca5377c20abab188e4904506a1da5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6fad326088006ee16618ab4c33e80fd7f6b72fff..22d817c79a90f5d44b48c76af65dcdb3bdba6605 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls -disable-output
+; RUN: opt %s -simplify-libcalls -disable-output
 ; PR4645
 
 define i32 @main() {
index d6a504af867d80268eed6a70b814eb7865d7b616..8faba9a4ac7faee4938878063e2c4aa54fed6e6b 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the ToAsciiOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*@ffs}
 
 @non_const = external global i32               ; <i32*> [#uses=1]
index 2ac9f14497dc088730a73bc81e59354855ebffc9..690c4256aa73d3497db01de822f9d078af15c9ee 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the FPrintFOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*fprintf}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index a290e0107d45d47925111384d526f45af40662b9..869a371ff6aecc09676b65de45a1c5ffe2eb9908 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the IsDigitOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep call
 
 declare i32 @isdigit(i32)
index 4e33b0755f94ed0095a065be5242220ddeacca73..98165a155adc3449a51be050abfdc79c58f434bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constprop -instcombine | llvm-dis | not grep {call.*llvm.memcpy.i32}
+; RUN: opt %s -constprop -instcombine | llvm-dis | 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 c892f0341ab326e0780e7d01bc91c37f229cc9cb..f46b3394a07694d832149489b01a0b8b6a242a45 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep putchar
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | grep putchar
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*printf}
 
 @str = internal constant [13 x i8] c"hello world\0A\00"         ; <[13 x i8]*> [#uses=1]
index 6753db8798c37d9b3fac6cab73bb21029bfbb699..3e235cd022b1d89a2780b2d010312c1438b436fa 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the PutsCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*fputs}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index 6b1525651b757255a0af38d6868ebd7d4d974567..2035594fecbb25261947bf476050e93de85ca510 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the SPrintFOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*sprintf}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index a2e1f3af2f656c1d70efc537216b45c4100091a0..b555e12608ad6a954de60799004270705f96239b 100644 (file)
@@ -1,8 +1,8 @@
 ; Test that the StrCatOptimizer works correctly
 ; PR3661
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*strcat}
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   grep {puts.*%arg1}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index 89e846f3bf8cce740fee37f2666d1db5ee0d10c0..b12d8b1e85a0a118b34b207410b76907d6302428 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrChrOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*@strchr}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index ae28e4a1000826283a5d0b47918d7b4f00c7324d..149cbf0a16ff711d1367f863a037963d07b395ff 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrCmpOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*strcmp}
 
 @hello = constant [6 x i8] c"hello\00"         ; <[6 x i8]*> [#uses=1]
index 9dc01b326e749a6e5c66e9d29b58818f790031ea..84b48a58a48ef779b650ef63b134bbd31670d4b5 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrCpyOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*strcpy}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index 521a2242c9bf68077896ba69ac1e538c36ebf866..dc2ebe0f77e0bdd86e8156f6d14dc03848e4179d 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:    not grep {call.*strlen}
 
 target datalayout = "e-p:32:32"
index 7ae7097c38eec3d6cb97bf8f833779308c696cf6..277dfb6877ebea512dc0201cc52db41b3b030859 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that the StrNCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*strncat}
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   grep {puts.*%arg1}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index f85394d30281bcdd64f07b8f554865a7c7f51927..948e844f913a3d63ecf1e846113a10b7f9654887 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrNCmpOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*strncmp}
 
 @hello = constant [6 x i8] c"hello\00"         ; <[6 x i8]*> [#uses=1]
index b3b66b0ed814d8b0d3ad3c7641c60d1c4933b43f..2a853cb210ae9ad237a1df3e906b869cd8b6c642 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrNCpyOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*strncpy}
 
 ; This transformation requires the pointer size, as it assumes that size_t is
index 9200d2f67edf59dc9236de44155e6aeb627f57eb..3c9f347991fab87af4adfbc6ca0b4547e594c289 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the ToAsciiOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt %s -simplify-libcalls | llvm-dis | \
 ; RUN:   not grep {call.*toascii}
 
 declare i32 @toascii(i32)
index 520189bb28f1b30085817cfb6bc667daa98940f4..4f1d92d196e1b22306af5a934e9c10904cb71c0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep {select i1 %ispos}
+; RUN: opt %s -simplify-libcalls | llvm-dis | grep {select i1 %ispos}
 ; PR2337
 
 define i32 @test(i32 %x) {
index dea3df4b51bcebdbc4aaec898b44a8bbbce3534d..09829a8cf3c11acd7661fd9ca80c0ce1a2127816 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep {call.*ldexp} | count 4
+; RUN: opt %s -simplify-libcalls | llvm-dis | 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 31eb3f65623f577981ada9820472778a53c5c879..7fee585d20f9ccead1aaf404919b747022aa0eca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis > %t
+; RUN: opt %s -simplify-libcalls | llvm-dis > %t
 ; RUN: not grep {call.*floor(} %t
 ; RUN: grep {call.*floorf(} %t
 ; RUN: not grep {call.*ceil(} %t
index 7bdbc8d17e4f951c50c2d82936df329552d449f8..0426689369ba69b5ea0c48b5c090a88c9716a242 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the memcmpOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep {call.*memcmp}
+; RUN: opt %s -simplify-libcalls | llvm-dis | 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 d960960c9c2ea29e5bf88303252f0f1438d4ccfe..91947ae0879ff6caf5250d99e211454898cf013b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep {llvm.memmove}
+; RUN: opt %s -simplify-libcalls | llvm-dis | 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 a6a277e080af0fce2f5fc3d2e1528426af0ce334..48471ca51128acced9c119342c786dd28bddd0d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep {llvm.memset}
+; RUN: opt %s -simplify-libcalls | llvm-dis | 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 0c109154a3e583da50865b53208d183f6d2e1d79..b709059d0e50670915e96d0feb117c55b80f69de 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep {llvm.memset}
+; RUN: opt %s -simplify-libcalls | llvm-dis | 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 a48abbaf1e7492415980bfc8e6fd08efb385b3f6..3f954e9f6f9c6488f11d2c63c7423d5ae649ffa4 100644 (file)
@@ -1,6 +1,6 @@
 ; Testcase for calls to the standard C "pow" function
 ;
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep {call .pow}
+; RUN: opt %s -simplify-libcalls | llvm-dis | not grep {call .pow}
 
 
 declare double @pow(double, double)
index 970ee0ddf12844fe53bf36204d97833218f6b9ff..934ec9b35f4f8d8305689bf2d0e215d3e20e52ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | FileCheck %s
+; RUN: opt %s -simplify-libcalls | llvm-dis | FileCheck %s
 ; PR4738
 
 ; SimplifyLibcalls shouldn't assume anything about weak symbols.
index 16cee15ee179e2869ed3968eb067208a394e2505..916f46df483dab7d0a464764ca4a382f19f6cc50 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -strip | llvm-dis | grep foo | count 2
-; RUN: llvm-as < %s | opt -strip | llvm-dis | grep bar | count 2
+; RUN: opt %s -strip | llvm-dis | grep foo | count 2
+; RUN: opt %s -strip | llvm-dis | grep bar | count 2
 @llvm.used = appending global [2 x i8*] [ i8* bitcast (i32* @foo to i8*), i8* bitcast (i32 ()* @bar to i8*) ], section "llvm.metadata"         ; <[2 x i8*]*> [#uses=0]
 @foo = internal constant i32 41                ; <i32*> [#uses=1]
 
index e8c28ec80672b73509b21fff5fef4ed0e2496c2c..0124d20556179de5e5ce58229e49022b16cc6cbb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call
+; RUN: opt %s -tailcallelim | llvm-dis | not grep call
 
 define i32 @factorial(i32 %x) {
 entry:
index 4d63b595d7ccd2b4f4ced9d0bcf5535a3549cb53..e55e60ad4d688250a21739c42294491ae68727d9 100644 (file)
@@ -3,7 +3,7 @@
 ; go out to the anonymous users of the demo script for "suggesting" 
 ; optimizations that should be done.  :)
 
-; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call
+; RUN: opt %s -tailcallelim | llvm-dis | not grep call
 
 define i32 @mul(i32 %x, i32 %y) {
 entry:
index e20fe18d5adaf1bfb7cb24f3dcaaa89dd84e144f..966fa1fcd4fd2df63a986f202e3a7d0d052f2f68 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | \
+; RUN: opt %s -tailcallelim | llvm-dis | \
 ; RUN:    grep {call i32 @foo}
 
 declare void @bar(i32*)
index fe00f4a764e95ca13c2f9c349c45b444bba81eb8..b2ca8d5b15edaa750462634e8519a50072267aa2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | grep call
+; RUN: opt %s -tailcallelim | llvm-dis | 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 ae4f50941f810c1fb1f4fae57cf802352c884a27..27cbfef11436c29517445f3e4a2375d61256394d 100644 (file)
@@ -1,5 +1,5 @@
 ; This function contains intervening instructions which should be moved out of the way
-; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call
+; RUN: opt %s -tailcallelim | llvm-dis | not grep call
 
 define i32 @Test(i32 %X) {
 entry:
index ab69a42b78513467b6ddca59b2b3086e7215882e..e19d27483055b9a5108894ff52456617ac65e9c4 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: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call
+; RUN: opt %s -tailcallelim | llvm-dis | not grep call
 
 define i32 @aaa(i32 %c) {
 entry:
index 90a8163ee3213e17ffc52deaea2f436b76657fc1..9ab4857d9c3dfd672548a0efe72c1123320e951d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | \
+; RUN: opt %s -tailcallelim | llvm-dis | \
 ; RUN:    grep {tail call void @foo}
 
 
index 5c3b5394ef46d03aabb14e10ab59f7f43bc9756b..f12c8c01380fc8fa33db38ad6bd92d08fd038ffd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @motion_result7() {
 entry:
index 705f8bcdd652cb6d4053f0019e56293082421f3a..09916e8869c4585b6d4f6406a8032b3f1a2684f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @sum() {
 entry:
index 1fae77b0892e80139138b6a319c5eb301eee2b36..2a5b80e04984565c2d07b67d210fcb1aa9d441e9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @sell_haggle() {
 entry:
index e46471331d20191e5e1d6e4b1280a890d79acf66..4fc7088b887dd7a4d2db037c303c6d435541c0e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @foo() {
 entry:
index 81624ff65f796ad816619e38076b5d42292c82ab..efc08d63c1af13a842613ae5754cd35dd9658e5b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @interpret() {
 entry:
index a67e8cdd0c4e4bd3f82f95f1c508ea734263fafb..9a7c4b05bf1d1627e1d0cc26006d91250958b3b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate | llc
+; RUN: opt %s -tailduplicate | llc
 ; PR2323
 
 define i32 @func_27(i32 %p_28) nounwind  {
index c29e7d45c6ae8abb7e5e63c73d07f29cfb5a405b..6706527b2e449f2d24c139884029876c43423e4f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -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 6abd2a5bd69a1599c48c3cd6966eec95ab0b49a1..45bc600529bfeeecc47c06d43f29a497e32eacb7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 ; PR4662
 
 define void @a() {
index 0a3ab6d96216ca1e5bc04cad5b8515ab1e1c848a..94de90e2b77cd0218ffab3acdc522beda11548be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -taildup-threshold=2 | llvm-dis | grep add | not grep uses=1
+; RUN: opt %s -tailduplicate -taildup-threshold=2 | llvm-dis | grep add | not grep uses=1
 
 define i32 @test1(i1 %C, i32 %A, i32* %P) {
 entry:
index 6f86587b24d649d70352c0be87c1b260a07285cc..49eb6a566726e4ecb57441a296cb47c1899a1c81 100644 (file)
@@ -1,6 +1,6 @@
 ; This test checks to make sure phi nodes are updated properly
 ;
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define i32 @test(i1 %c, i32 %X, i32 %Y) {
        br label %L
index ef368906378d754c50a6e603c6d571ecc460049d..33e760a0fcc0e0fb2fd36f67be08ddec1690f8e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 declare void @__main()
 
index f79d718cdb56c69a77d57b49855ec19c8c1da146..b49dc87b8bdee5e444680b3e8488ce42e93c08e0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate -disable-output
+; RUN: opt %s -tailduplicate -disable-output
 
 define void @ab() {
 entry:
index 05d406f4b74815476ee99f7e715d2b443221ae31..7a5b0b297826dcbdee7652cf8337338b39a7883f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -tailduplicate | \
+; RUN: opt %s -tailduplicate | \
 ; RUN:   llc -march=x86 -o %t
 ; RUN: grep {\\\<je\\\>} %t
 ; RUN: not grep jmp %t