Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 16 Sep 2003 15:29:54 +0000 (15:29 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 16 Sep 2003 15:29:54 +0000 (15:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8558 91177308-0d34-0410-b5e6-96231b3b80d8

251 files changed:
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/featuretest.ll
test/Analysis/BasicAA/gcsetest.ll
test/Analysis/BasicAA/licmtest.ll
test/Analysis/LoadVN/RLE-Eliminate.ll
test/Analysis/LoadVN/RLE-Preserve-Volatile.ll
test/Analysis/LoadVN/RLE-Preserve.ll
test/Other/2002-02-24-InlineBrokePHINodes.ll
test/Other/2002-03-11-ConstPropCrash.ll
test/Transforms/ADCE/2002-01-31-UseStuckAround.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/adcetest.ll
test/Transforms/ADCE/basictest.ll
test/Transforms/ADCE/basictest1.ll
test/Transforms/ADCE/basictest2.ll
test/Transforms/BasicAA/2003-02-26-AccessSizeTest.ll
test/Transforms/BasicAA/2003-03-04-GEPCrash.ll
test/Transforms/BasicAA/2003-04-22-GEPProblem.ll
test/Transforms/BasicAA/2003-04-25-GEPCrash.ll
test/Transforms/BasicAA/2003-05-21-GEP-Problem.ll
test/Transforms/BasicAA/2003-06-01-AliasCrash.ll
test/Transforms/BasicAA/2003-07-03-BasicAACrash.ll
test/Transforms/BasicAA/featuretest.ll
test/Transforms/BasicAA/gcsetest.ll
test/Transforms/BasicAA/licmtest.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/basictest.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/CorrelatedExprs/2002-09-23-PHIUpdateBug.ll
test/Transforms/CorrelatedExprs/2002-10-03-PHIPropogate.ll
test/Transforms/CorrelatedExprs/2002-10-04-ForwardingBug.ll
test/Transforms/CorrelatedExprs/2002-10-07-DominatorProblem.ll
test/Transforms/CorrelatedExprs/2002-10-07-NoImmediateDominator.ll
test/Transforms/CorrelatedExprs/2002-10-08-DominatorTest.ll
test/Transforms/CorrelatedExprs/2002-10-08-DominatorTest2.ll
test/Transforms/CorrelatedExprs/basictest.ll
test/Transforms/CorrelatedExprs/branchtest.ll
test/Transforms/CorrelatedExprs/looptest.ll
test/Transforms/CorrelatedExprs/nullpointer.ll
test/Transforms/CorrelatedExprs/whet.ll
test/Transforms/DeadArgElim/basictest.ll
test/Transforms/DecomposeMultiDimRefs/multidim.ll
test/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll
test/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll
test/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll
test/Transforms/FunctionResolve/2002-11-09-ExternFn.ll
test/Transforms/FunctionResolve/2003-04-18-ForwardDeclGlobal.ll
test/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll
test/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
test/Transforms/FunctionResolve/2003-07-23-CPR-Reference.ll
test/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll
test/Transforms/FunctionResolve/basictest.ll
test/Transforms/FunctionResolve/retmismatch1.ll
test/Transforms/FunctionResolve/retmismatch2.ll
test/Transforms/FunctionResolve/retmismatch3.ll
test/Transforms/GCSE/2002-05-14-OperandSwap.ll
test/Transforms/GCSE/2002-05-21-NoSharedDominator.ll
test/Transforms/GCSE/2003-06-13-LoadStoreEliminate.ll
test/Transforms/GCSE/gcsetests.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/basicvariabletest.ll
test/Transforms/IndVarsSimplify/2002-09-09-PointerIndVar.ll
test/Transforms/IndVarsSimplify/2003-04-16-ExprAnalysis.ll
test/Transforms/IndVarsSimplify/2003-09-12-MultiplePred.ll
test/Transforms/Inline/alloca_test.ll
test/Transforms/Inline/basictest.ll
test/Transforms/Inline/cfg_preserve_test.ll
test/Transforms/Inline/inline_dce.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-05-14-TouchDeletedInst.ll
test/Transforms/InstCombine/2002-08-02-CastTest.ll
test/Transforms/InstCombine/2002-09-17-GetElementPtrCrash.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-06-22-ConstantExprCrash.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/add.ll
test/Transforms/InstCombine/and.ll
test/Transforms/InstCombine/call.ll
test/Transforms/InstCombine/cast-set.ll
test/Transforms/InstCombine/cast.ll
test/Transforms/InstCombine/div.ll
test/Transforms/InstCombine/getelementptr.ll
test/Transforms/InstCombine/load.ll
test/Transforms/InstCombine/malloc.ll
test/Transforms/InstCombine/mul.ll
test/Transforms/InstCombine/not.ll
test/Transforms/InstCombine/or.ll
test/Transforms/InstCombine/phi.ll
test/Transforms/InstCombine/pow.ll
test/Transforms/InstCombine/rem.ll
test/Transforms/InstCombine/set.ll
test/Transforms/InstCombine/setcc-strength-reduce.ll
test/Transforms/InstCombine/shift.ll
test/Transforms/InstCombine/sub.ll
test/Transforms/InstCombine/xor.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-08-04-TrappingInstHoist.ll
test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll
test/Transforms/LICM/basictest.ll
test/Transforms/LICM/no-preheader-test.ll
test/Transforms/LICM/scalar_promote.ll
test/Transforms/LevelRaise/2002-02-11-ArrayShape.ll
test/Transforms/LevelRaise/2002-02-14-BadAssertion.ll
test/Transforms/LevelRaise/2002-03-11-Calls.ll
test/Transforms/LevelRaise/2002-03-14-ConvertableToGEPHang.ll
test/Transforms/LevelRaise/2002-03-20-BadCodegen.ll
test/Transforms/LevelRaise/2002-03-20-Crash.ll
test/Transforms/LevelRaise/2002-03-21-MissedRaise.ll
test/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll
test/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll
test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll
test/Transforms/LevelRaise/2002-04-16-MissedRaise.ll
test/Transforms/LevelRaise/2002-05-02-BadCastElimination.ll
test/Transforms/LevelRaise/2002-05-02-MissedRaise.ll
test/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll
test/Transforms/LevelRaise/2002-05-23-MissedRaise.ll
test/Transforms/LevelRaise/2002-07-16-MissedRaise.ll
test/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll
test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll
test/Transforms/LevelRaise/2002-07-16-SourceAndDestCrash.ll
test/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll
test/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll
test/Transforms/LevelRaise/2002-09-10-PointerAdds.ll
test/Transforms/LevelRaise/2002-10-02-SignExtensionProblem.ll
test/Transforms/LevelRaise/2002-10-08-VarArgCall.ll
test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll
test/Transforms/LevelRaise/2002-11-13-PointerFunction.ll
test/Transforms/LevelRaise/2003-01-22-GEPProblem.ll
test/Transforms/LevelRaise/2003-01-30-ShiftCrash.ll
test/Transforms/LevelRaise/2003-02-13-CallRaise.ll
test/Transforms/LevelRaise/2003-05-01-CallCast.ll
test/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll
test/Transforms/LevelRaise/2003-06-25-ExprAnalysis.ll
test/Transforms/LoopPreheaders/2003-04-25-AssertFail.ll
test/Transforms/LoopPreheaders/2003-05-12-PreheaderExitOfChild.ll
test/Transforms/LoopPreheaders/2003-08-15-PreheadersFail.ll
test/Transforms/LoopPreheaders/basictest.ll
test/Transforms/LoopPreheaders/hardertest.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/basictest.ll
test/Transforms/LoopSimplify/hardertest.ll
test/Transforms/LowerSetJmp/simpletest.ll
test/Transforms/LowerSwitch/2003-05-01-PHIProblem.ll
test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.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/DifferingTypes.ll
test/Transforms/Mem2Reg/PromoteMemToRegister.ll
test/Transforms/PRE/basictest.ll
test/Transforms/PiNodeInserter/substitutetest.ll
test/Transforms/ProfilePaths/2002-05-22-CastCrash.ll
test/Transforms/PruneEH/recursivetest.llx
test/Transforms/PruneEH/simpletest.llx
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/basictest.ll
test/Transforms/Reassociate/basictest2.ll
test/Transforms/Reassociate/looptest.ll
test/Transforms/Reassociate/otherops.ll
test/Transforms/Reassociate/subtest.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/basictest.ll
test/Transforms/SCCP/sccptest.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/arraytest.ll
test/Transforms/ScalarRepl/badarray.ll
test/Transforms/ScalarRepl/basictest.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.ll
test/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll
test/Transforms/SimplifyCFG/InvokeEliminate.ll
test/Transforms/SimplifyCFG/PhiBlockMerge.ll
test/Transforms/SimplifyCFG/PhiBlockMerge2.ll
test/Transforms/SimplifyCFG/basictest.ll
test/Transforms/SimplifyCFG/branch-fold-test.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/PHIUpdateTest.ll
test/Transforms/TailDup/basictest.ll

index f1458ce905f461a449fc8a4041949ab308ef745c..fb44d94a578d726ca9d440cd393bbe6b88ca4cb7 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: as < %s | opt -load-vn -gcse -instcombine | dis | grep DONOTREMOVE
+; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | llvm-dis | grep DONOTREMOVE
 
 int %test() {
        %A = alloca int
index 0dd936aaeee09389cacaabb0ec7a99d53286ab6a..1f4832780938271a0a8e21d6ba0a9f4b7f0d6a34 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
 ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2
 void %test({[2 x int],[2 x int]}* %A, long %X, long %Y) {
        %P1 = getelementptr {[2 x int],[2 x int]}* %A, long 0, ubyte 0, long %X
index 27ec9ea694444dc41dddc8d0d2d529733c6f27ca..70f71c22fb8d23c2ee4d76f08f3b5340ba0b8d43 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -load-vn -gcse -instcombine | dis | grep sub
+; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | llvm-dis | grep sub
 
 ; BasicAA was incorrectly concluding that P1 and P2 didn't conflict!
 
index 036e9d9f7f0d7b77667499ab94db502487333596..14013822f97d03c99142168d0c9867879372cf5a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
 ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2
 void %test([17 x ushort]* %mask_bits) {
        %P1 = getelementptr [17 x ushort]* %mask_bits, long 0, long 0
index fdb8c73a3ab69d7bd7e7177056adae30a264b297..7322e635ff9e1538b4228b905044a557f9b77912 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -licm -disable-output
+; RUN: llvm-as < %s | opt -licm -disable-output
        %struct..apr_array_header_t = type { int*, int, int, int, sbyte* }
        %struct..apr_table_t = type { %struct..apr_array_header_t, uint, [32 x int], [32 x int] }
 
index 92cf5a92029af5911a907604d5c6ac088716852e..2c2fbca550507d284c4698e31be82d3f7995b10e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
 
 int %MTConcat([3 x int]* %a.1) {
        %tmp.961 = getelementptr [3 x int]* %a.1, long 0, long 4
index 785759d0a384296f68b1ad4a5764dd9f857eb597..916b52341cfcfb725014966eb8770b987c625340 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
 
        %struct..RefPoint = type { int, { uint, ushort, ushort } }
        %struct..RefRect = type { %struct..RefPoint, %struct..RefPoint }
index 0b798e2b635e1dba905f60946cef4018e43352fa..7fc129dd1e5ed2e2414976761acbc0fb5bec8d58 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: as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | not grep REMOVE
+; RUN: llvm-as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | llvm-dis | not grep REMOVE
 
 %Global = external global { int }
 
index 4287e7d27820ebf9a88942fa1f897a56dddc59b3..0cc0af2932c768c053beb99108c973c821036d7f 100644 (file)
@@ -2,7 +2,7 @@
 ; disambiguating some obvious cases.  All loads should be removable in 
 ; this testcase.
 
-; RUN: as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | not grep load
+; RUN: llvm-as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | llvm-dis | not grep load
 
 %A = global int 7
 %B = global int 8
index 414a538085334ac24c20e028c55b24341c87568b..56682c7cabf3bc62b9614a83a90b3c819c34aa6a 100644 (file)
@@ -3,7 +3,7 @@
 ; two pointers, then the load should be hoisted, and the store sunk.  Thus
 ; the loop becomes empty and can be deleted by ADCE. 
 
-; RUN: as < %s | opt -basicaa -licm --adce | dis | not grep Loop
+; RUN: llvm-as < %s | opt -basicaa -licm --adce | llvm-dis | not grep Loop
 
 %A = global int 7
 %B = global int 8
index fb79cfa7fd711a00811fc7b58360979bf617ebad..dba82b7e758e0d6284f5a35b6be3ce783e6512ce 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase ensures that redundant loads are eliminated when they should 
 ; be.  All RL variables (redundant loads) should be eliminated.
 ;
-; RUN: as < %s | opt -load-vn -gcse | dis | not grep %RL
+; RUN: llvm-as < %s | opt -load-vn -gcse | llvm-dis | not grep %RL
 ;
 int "test1"(int* %P) {
        %A = load int* %P
index 1d760afe9081b7f0437bdb68c7774049d954c9ec..c320bc3eeaca08656292f3385f37634bcce03a93 100644 (file)
@@ -1,5 +1,5 @@
 
-; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | dis | grep sub
+; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | llvm-dis | grep sub
 
 int %test(int* %P) {
        %X = volatile load int* %P
index 346eaf9291c671e06ed8df2034ce9ad968deda1e..88a0c7f2987fb120058d66fe5ea5d133cfa48fd0 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase ensures that redundant loads are preserved when they are not 
 ; allowed to be eliminated.
-; RUN: as < %s | opt -load-vn -gcse | dis | grep sub
+; RUN: llvm-as < %s | opt -load-vn -gcse | llvm-dis | grep sub
 ;
 int %test1(int* %P) {
        %A = load int* %P
index 6de391a7bd258a397a8661827d921b03ef0045d4..1088205cdcc86eeb067b77dff7f3a4b8b785654e 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: as < %s | opt -inline
+; RUN: llvm-as < %s | opt -inline
 ;
 implementation
 
index 6eca6393787d93c7c167f088df71af3c61dbb1df..62435747c23b719e8786bf0da380d33bc79098ee 100644 (file)
@@ -5,7 +5,7 @@
 ;
 ; Fixed by adding new arguments to ConstantFoldTerminator
 ;
-; RUN: as < %s | opt -constprop
+; RUN: llvm-as < %s | opt -constprop
 
 implementation
 
index 7f6227063c56f2e017f9a4b6c98b113478060516..162b0508fdc0247ae0d0c5f61bb903a1682a81d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -adce
+; RUN: llvm-as < %s | opt -adce
 
 implementation
 
index 79bcd814f3a8b7aa76860e5b0b9b688edb109695..e13536cac02b9dcce0d4dc27b5164687a6306a90 100644 (file)
@@ -1,6 +1,6 @@
 ; It is illegal to remove BB1 because it will mess up the PHI node!
 ;
-; RUN: as < %s | opt -adce | dis | grep BB1
+; RUN: llvm-as < %s | opt -adce | llvm-dis | grep BB1
 
 
 int "test"(bool %C, int %A, int %B) {
index 6862dad5b747ddda0849b348963f8222d52273c9..d489596927e1a8b3d64b3b234d867a1517ac3193 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: as < %s | opt -adce
+; RUN: llvm-as < %s | opt -adce
        
 %node_t = type { double*, %node_t*, %node_t**, double**, double*, int, int }
 
index 347559be48c90526129a0913703425d797bec02d..1fcf6097863f90b0c50f525f3776d4aff7307483 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase is a distilled form of: 2002-05-28-Crash.ll
 
-; RUN: as < %s | opt -adce 
+; RUN: llvm-as < %s | opt -adce 
 
 float "test"(int %i) {
        %F = cast int %i to float    ; This BB is not dead
index ac81252759d2f3619a3b805ea780c30275e05080..5b4acda062168bde56aea8097b64bcd8401f57f4 100644 (file)
@@ -11,7 +11,7 @@
 ;  return !s;
 ;}
 ;
-; RUN: as < %s | opt -adce
+; RUN: llvm-as < %s | opt -adce
 
 implementation   ; Functions:
 
index edc658e8eebf0ecd1988fa4724e50b132a85b57a..36db7fb5de709ce20fbab6387172bf936ed5d575 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: as < %s | opt -adce
+; RUN: llvm-as < %s | opt -adce
 
 void %foo(sbyte* %reg5481) {
         %cast611 = cast sbyte* %reg5481 to sbyte**              ; <sbyte**> [#uses=1]
index 02125a51e030da4e8aed5682c97594bab147405f..bd88884756c737b2b7d99c22644266db33fc4ce1 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase was extracted from the gzip SPEC benchmark
 ;
-; RUN: as < %s | opt -adce
+; RUN: llvm-as < %s | opt -adce
 
 %bk = external global uint             ; <uint*> [#uses=2]
 %hufts = external global uint          ; <uint*> [#uses=1]
index 2931db071bcc76365936053cc14a5467b4f10bf0..5023f9424607c6ceef4091d8210fe55117448a0a 100644 (file)
@@ -1,5 +1,5 @@
 ; Testcase reduced from 197.parser by bugpoint
-; RUN: as < %s | opt -adce 
+; RUN: llvm-as < %s | opt -adce 
 implementation   ; Functions:
 
 void %conjunction_prune() {
index 994a63e7b317912c392e2e70c433d5db8a9738bb..1a71ffe02e8103bbb8d4263e17df718dd9f8a9c3 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: as < %s | opt -adce
+; RUN: llvm-as < %s | opt -adce
 
 target endian = little
 target pointersize = 32
index 036b11474015a8113b5d4c89c3082f2489481599..9f28fc113ab11d88311e492efac36619b91cb0c3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -adce -disable-output
+; RUN: llvm-as < %s | opt -adce -disable-output
 %G = external global int*
 
 implementation   ; Functions:
index fb851e688b2ece5173cdddee57294975228f57ae..567aca793ec623c282e0f6ba340bfa5db071050e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -adce -disable-output
+; RUN: llvm-as < %s | opt -adce -disable-output
 
 target endian = little
 target pointersize = 32
index 7e4bf080907cd4028de1baa616dca2c70bc56e9f..4591261815abd676636b75d7c2f80b223e373308 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -adce -simplifycfg | dis | not grep then:
+; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis | not grep then:
 
 void %dead_test8(int* %data.1, int %idx.1) {
 entry:         ; No predecessors!
index 750e0b803b2e5222a841a6f613c08435d0422d83..72b87bb05d80388c0ac5db58f933c0e0ad79fbe3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -adce -disable-output
+; RUN: llvm-as < %s | opt -adce -disable-output
 
 implementation   ; Functions:
 
index 2e9cd6c6c380f3edc59be02b82698df41116ee20..28b5852606758b9ede19dd9ba878e186e3c2fe1e 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: as < %s | opt -sccp -adce -simplifycfg | dis | not grep br
+; RUN: llvm-as < %s | opt -sccp -adce -simplifycfg | llvm-dis | not grep br
 
 int "test function"(int %i0, int %j0) {
 BB1:
index d58150d49fbd22a37059e361b938171134cd7017..737f77526bca2a34660840058571ca99559fcfa3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -adce -simplifycfg | dis
+; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis
 
 int "Test"(int %A, int %B) {
 BB1:
index baacca5a8d439fc52b8c8a741687bf21ae318fa2..f2db309d328b790932b2859593aa94cfc54ce2b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -adce -simplifycfg | dis
+; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis
        
 %FILE = type { int, ubyte*, ubyte*, ubyte, ubyte, uint, uint, uint }
        %spec_fd_t = type { int, int, int, ubyte* }
index 52693c462b50b5c9214e1dffd067753c9903e59c..6df243d09569ff809589428c086e06689143feaa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -adce -simplifycfg | dis  
+; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis        
 
 %FILE = type { int, ubyte*, ubyte*, ubyte, ubyte, uint, uint, uint }
        %spec_fd_t = type { int, int, int, ubyte* }
index f1458ce905f461a449fc8a4041949ab308ef745c..fb44d94a578d726ca9d440cd393bbe6b88ca4cb7 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: as < %s | opt -load-vn -gcse -instcombine | dis | grep DONOTREMOVE
+; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | llvm-dis | grep DONOTREMOVE
 
 int %test() {
        %A = alloca int
index 0dd936aaeee09389cacaabb0ec7a99d53286ab6a..1f4832780938271a0a8e21d6ba0a9f4b7f0d6a34 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
 ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2
 void %test({[2 x int],[2 x int]}* %A, long %X, long %Y) {
        %P1 = getelementptr {[2 x int],[2 x int]}* %A, long 0, ubyte 0, long %X
index 27ec9ea694444dc41dddc8d0d2d529733c6f27ca..70f71c22fb8d23c2ee4d76f08f3b5340ba0b8d43 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -load-vn -gcse -instcombine | dis | grep sub
+; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | llvm-dis | grep sub
 
 ; BasicAA was incorrectly concluding that P1 and P2 didn't conflict!
 
index 036e9d9f7f0d7b77667499ab94db502487333596..14013822f97d03c99142168d0c9867879372cf5a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
 ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2
 void %test([17 x ushort]* %mask_bits) {
        %P1 = getelementptr [17 x ushort]* %mask_bits, long 0, long 0
index fdb8c73a3ab69d7bd7e7177056adae30a264b297..7322e635ff9e1538b4228b905044a557f9b77912 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -licm -disable-output
+; RUN: llvm-as < %s | opt -licm -disable-output
        %struct..apr_array_header_t = type { int*, int, int, int, sbyte* }
        %struct..apr_table_t = type { %struct..apr_array_header_t, uint, [32 x int], [32 x int] }
 
index 92cf5a92029af5911a907604d5c6ac088716852e..2c2fbca550507d284c4698e31be82d3f7995b10e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
 
 int %MTConcat([3 x int]* %a.1) {
        %tmp.961 = getelementptr [3 x int]* %a.1, long 0, long 4
index 785759d0a384296f68b1ad4a5764dd9f857eb597..916b52341cfcfb725014966eb8770b987c625340 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -aa-eval -disable-output
+; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output
 
        %struct..RefPoint = type { int, { uint, ushort, ushort } }
        %struct..RefRect = type { %struct..RefPoint, %struct..RefPoint }
index 0b798e2b635e1dba905f60946cef4018e43352fa..7fc129dd1e5ed2e2414976761acbc0fb5bec8d58 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: as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | not grep REMOVE
+; RUN: llvm-as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | llvm-dis | not grep REMOVE
 
 %Global = external global { int }
 
index 4287e7d27820ebf9a88942fa1f897a56dddc59b3..0cc0af2932c768c053beb99108c973c821036d7f 100644 (file)
@@ -2,7 +2,7 @@
 ; disambiguating some obvious cases.  All loads should be removable in 
 ; this testcase.
 
-; RUN: as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | not grep load
+; RUN: llvm-as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | llvm-dis | not grep load
 
 %A = global int 7
 %B = global int 8
index 414a538085334ac24c20e028c55b24341c87568b..56682c7cabf3bc62b9614a83a90b3c819c34aa6a 100644 (file)
@@ -3,7 +3,7 @@
 ; two pointers, then the load should be hoisted, and the store sunk.  Thus
 ; the loop becomes empty and can be deleted by ADCE. 
 
-; RUN: as < %s | opt -basicaa -licm --adce | dis | not grep Loop
+; RUN: llvm-as < %s | opt -basicaa -licm --adce | llvm-dis | not grep Loop
 
 %A = global int 7
 %B = global int 8
index ddfd7d10c4213cb75992f989fc841f6cd42eed7a..85bac18c11584ba0c48b48632b97787e1c20d749 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure that the constant propogator doesn't divide by zero!
 ;
-; RUN: as < %s | opt -constprop
+; RUN: llvm-as < %s | opt -constprop
 ;
 
 int "test"() {
index d184c08c073da00c3e46082314a67c2388ec69a3..91e495d7bc0f20eeac70c554bbb8a3064d691239 100644 (file)
@@ -4,7 +4,7 @@
 
 ; Fix #2: The unary not instruction now no longer exists. Change to xor.
 
-; RUN: as < %s | opt -constprop | dis | not grep 'int 0'
+; RUN: llvm-as < %s | opt -constprop | llvm-dis | not grep 'int 0'
 
 int "test1"() {
        %R = xor int 123, -1
index ec73c057f06c383b4d894eadad019e949266381e..1d08e6f2d52e501b39e5ad4f4f19ccbbe7128a67 100644 (file)
@@ -1,6 +1,6 @@
 ; SetCC on boolean values was not implemented!
 
-; RUN: as < %s | opt -constprop -die | dis | not grep 'set'
+; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep 'set'
 
 bool "test1"() {
        %A = setle bool true, false
index b634812abef3a561dd0eeeeecbf87aeea00f444f..d926a43465fe5eea2c657686956645396fd9084b 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure that the constant propagator doesn't cause a sigfpe
 ;
-; RUN: as < %s | opt -constprop
+; RUN: llvm-as < %s | opt -constprop
 ;
 
 int "test"() {
index 8fe5ebb7c5e8ed6df31c46ad4fe50f98cfce0e98..c75cc51d89e7f78b4e0947657987128d356d5893 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: as < %s | opt -constprop -die | dis | not grep add
+; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep add
 
 int %test(bool %B) {
        br bool %B, label %BB1, label %BB2
index 8e9d4160900603ac62649a7a8f8b81736471e984..9af914255b805785698a20739c69681cb9d79302 100644 (file)
@@ -1,6 +1,6 @@
 ; Ensure constant propogation of logical instructions is working correctly.
 
-; RUN: as < %s | opt -constprop -die | dis | not ggrep -E 'and|or|xor'
+; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not ggrep -E 'and|or|xor'
 
 
 int  "test1"() { %R = and int 4,1234          ret int  %R }
index 11dc63ecd0767a7a1a34a6e4a38524bea8e58651..fe9b09480a8435595e0d6417683a5b547d3c4fe7 100644 (file)
@@ -1,6 +1,6 @@
 ; Ensure constant propogation of 'not' instructions is working correctly.
 
-; RUN: as < %s | opt -constprop -die | dis | not grep xor
+; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep xor
 
 int "test1"() {
        %R = xor int 4, -1
index c80c5e4bb5fad7c7cd50b37f4d8e3cce91b49952..e2c7d5b24df49ca81d4ae86c8456d355194af041 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: as < %s | opt -constprop -die | dis | not grep phi
+; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep phi
 
 int %test(bool %B) {
 BB0:
index 7ff310898c8a317fbf307192ab9b1dd06f66a96b..e278386dd75e4a31c9a3c944fa41a904d38f3f07 100644 (file)
@@ -1,6 +1,6 @@
 ; Ensure constant propagation of remainder instructions is working correctly.
 
-; RUN: as < %s | opt -constprop -die | dis | not grep rem
+; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep rem
 
 int %test1() {
        %R = rem int 4, 3
index aa497c6180e32d2725deedf3fecbbb12c81172d7..85d0436114f007f49b33d5eaa4f40022dc8d96ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -constmerge > /dev/null
+; RUN: llvm-as < %s | opt -constmerge > /dev/null
 
 %foo = internal constant {int} {int 7} 
 %bar = internal constant {int} {int 7} 
index 0bc98ca918880b6aa1f8cf9fcebe3833ba96bce2..93cdecc0cd806469fe82b69d3b6d7ea20997010d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -cee
+; RUN: llvm-as < %s | opt -cee
 
 implementation
 
index d1bb4303f990589fccd23e0a5e19f3747aacd708..249680504c4defb082658a332a07e76e6e8eba77 100644 (file)
@@ -12,7 +12,7 @@
 ;   }
 ; }
 ;
-; RUN: as < %s | opt -cee -simplifycfg | dis | not grep bb3
+; RUN: llvm-as < %s | opt -cee -simplifycfg | llvm-dis | not grep bb3
 
 implementation
 declare void %bar()
index c76c8fd929b0778f4d0d864ec0577d277892cde8..c36e8698e6e6db88c63e959a2287cd0dc3f54c1f 100644 (file)
@@ -1,6 +1,6 @@
 ; Testcase distilled from bisort where we tried to perform branch target 
 ; forwarding where it was not safe.
-; RUN: as < %s | opt -cee
+; RUN: llvm-as < %s | opt -cee
 ;
        %HANDLE = type { int, %HANDLE*, %HANDLE* }
        %struct.node = type { int, %HANDLE*, %HANDLE* }
index 70f879bfd2aadf577c2bec5aa1e2288856545921..0267f2b3fb7a80dd34970a576e5500bf72706de3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -cee
+; RUN: llvm-as < %s | opt -cee
 ;
 ; The 'cee' pass is breaking SSA form when it blindly forwards the branch from 
 ; Eq to branch to "Forwarded" instead.
index ebf094e8c34c35062a755586256ae7e990e5a00b..9d40953ee9bbbb55bcde5472104b1f25e68479eb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -cee
+; RUN: llvm-as < %s | opt -cee
 ;
 ; This testcase causes an assertion error.
 ;
index 8ae34545716db3d0d3454980fd422aa1b99ee7e5..ee8a6198cfa8c4e375173346adae68ef414e29ce 100644 (file)
@@ -1,5 +1,5 @@
 ; Test to make sure that SSA is correctly updated
-; RUN: as < %s | opt -cee
+; RUN: llvm-as < %s | opt -cee
 ;
 implementation   ; Functions:
 
index 732eb56f0fcc5a8bc7579547923298eb8ee75cf8..de37831e10c4dbd201b2b0d295590094c218c4c8 100644 (file)
@@ -1,5 +1,5 @@
 ; Simple test to make sure dominators are updated properly
-; RUN: as < %s | opt -cee
+; RUN: llvm-as < %s | opt -cee
 
 implementation   ; Functions:
 
index d5b260984e06d58384699911461ade8aa5d392f6..2f57c6e6bbdb6021b45aba55540879ac649e0959 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -cee -constprop -instcombine -dce | dis | not grep 'REMOVE'
+; RUN: llvm-as < %s | opt -cee -constprop -instcombine -dce | llvm-dis | not grep 'REMOVE'
 
 int %test1(int %A) {
        %cond = seteq int %A, 40
index c431cb4c03ab38e778a56963bed62c77be1f4edd..cfc45172dfabf5cc0b347882e021cf83394596f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -cee -simplifycfg | dis | not grep 'REMOVE'
+; RUN: llvm-as < %s | opt -cee -simplifycfg | llvm-dis | not grep 'REMOVE'
 
 implementation
 
index 6763443291bacd99e0b9c7a41baa05f5b7a6d077..62a983a5ada1bbbc5769fee6be7868ed351cfe89 100644 (file)
@@ -11,7 +11,7 @@
 ;
 ; Note that this is a "feature" test, not a correctness test.
 ;
-; RUN: as < %s | opt -cee -simplifycfg | dis | not grep cond213
+; RUN: llvm-as < %s | opt -cee -simplifycfg | llvm-dis | not grep cond213
 ;
 implementation   ; Functions:
 
index ff4a3bd658f80ded6c88c7c6208e0dfade7df7b5..8f3402b5f406191f27cf16bf2a58ba51d14a77d8 100644 (file)
@@ -1,7 +1,7 @@
 ; a load or store of a pointer indicates that the pointer is not null.
 ; Any succeeding uses of the pointer should get this info
 
-; RUN: as < %s | opt -cee -instcombine -simplifycfg | dis | not grep br
+; RUN: llvm-as < %s | opt -cee -instcombine -simplifycfg | llvm-dis | not grep br
 
 implementation   ; Functions:
 
index b2ce0915680c2f31c79a94204cd5cc9af85977a0..8a5339bb35dac689a3b5b3d55f348e9b0e0720f2 100644 (file)
@@ -11,7 +11,7 @@
 ;
 ; This should eliminate all BB's except BB0, BB9, BB10
 ;
-; RUN: as < %s | opt -cee -instcombine -simplifycfg | dis | not grep 'bb[2-8]'
+; RUN: llvm-as < %s | opt -cee -instcombine -simplifycfg | llvm-dis | not grep 'bb[2-8]'
 
 implementation   ; Functions:
 
index d43d577305bde74eaa509b697b847cff2c6d5581..424f8e54d3dcf1660d8302382b9b5fe0f2470bee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -deadargelim | dis | not grep DEADARG
+; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep DEADARG
 
 implementation
 
index 24198713566c072d14625258998193c110d96bf6..63bf316f7516852e42e0d0ca631fe71bd1e50c6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -f -lowerrefs -o Output/%s.bc
+; RUN: llvm-as < %s | opt -f -lowerrefs -o Output/%s.bc
 ; 
        %Flat_struct = type { sbyte, float }
        %Flat_t = type { sbyte, float }
index 54bc68812f321df933d2255ea4d4f9f33e6bd42b..129138a49f324e4f9051740d0565685e818ad7f3 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that: extern int X[]  and int X[] = { 1, 2, 3, 4 } are resolved 
 ; correctly.
 ;
-; RUN: as < %s | opt -funcresolve | dis | not grep external
+; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep external
 
 %X = external global [0 x int]
 %X = global [4 x int] [ int 1, int 2, int 3, int 4 ]
index 993fd88516ca00fd60fa0b2dfe8071ea5ff31191..cdd63494e61a25a077854ac7d6960f6cd3da489a 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that: extern int X[]  and int X[] = { 1, 2, 3, 4 } are resolved 
 ; correctly.  This doesn't have constantexprs
 ;
-; RUN: as < %s | opt -funcresolve | dis | not grep external
+; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep external
 ;
 
 %X = external global [0 x int]
index 15a09ab0fb189fe9bd0ca6f75ddc720866a97995..8be06812f72722cec0098bb07464692753c7cfdf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve -funcresolve | dis | not grep declare
+; RUN: llvm-as < %s | opt -funcresolve -funcresolve | llvm-dis | not grep declare
 
 declare void %qsortg(sbyte*, int, int)
 
index 69092194a82ee6465324efbe58ad8c89f81f7e45..be7fd308f90e656657161a7e068a72c5085fb847 100644 (file)
@@ -1,5 +1,5 @@
 ;
-; RUN: as < %s | opt -funcresolve -instcombine | dis | not grep '\.\.\.'
+; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | not grep '\.\.\.'
 
 declare int %foo(...)
 declare int %foo(int)
index a9c4117cee519c8aaab6f0abf3e5adbd53971e04..1434bb9102e26e40b2a7012ca7721c41fdacab21 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
+; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
 
 %__popcount_tab = external constant [0 x ubyte]
 %__popcount_tab = constant [4 x ubyte] c"\00\01\01\02"
index cfbc76c0d123c1d45d55181627995f6f244455c8..48b5d4690c0f5c5cf61c9b759c9e2cf5e39705f0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve -disable-output
+; RUN: llvm-as < %s | opt -funcresolve -disable-output
 
 void %foo(int, int) {
   ret void
index 01da6dc9a63ba06b361f9835277ffed99c76a22b..d65e89fabdb60dceddd5f48bdf43ac7fbd236005 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve | dis | not grep declare
+; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep declare
 
 %Table = constant int(...)* %foo
 
index 41cad05a2da3045de0cb7a2248d3d385ee181c67..a45a3e5cf479f089e4c837e4ad1d5683889efc0e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve | dis | not grep declare
+; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep declare
 
 declare void %test(...)
 
index b9d561a7ef43737d1193021d1af04ab1a19d397a..353b74fca294c3426a6494eb95374ef4777622b0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve | dis | not grep foo
+; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep foo
 
 ; The funcresolve pass was resolving the two foo's together in this test,
 ; adding a ConstantPointerRef to one of them.  Then because of this
index 9f6bc2ce1ed795f544279db762db289fdff9c95b..8d89c7d4a4f63b78ec006e2ea971fc7cd24f97a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
+; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
 
 declare int %foo(int *%X)
 declare int %foo(float *%X)
index fa53724dc83fb53a768f079383a43c0fdbcf7ac2..7e9468713297f021912f5876cd06ad32a65cc17d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
+; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
 
 declare int %foo(...)
 
index adbce7304871e0f3dc781e8856f396ebcb429e10..6895fb557f0d75f9db481a5b6252b06f1048e4fe 100644 (file)
@@ -1,6 +1,6 @@
 ; This shows where the function is called with the prototype indicating a
 ; return type exists, but it really doesn't.
-; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
+; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
 
 declare int %foo(...)
 
index 36a062eb28b06bbea0d577e67ee016ccb94d6c75..433f5bb79b58a818945524bb41277f99ed3377b1 100644 (file)
@@ -1,7 +1,7 @@
 ; This shows where the function is called with the prototype indicating a
 ; return type doesn't exists, but it really does.
 ;
-; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
+; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
 
 declare void %foo(...)
 
index 2f4afab7b0bdbce869c4ed14a02cec31b4418e21..d85da646d4f67b1db26cce90ad1c3f914dc75745 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -funcresolve
+; RUN: llvm-as < %s | opt -funcresolve
 
 declare int %read(...)
 
index 57ac538172957ab28253a7c1e25d974bfbb9605f..5e893bfc0f932f8dde558d57d8fb007e2882f931 100644 (file)
@@ -1,7 +1,7 @@
 ; This entire chain of computation should be optimized away, but
 ; wasn't because the two multiplies were not detected as being identical.
 ;
-; RUN: as < %s  | opt -gcse -instcombine -dce | dis | not grep sub
+; RUN: llvm-as < %s  | opt -gcse -instcombine -dce | llvm-dis | not grep sub
 
 implementation   ; Functions:
 
index 1f4ec5b0c1dd86a353900e20448847659bd48c6d..9d09911ac130b25c0964318711a3738259555224 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase shows a bug where an common subexpression exists, but there
 ; is no shared dominator block that the expression can be hoisted out to.
 ;
-; RUN: as < %s | opt -gcse | dis
+; RUN: llvm-as < %s | opt -gcse | llvm-dis
 
 int "test"(int %X, int %Y) {
        %Z = add int %X, %Y
index fa83e2d5de9f82af312838e3807f2a7cd552d63d..3c3b17da5d527d1964b3e4d2f570f46d89a355a2 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase shows a bug where an common subexpression exists, but there
 ; is no shared dominator block that the expression can be hoisted out to.
 ;
-; RUN: as < %s | opt -load-vn -gcse | dis | not grep load
+; RUN: llvm-as < %s | opt -load-vn -gcse | llvm-dis | not grep load
 
 int %test(int* %P) {
        store int 5, int* %P
index 26a5382fae92afea30987365926ea3e917f598db..8ae62d6fed44d7b6f485349adc1d74a762c74810 100644 (file)
@@ -1,6 +1,6 @@
 ; Various test cases to ensure basic functionality is working for GCSE
 
-; RUN: as < %s | opt -gcse
+; RUN: llvm-as < %s | opt -gcse
 
 implementation
 
index d68d3930c64bf61093b7ddc6eb97305d4ac32ce6..56d949471f2769e80cf24d1f510dff08e6d2d111 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -globaldce
+; RUN: llvm-as < %s | opt -globaldce
 ;
 implementation
 
index e7830f5ba1f3547558e536b93a0f770b347c2d21..47a8a54cd7a19bb626310f272b86c10fcb1c423f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -globaldce
+; RUN: llvm-as < %s | opt -globaldce
 ;
 %X = global void() * %func
 implementation
index a923eb3441223962454d72f45d1e0485164b5ece..cf22be0ee4254de21c882ce2c4f0ec04534224e9 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: as < %s | opt -globaldce | dis | not grep foo
+; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep foo
 
 %b = internal global int ()* %foo   ;; Unused, kills %foo
 
index 039d597b8c29c3768ee14619c820034733501d48..cbc783e06de09655e7cb81636cc8011694516d97 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: as < %s | opt -globaldce | dis | not grep global
+; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep global
 
 %t0 = internal global [4 x sbyte] c"foo\00"
 %t1 = internal global [4 x sbyte] c"bar\00"
index b6e9b69e34a1c16b9c5cecd1b7beab969afd150f..0f7f075520ab745874f8639b555e102ec9501bd3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -globaldce
+; RUN: llvm-as < %s | opt -globaldce
 
 %foo = internal global int 7         ;; Should die when function %foo is killed
 
index d9f6db24837f99693d9537e4ae48e00514fb97d9..e306d9a4aff1d774b4876c716c5873424c378626 100644 (file)
@@ -1,5 +1,5 @@
 ; distilled from 255.vortex
-; RUN: as < %s | opt -globaldce | dis | not grep testfunc
+; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep testfunc
 
 implementation
 
index 1f5c61b66efe5da804a8a35543ad05a5355495b8..8990ba37982ae334168e68c51fd35b12de1edbb5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -globaldce | dis | not grep global
+; RUN: llvm-as < %s | opt -globaldce | llvm-dis | not grep global
 
 %X = uninitialized global int
 %Y = internal global int 7
index 678b062b01e397acde9ddf0c73fbc434924de8c0..81a02771a7c0a8acbacc1425542caba73c212e8e 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: as < %s | opt -indvars
+; RUN: llvm-as < %s | opt -indvars
 ;
 void %test(int %A, uint %S, sbyte* %S) {
 
index 450c6c21ae9cb5f8981089ec159f283a4e7427d0..b21e3bbf6c168fdfdf41221dc2e934f6e9d9e672 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: as < %s | opt -indvars
+; RUN: llvm-as < %s | opt -indvars
 
 %X = global int 7
 
index fc807efc9cc838c5115f68f51ba9606a6800f2bf..71f02ae4de5f9293660545d340bdf55d29dba082 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | dis | grep indvar
+; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar
 
 int %test() {
        br bool true, label %LoopHead, label %LoopHead
index 8bd95756d76a16d6e7559f7b247b2515afe88acf..418dc3eaf9d3799a15acc24c94c05fad888a0d6a 100644 (file)
@@ -1,7 +1,7 @@
 ; This test ensures that alloca instructions in the entry block for an inlined
 ; function are moved to the top of the function they are inlined into.
 ;
-; RUN: as < %s | opt -inline | dis | grep -C 1 alloca | grep Entry:
+; RUN: llvm-as < %s | opt -inline | llvm-dis | grep -C 1 alloca | grep Entry:
 
 int %func(int %i) {
        %X = alloca int 
index f12d00c364ef04a7e1ebe41be1cf905e40407b8c..e32007839bf0eade977021c22b2e45c2638b1261 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -inline -disable-output -print
+; RUN: llvm-as < %s | opt -inline -disable-output -print
 
 int %func(int %i) {
        ret int %i
index 83179a045c4e2b594e5002f03ff1cba70242b025..7548b52ddef8911a493fbcdf26afa4632030c0dd 100644 (file)
@@ -1,6 +1,6 @@
 ; This test ensures that inlining an "empty" function does not destroy the CFG
 ;
-; RUN: as < %s | opt -inline | dis | not grep br
+; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep br
 
 int %func(int %i) {
        ret int %i
index 7299d36c283cfff32084649efaac353168aa7460..bcad01c88327feed2d500ce062d0610accf13360 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: as < %s | opt -inline | dis | not grep %reallysmall
+; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep %reallysmall
 
 implementation
 
index 2aa47f770cd3775e37bec61a8e9706a0180cfa6e..023563a98ac5b7a12e7a1e6dcce3a402a1ec7afd 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that we can inline a simple function, turning the calls in it into invoke
 ; instructions
 
-; RUN: as < %s | opt -inline | dis | not grep 'call[^e]'
+; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep 'call[^e]'
 
 declare void %might_throw()
 
index 95c8e66c2bb5851148f2833a1218208fe5dd855e..9c2a8548caede09ff85cd1fdd0468726a893e21d 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: as < %s | opt -inline -simplifycfg | dis | not grep UnreachableExceptionHandler
+; RUN: llvm-as < %s | opt -inline -simplifycfg | llvm-dis | not grep UnreachableExceptionHandler
 
 declare void %might_throw()
 
index 414d0580c2ac8ee15978502311ebbfab517492e0..7ca3f6ad2975a0af1b3e0e14fd2fa8872088b7b0 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: as < %s | opt -inline | dis | not grep 'call void %llvm.unwind'
+; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep 'call void %llvm.unwind'
 
 declare void %might_throw()
 declare void %llvm.unwind()
index 86dacf77f567f5dce6645539b847d21237d11d0f..3bf86482ed974f7dc450952795d4fc06917d93b6 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase causes instcombine to hang.
 ;
-; RUN: as < %s | opt -instcombine
+; RUN: llvm-as < %s | opt -instcombine
 
 implementation
 
index 101351e695ca1dca0d32488f6ccaeeeac860748e..6f832f2b666a575bacd77aba1c9b42a14aaa0435 100644 (file)
@@ -1,7 +1,7 @@
 ; Instcombine was missing a test that caused it to make illegal transformations
 ; sometimes.  In this case, it transforms the sub into an add:
 ; RUN: echo foo
-; RUN: as < %s | opt -instcombine | dis | not grep add
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep add
 ;
 
 
index 62b1229c88459fb3a42db7f68cbb7d342429c8ea..1ebe6c8f1dfca82ff6e226c5e61d52886426f0cd 100644 (file)
@@ -4,7 +4,7 @@
 ; stayed on the worklist, as soon as it came back up to be processed, bad things
 ; happened, and opt asserted.
 ;
-; RUN: as < %s | opt -instcombine
+; RUN: llvm-as < %s | opt -instcombine
 ;
 
 %.LC0 = internal global [21 x sbyte] c"hbMakeCodeLengths(1)\00"                ; <[21 x sbyte]*> [#uses=1]
index 2e762830407664057c4720ad9ede3f7a10ce9424..4dce24202b4ef5f5688013745d5ac2851ed5fa50 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: as < %s | opt -instcombine -die | dis | grep '%c'
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep '%c'
 ;
 ulong %test3(ulong %A) {
         %c1 = cast ulong %A to ubyte
index 18496f2658dbebf7b6abb617c515a91513355b28..c632ac141344b6addac68beaf1297bb8693316a2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -instcombine
+; RUN: llvm-as < %s | opt -instcombine
 
 %bob = type { int }
 
index 6fa77b676351ba0cd5d64bba915bc701e69fdfa9..ec29e6bbbd1ac1a29657b8b46796b4eb83cbefe0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -instcombine | dis | not grep add
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep add
 
 int %test(int %A) {
   %A.neg = sub int 0, %A
index e2851205983d3435db4445a31159d1bf276b209b..218a536ef63f111059a504a571c0b891fa40961c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -instcombine | dis | grep 4294967295
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 4294967295
 
 ulong %test(ulong %Val) {
         %tmp.3 = cast ulong %Val to uint              ; <uint> [#uses=1]
index 353a036d5b33a592ab554bee8002d8e8bbdf71a0..309191cdc4195f5f4ae7b07cf096a740a2624953 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -instcombine -disable-output
+; RUN: llvm-as < %s | opt -instcombine -disable-output
 
 %X = global int 5
 long %test() {
index a2972305960b00b0c8f9a1168f8e8ff34951d718..3d26024fe8d794bdabacf0ad344b79bb9af40468 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: as < %s | opt -instcombine -disable-output
+; RUN: llvm-as < %s | opt -instcombine -disable-output
 
 ubyte %test19(bool %c) {
         br bool true, label %True, label %False
index 9539fa88ce26a0a8969d6bef186387bb57ae705e..917c86c5e24a2dcce224eeb775b274200543586e 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a bug in the VMcode library, not instcombine, it's just convenient 
 ; to expose it here.
 
-; RUN: as < %s | opt -instcombine -disable-output
+; RUN: llvm-as < %s | opt -instcombine -disable-output
 
 %A = global int 1
 %B = global int 2
index a98a68ef1f967e36aa7991901cadb6dac38138a1..2fc1b206ac8b126ceb868a9b0941b3fb7c0433c0 100644 (file)
@@ -10,7 +10,7 @@
 ;      should pass through the optimizer without failure.
 ;
 ; Extra code:
-; RUN: as < %s | opt -instcombine
+; RUN: llvm-as < %s | opt -instcombine
 ;
 
 target endian = little
index 335b8846943afbadfc5bf468bf18bb18c02a9900..e2b2afd15fe7715e9fe6540f6aab65fd35029ba2 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase can be simplified by "realizing" that alloca can never return 
 ; null.
-; RUN: as < %s | opt -instcombine -simplifycfg | dis | not grep 'br '
+; RUN: llvm-as < %s | opt -instcombine -simplifycfg | llvm-dis | not grep 'br '
 
 implementation   ; Functions:
 
index 890d61e7ca2d32f4c80dd5abd14945040b9ae979..355087a4cef3d77bfb72f57f87e086a72503923a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -instcombine | dis | grep load
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep load
 void %test(int* %P) {
        %X = volatile load int* %P  ; Dead but not deletable!
        ret void
index a70d49065abb0f71c60168a2b674b3384e402426..afcef78ed1e08e7c2fd196dbbca06149bb0f8d74 100644 (file)
@@ -1,6 +1,6 @@
 ; This test makes sure that add instructions are properly eliminated.
 
-; RUN: as < %s | opt -instcombine -die | dis | grep -v OK | not grep add
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep -v OK | not grep add
 
 implementation
 
index 59fb82383552132686167e13c5b3eac28ab1020b..5030a66ba7a7b368500cb595b5a8a2cc2fae48f8 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | not grep and
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep and
 
 implementation
 
index cf06244506ccc9c619e9b733a170e59473c815f2..a1da2c66e503348bedb0b34ea97c67e6535c1156 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -instcombine -die | dis | grep call | not grep cast
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep call | not grep cast
 
 implementation
 
index 9cc3225028031472edb5e726a02a852be5df963d..721faefc105e63013b6fbe2ab7cbab38fd6822d7 100644 (file)
@@ -3,7 +3,7 @@
 ; slow.  Might it be better to make there be an instcombine prepass before
 ; level raise that takes care of the obvious stuff?
 
-; RUN: as < %s | opt -instcombine | dis | not grep cast
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cast
 
 bool %test1(int %X) {
        %A = cast int %X to uint
index d16ed4f6fb756f1b31e69102e9869b964e9ab820..b6a47b83ee3ef17f3019c14fa3facbd10ff74055 100644 (file)
@@ -1,6 +1,6 @@
 ; Tests to make sure elimination of casts is working correctly
 
-; RUN: as < %s | opt -instcombine -die | dis | grep '%c' | not grep cast
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep '%c' | not grep cast
 
 implementation
 
index 543bd21238e813e5bba5c239ed403f374ac2fd4d..01fcf7f9dcdd1ebf44e930a47d7e07213cf77a2d 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that div instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | not grep div
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
 
 implementation
 
index 09642cdbcc9ce24653b99b1972aae4050403bb8f..4c8bbd286b43b100c9a7c7e679d80a02fea0733d 100644 (file)
@@ -1,6 +1,6 @@
 ; The %A getelementptr instruction should be eliminated here
 
-; RUN: as < %s | opt -instcombine -die | dis | grep getelementptr | not grep '%A '
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep getelementptr | not grep '%A '
 
 %Global = constant [10 x sbyte] c"helloworld"
 
index f085346597bab92e4a7669a5bf812f59defaa9bd..fa40284e599a5704bc8ffa40e2acaa064a75bf26 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | not grep load
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep load
 
 %X = constant int 42
 %Y = constant [2 x { int, float }] [ { int, float } { int 12, float 1.0 }, 
index 3545f3073de9a730799ea7c34d1dbbae542f5fb1..3231acf53d89d4c3ba7eb71c04a88d3ece7dd46c 100644 (file)
@@ -1,5 +1,5 @@
 ; test that malloc's with a constant argument are promoted to array allocations
-; RUN: as < %s | opt -instcombine -die | dis | grep getelementptr
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep getelementptr
 
 int* %test() {
        %X = malloc int, uint 4
index d7ad546f0e55bd076a5993bcd3f6bbed79199ab1..2cafce0328a9cd97e5c72165b2fdc4733e2d17e9 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that mul instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | not grep mul
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
 
 implementation
 
index 92ddffdcab4a39208195277f8c015fe22b35c5c5..f87e4bea3bdc1f9ddd2ae5e6d83e8e997f186421 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine -die | dis | not grep xor
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | not grep xor
 
 implementation
 
index 4165c52a6a9d36c9b9e14c96eed5ca1673d470cd..e4d5bb7df801c4ca5592256a082e393fcd3ee1be 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | grep -v xor | not grep 'or '
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v xor | not grep 'or '
 
 implementation
 
index 2c16f7256afb586946c2b7d1a096857c16e2998c..e8eea8f81c95bd7f32ddd8f4793effe8c981566b 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine -die | dis | not grep phi
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | not grep phi
 
 implementation
 
index ee84ac6825c845dede3c7e65736b335ac65496d6..308bf5a40d912ba0f34acf0f856ed97ae7308820 100644 (file)
@@ -2,7 +2,7 @@
 ;
 ; Equivalent to: http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01786.html
 
-; RUN: as < %s | opt -instcombine | dis | not grep 'call double %pow'
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'call double %pow'
 
 declare double %pow(double, double)
 
index 3c941454cab2f8e400cfca27bc9c7ba11f3f9493..b7a9a0aa839cf07c693ef01fb0e6b68e2911b1bf 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | not grep rem
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep rem
 
 implementation
 
index 12e73e96215c00fb1c7f418f865631dad35e9b18..762ca6c00965a2832ab9e2ee1b000af789ca9521 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | not grep set
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep set
 
 %X = uninitialized global int
 
index 36114cab79a703e1d1b8b7aa2256f899e22145a2..0c6683c57dc8cb4b90a77534dc673b9643602092 100644 (file)
@@ -3,7 +3,7 @@
 ; into equivalent setne,eq instructions.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | grep -v seteq | grep -v setne | not grep set
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v seteq | grep -v setne | not grep set
 
 bool %test1(uint %A) {
        %B = setge uint %A, 1   ; setne %A, 0
index b11d6dc1d528e59d70499ed7b3af6331b6b52993..016d00fc8bfc987ee5ff5f3df9e801d732bf68ee 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | not grep sh
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sh
 
 implementation
 
index b17e97d55471e70843f254d683fbb95c4d8ae9ae..4f2a1c9ce03545ba6712923f8200a37348ec7813 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine -die | dis | grep sub | not grep -v 'sub int %Cok, %Bok'
+; RUN: llvm-as < %s | opt -instcombine -die | llvm-dis | grep sub | not grep -v 'sub int %Cok, %Bok'
 
 implementation
 
index 0a33a12fd78daf7667520cfb41669efee363f093..6082e0c9a1b73086bfb851a6fd63ac489b5af8c7 100644 (file)
@@ -1,7 +1,7 @@
 ; This test makes sure that these instructions are properly eliminated.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | not grep 'xor '
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'xor '
 
 implementation
 
index 6bb8e0084728c8f77faace461116d46d3d7d51d1..43430d85734aae7eb2ded2de5869052a08402924 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -basicaa -licm -disable-output
+; RUN: llvm-as < %s | opt -basicaa -licm -disable-output
 
 ;%MoveArray = external global [64 x ulong]
 
index 0eb922d3b74fb5f4e8c636f31f08ff7b4e8c9d8b..23c92b650c92f1bcf25b06b198f17b6c9b6324ab 100644 (file)
@@ -1,6 +1,6 @@
 ; Exit blocks need to be updated for all nested loops...
 
-; RUN: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 implementation   ; Functions:
 
index 85ec34ec5b563f6f4a446fbd9c30d0a707db68c6..c082a596ba93e321e19fc9fa960e5bd69bdbd6cb 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase fails because preheader insertion is not updating exit node 
 ; information for loops.
 
-; RUN: as < %s | opt -licm
+; RUN: llvm-as < %s | opt -licm
 
 int %main(int %argc, sbyte** %argv) {
 bb0:            ; No predecessors!
index d7290e6090c6dd365131314910824cd56175612d..d1a15c70234a028fff24c8c8d012461dbbe2209d 100644 (file)
@@ -3,7 +3,7 @@
 ; happens because preheader insertion doesn't insert a preheader for this
 ; case... bad.
 
-; RUN: as < %s | opt -licm -adce -simplifycfg | dis | not grep 'br '
+; RUN: llvm-as < %s | opt -licm -adce -simplifycfg | llvm-dis | not grep 'br '
 
 int %main(int %argc) {
         br label %bb5
index 18193e1617efa7c4e722ccca54af8a1b6a93cdff..d0ec438dc7eb0d8fcd9d94c9335dbcd73f6b4cde 100644 (file)
@@ -1,6 +1,6 @@
 ; LICM is adding stores before phi nodes.  bad.
 
-; RUN: as < %s | opt -licm
+; RUN: llvm-as < %s | opt -licm
 
 bool %test(bool %c) {
        br bool %c, label %Loop, label %Out
index 9a133e4d8386353fc714a0a86b5b6f5ad3c214a8..4f7cbeade7196b0c9ce48d5b67f5753f78ec64b4 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that hoisting is disabled for pointers of different types...
 ;
-; RUN: as < %s | opt -licm
+; RUN: llvm-as < %s | opt -licm
 
 void %test(int* %P) {
        br label %Loop
index e6242f6533334b1d306c9e22aa7a8c5319cbfd5e..90a64e834cf710bf4616b89bf25a2bf48684a7e6 100644 (file)
@@ -3,7 +3,7 @@
 ; loaded from.  Basically if the load gets hoisted, the subtract gets turned
 ; into a constant zero.
 ;
-; RUN: as < %s | opt -licm -load-vn -gcse -instcombine | dis | grep load
+; RUN: llvm-as < %s | opt -licm -load-vn -gcse -instcombine | llvm-dis | grep load
 
 %X = global int 7
 declare void %foo()
index 67c7d8261d2cb4f15ae13b8d1803628f265a23f8..952078c7e0ab0209305b33052739f0d47420f8da 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase tests for a problem where LICM hoists 
 ; potentially trapping instructions when they are not guaranteed to execute.
 ;
-; RUN: as < %s | opt -licm | dis | grep -C 2 "IfUnEqual" | grep div 
+; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C 2 "IfUnEqual" | grep div 
 
 %X = global int 0
 declare void %foo()
index 749024b26ba8681a1e6786425fa47400a3f241da..65d1808336d1d9c8098b3135c4d65c1761607e39 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase tests to make sure a trapping instruction is hoisted when
 ; it is guaranteed to execute.
 ;
-; RUN: as < %s | opt -licm | dis | grep -C 2 "test" | grep div
+; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C 2 "test" | grep div
 
 %X = global int 0
 declare void %foo()
index f526987fc72cdb7dda5997b6e0cecf34c475c3f6..328687da011a705b57c397d485dfdd1013bcf301 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -licm | dis
+; RUN: llvm-as < %s | opt -licm | llvm-dis
 
 void "testfunc"(int %i) {
 
index eb0773f7e1672a1268c3faa6644d8d8eb3f18c15..8d2eef993303b06041ce79061e6cbe466e3a4964 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that LICM works when there is not a loop-preheader
-; RUN: as < %s | opt -licm | dis
+; RUN: llvm-as < %s | opt -licm | llvm-dis
 
 void "testfunc"(int %i, bool %ifcond) {
        br bool %ifcond, label %Then, label %Else
index 01c25c8cebb164d18eaa7a4a9762d2d56e647446..02fa57d26bdf67ed079e7ab825c97b6faf6adfe2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt  -licm -stats 2>&1 | grep "memory locations promoted to register"
+; RUN: llvm-as < %s | opt  -licm -stats 2>&1 | grep "memory locations promoted to register"
 
 %X = global int 7
 
index ef9a7ae36a1cc450b1800b95b02c6b5f5ecde25d..a88c513c1d664386e2f944582405c16633683e72 100644 (file)
@@ -17,7 +17,7 @@
 ; The fix is to have the -raise pass correctly convert it to the second
 ; equivelent form.
 ;
-; RUN: as < %s | opt -q -raise > Output/%s.raised.bc
+; RUN: llvm-as < %s | opt -q -raise > Output/%s.raised.bc
 ; RUN: lli -force-interpreter -array-checks -abort-on-exception < Output/%s.raised.bc
 ;
 
index 7fcc83e90b20db0b80f81f86b7464fc654a610a8..44ccfcc6807fb0ed7ecfe1083e0d89feb52b0cab 100644 (file)
@@ -1,6 +1,6 @@
 ; An invalid assertion killed the level raiser.  Fixed.
 ;
-; RUN: as < %s | opt -raise
+; RUN: llvm-as < %s | opt -raise
 
 implementation
 
index 1232b1a6a44ed9821ffb095d7cb636afa800f8bc..26fedff040afa7f5005b7e9ab1909b7af2551048 100644 (file)
@@ -2,7 +2,7 @@
 ; method pointer type into a call.  In doing so, it would have to change the
 ; types of the arguments to the call, but broke doing so.
 ;
-; RUN: as < %s | opt -raise
+; RUN: llvm-as < %s | opt -raise
 
 implementation
 
index 59c9122ddf34ddce396e1d96e85fbe4c31bbaa32..c740f4b8899fad6d5a757accbb2c598d7f1d5214 100644 (file)
@@ -2,7 +2,7 @@
 ; Note that this code is actually miscompiled from the input source, but despite 
 ; that, level raise should not hang!
 ;
-; RUN: as < %s | opt -raise    
+; RUN: llvm-as < %s | opt -raise       
        
        %Disjunct = type { \2 *, short, sbyte, sbyte *, { short, short, sbyte, sbyte, \2, sbyte * } *, { short, short, sbyte, sbyte, \2, sbyte * } * }
 %chosen_disjuncts = uninitialized global %Disjunct * *         ; <%Disjunct * * *> [#uses=1]
index b14bc2db2a4ed52341131716b3ed618d9fb67846..38ec9937677577a233dcb0131346550e38b16c16 100644 (file)
@@ -2,7 +2,7 @@
 ; getelementptr instruction... with a bad level raise pass, this code
 ; will segfault on execution.
 ;
-; RUN: as < %s | opt -raise  |lli -abort-on-exception  
+; RUN: llvm-as < %s | opt -raise  |lli -abort-on-exception  
  
  %Village = type { [4 x \3 *], \2 *, { \2 *, { int, int, int, \5 * } *, \2 * }, { int, int, int, { \2 *, { int, int, int, \6 * } *, \2 * }, { \2 *, { int, int,
   int, \6 * } *, \2 * }, { \2 *, { int, int, int, \6 * } *, \2 * }, { \2 *, { int, int, int, \6 * } *, \2 * } }, int, int }
index bd1ec5bbbc611a50f88f3165a80dfc1cb2b36a34..d23b22a4a9b0be3dc2c31a40299ac15ea8d9adb0 100644 (file)
@@ -1,7 +1,7 @@
 ; Level raise is making an incorrect transformation, which causes incorrect 
 ; bytecode to be generated.
 ;
-; RUN: as < %s | opt -raise | dis
+; RUN: llvm-as < %s | opt -raise | llvm-dis
 ;
 
        %Village = type { [4 x \3 *], \2 *, { \2 *, { int, int, int, \5 * } *, \2 * }, { int, int, int, { \2 *, { int, int, int, \6 * } *, \2 * }, { \2 *, { int, int, int, \6 * } *, \2 * }, { \2 *, { int, int, int, \6 * } *, \2 * }, { \2 *, { int, int, int, \6 * } *, \2 * } }, int, int }
index 62ac99064237fd2dac02c889be1b0b68c8c4b3a8..969fdfc7381125c431524d79cc47c298e4ba7c33 100644 (file)
@@ -2,7 +2,7 @@
 ; successful, all cast instructions should be eliminated from this testcase.
 ;
 
-; RUN: as < %s | opt -raise | dis | not grep cast 
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep cast 
 
        %Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
        %hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int }
index 36cdc4e355aef4212ecd80291296ef6bbb09c353..bae5a285dcfaa25cd625a1d2941e093e6e42a557 100644 (file)
@@ -3,7 +3,7 @@
 ; prevented reg115 from being able to change.
 ;
 
-; RUN: as < %s | opt -raise | dis | grep '= cast' | not grep \*
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
        
        %Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
        %HashEntry = type { uint, sbyte *, \2 } *
index 52cf2682dfd15709258d989f3c527cb7b8fe2982..e1350cb4032fb7d1bcad3e562435fb93f863b6f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise | dis | grep '= cast' | not grep \*
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
 
        %Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
        %HashEntry = type { uint, sbyte *, \2 } *
index e04c39705cec1b34e4fe041aee52baa16cbab623..7b7775d3421ffcbaa5ef725dc42648f38b1e804e 100644 (file)
@@ -8,7 +8,7 @@
 ;     x[j*i-12] = j;
 ; }
 
-; RUN: as < %s | opt -raise | dis | grep ' cast ' | not grep '*'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
 
 implementation
 
index a856fe23b0aed6ff5082979fcfd3a734df5a2817..f89551ddce2bef9bea26044987abdfd881f2d2fd 100644 (file)
@@ -5,7 +5,7 @@
 ;   return (int*)malloc(i+j);
 ; }
 
-; RUN: as < %s | opt -raise | dis | grep ' cast ' | not grep '*'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
 
 implementation
 
index d78a9466669c602dd22c83fdb5bdcb21459c6540..be6f3f5b3df81f83376549d39c08a46103f9995e 100644 (file)
@@ -3,7 +3,7 @@
 ; to a 32 bit version of the number with all upper 16 bits clear (ushort->uint
 ; involves no sign extension).  Optimizing this to a single cast is invalid!
 ;
-; RUN: as < %s | opt -raise -q | lli -abort-on-exception
+; RUN: llvm-as < %s | opt -raise -q | lli -abort-on-exception
 ;
 implementation
 
index d23ffd3a4e85d0cdfde077a5369169bdf63a918c..322e3248a0aa6fe841bedb05b7ed0f1dcd382f2f 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase is not level raised properly...
 ;
-; RUN: as < %s | opt -raise | dis | grep ' cast ' | not grep '*'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
 
        %List = type { int, %List* }
 
index dafd4e000dfa02b5a6b0c30fe713f44fcad66cdc..1e2ca0e0e9d460718ea71870f8226410f5cf7370 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase should have the cast propogated through the load
 ; just like a store does...
 ;
-; RUN: as < %s | opt -raise | dis | grep ' cast ' | not grep '*'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
 
 int "test"(uint * %Ptr) {
        %P2 = cast uint *%Ptr to int *
index 50176e235795627c29c17ddad606fe8a517fb5a9..97549f4d375cf003f0e0942e740fde717e9c4450 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise | dis | grep '= cast' | not grep \*
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
 
 %FILE = type { int, ubyte*, ubyte*, ubyte, ubyte, uint, uint, uint }
 
index 11a3967d1a5d703887092f16a1f4a78cedddf40b..5d49248ad1dd0fefba641e40bdf9b217a01e6f05 100644 (file)
@@ -5,7 +5,7 @@
 ; This could be fixed by making all stores add themselves to a list, and check
 ; their arguments are consistent AFTER all other values are propogated.
 
-; RUN: as < %s | opt -raise | dis | not grep '= cast' 
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep '= cast' 
 
         %Tree = type %struct.tree*
         %struct.tree = type { int, double, double, %Tree, %Tree, %Tree, %Tree }
index faae968a8b4b63a46f92359cd118042a4ba0ce00..5f528a006d09cb280e8d9a7f8ea20e92645686f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise
+; RUN: llvm-as < %s | opt -raise
        
        %Tree = type %struct.tree*
        %struct.tree = type { int, double, double, %Tree, %Tree, %Tree, %Tree }
index 6a7faf411ff92e4331152580bedfc58873d70316..6ca0b1343c7839d4f9e35fd206a705f1bb1eb578 100644 (file)
@@ -1,6 +1,6 @@
 ; This crashes raise, with an cast<> failure
 
-; RUN: as < %s | opt -raise
+; RUN: llvm-as < %s | opt -raise
 
 implementation
 sbyte* %test(int* %ptr) {
index 296e9e1c1ec3f6f9e4674a392a65c29ecc5066d6..792a035651f392a75f5a514d649357bc8caff93d 100644 (file)
@@ -2,7 +2,7 @@
 ; because both the source and the destination of the %Y cast are converted
 ; to a new type, which causes massive problems.
 
-; RUN: as < %s | opt -raise -raise-start-inst=W
+; RUN: llvm-as < %s | opt -raise -raise-start-inst=W
 
 int **%test(sbyte **%S) {
 BB0:
index 8653e2698023d50581edda1f9dedb302671bd9d8..e8a71beff72b2a87c32bed9154c46e9b8e314018 100644 (file)
@@ -1,6 +1,6 @@
 ; Looks like we don't raise alloca's like we do mallocs
 ;
-; RUN: as < %s | opt -raise | dis | grep '= cast' | not grep \*
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
 
 implementation   ; Functions:
 
index 6e76d5417c5a1e6d8215892e11b8dc133ec79c04..e165cf6edf468c2ef310c7720a36607c56063818 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise -raise-start-inst=cast271
+; RUN: llvm-as < %s | opt -raise -raise-start-inst=cast271
 
        %CON_list = type { %CON_list*, %CON_node* }
        %CON_node = type { %DIS_list*, %DIS_list*, int }
index 493b88fcfd4e4b64ead834f3e45f765384009d3e..64c08a24164dbb03e85b290a1eb5a6915b63024f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise
+; RUN: llvm-as < %s | opt -raise
 
 int* %test(int* %P, int* %Q) {
        %P = cast int* %P to ulong
index 7cfd02e899da1365b7761c81287ebae4c3200589..0e3505899f6fb201727c36e68fa55298dffbf86b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise | dis | grep -v uint | not grep 4294967295
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep -v uint | not grep 4294967295
 
 %length_code = uninitialized global [256 x ubyte]
 
index 8c0fcf4ffce59b364717aea8082b32d8d0038fcd..94ad671fb2a880bb852b12459ea99790243c60ef 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise | dis | grep call | not grep '\.\.\.'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | grep call | not grep '\.\.\.'
 
 implementation
 
index 111cddca5a3fefd53f54503a2a4eb530901a555a..b9ebe6322afef77793ced028cd91ca979389ff9c 100644 (file)
@@ -1,6 +1,6 @@
 ; Due to a recent change, this testcase now sends the raise pass into an infinite loop
 ;
-; RUN: as < %s | opt -raise
+; RUN: llvm-as < %s | opt -raise
 
 implementation
 
index 33556feabb81a2552330f89b6fa1fbc17f16099c..4d5f08142e37bc260b46c76e7f44bfea0ebd22ee 100644 (file)
@@ -1,6 +1,6 @@
 ; This testcase should be able to eliminate at least one of the casts.
 ;
-; RUN: as < %s | opt -raise | dis | not grep 'REMOVE'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep 'REMOVE'
 
 int %foo(sbyte * %PF) {
        %UPF = cast sbyte* %PF to uint()*
index e865e048946d0c83087c434f38ee083ec45f5f62..2dfe07ce0fec3a08f44b3e1fd88df5d37e205f35 100644 (file)
@@ -1,5 +1,5 @@
 ; Testcase reduced from 197.parser by bugpoint
-; RUN: as < %s | opt -raise -raise-start-inst=cast455 > /dev/null
+; RUN: llvm-as < %s | opt -raise -raise-start-inst=cast455 > /dev/null
 
 void %conjunction_prune() {
 ; <label>:0             ; No predecessors!
index b88cbe213a2e2d64eedbae05dcb3a63ffa82eb9e..d1e6ca1ccf04835084ddc867dcc8870a45c61f38 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise -debug -raise-start-inst=cast459
+; RUN: llvm-as < %s | opt -raise -debug -raise-start-inst=cast459
 
 int %deflateInit2_({ ubyte*, uint, ulong, ubyte*, uint, ulong, sbyte*, { \4, int, ubyte*, ulong, ubyte*, int, int, ubyte, ubyte, int, uint, uint, uint, ubyte*, ulong, ushort*, ushort*, uint, uint, uint, uint, uint, long, uint, uint, int, uint, uint, uint, uint, uint, uint, int, int, uint, int, [573 x { { ushort }, { ushort } }], [61 x { { ushort }, { ushort } }], [39 x { { ushort }, { ushort } }], { { { ushort }, { ushort } }*, int, { int }* }, { { { ushort }, { ushort } }*, int, { int }* }, { { { ushort }, { ushort } }*, int, { int }* }, [16 x ushort], [573 x int], int, int, [573 x ubyte], ubyte*, uint, uint, ushort*, ulong, ulong, uint, int, ushort, int }*, sbyte* (sbyte*, uint, uint)*, void (sbyte*, sbyte*)*, sbyte*, int, ulong, ulong }* %strm, int %level, int %method, int %windowBits, int %memLevel, int %strategy, sbyte* %version, int %stream_size) {
 bb0:            ; No predecessors!
index 432c6686104694c6c60bfe4a801b86690d0634fa..b752b0ff76d3687683d4adc222ee0b736f14c6ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise
+; RUN: llvm-as < %s | opt -raise
 
 declare void %foo()
 
index 55557de0731e31b23ff502e52e5f85dbe6fa2186..a313249fb332a0d465a50a56f41f1c0c3bc17f91 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise | dis | not grep cast
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep cast
 
 void %test(...) { ret void }
 
index 07f838a041abd2e5df2fe009f34d4027a9fa91d0..0e9785ecd38570e7db7556ea89035abddfc1a32f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -raise -disable-output
+; RUN: llvm-as < %s | opt -raise -disable-output
 
 %T = type { [0 x ubyte] }
 
index f4edb6fa8d8136cdd7e60007e76bed12a07d96f2..998f49719eb312c7c236bb0250b27d123a612d0e 100644 (file)
@@ -1,6 +1,6 @@
 ; The expr analysis routines were being too aggressive across cast instructions!
 
-; RUN: as < %s | opt -raise | dis | not grep 4294967295
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep 4294967295
 
 target endian = big
 target pointersize = 64
index 1acc4702c0ea9a218ebd608d8790ec6684036b70..a4c733016f75f0af292a9e209a67b9cde5e35125 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: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 implementation   ; Functions:
 
index 7f709df1a04e04a3cd98550b3041e332f9bf4de7..23824293c5b839062cf2dc92a7571d8d46c9bc26 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: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 int %re_match_2() {
        br label %loopentry.1
index caf886be48017092cc8eb32970cd7ce93af79251..f7bb283fa3877af031e47e462896e0f4841d7f39 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -tailduplicate -instcombine -simplifycfg -licm -disable-output
+; RUN: llvm-as < %s | opt -tailduplicate -instcombine -simplifycfg -licm -disable-output
 
 target endian = little
 target pointersize = 32
index 15402190d09d1d3819e3d007a427b646ee0bed5e..294140b02e7a887ddd3ff30dd1c27b90e429b3c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 implementation
 
index 7c11fbaa05b1a2983d8c6e98741938dad5676776..9179c49a99cf3e57c9b261c15b0bfb865be5c5fc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 void %foo(bool %C) {
        br bool %C, label %T, label %F
index 1acc4702c0ea9a218ebd608d8790ec6684036b70..a4c733016f75f0af292a9e209a67b9cde5e35125 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: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 implementation   ; Functions:
 
index 7f709df1a04e04a3cd98550b3041e332f9bf4de7..23824293c5b839062cf2dc92a7571d8d46c9bc26 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: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 int %re_match_2() {
        br label %loopentry.1
index caf886be48017092cc8eb32970cd7ce93af79251..f7bb283fa3877af031e47e462896e0f4841d7f39 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -tailduplicate -instcombine -simplifycfg -licm -disable-output
+; RUN: llvm-as < %s | opt -tailduplicate -instcombine -simplifycfg -licm -disable-output
 
 target endian = little
 target pointersize = 32
index 15402190d09d1d3819e3d007a427b646ee0bed5e..294140b02e7a887ddd3ff30dd1c27b90e429b3c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 implementation
 
index 7c11fbaa05b1a2983d8c6e98741938dad5676776..9179c49a99cf3e57c9b261c15b0bfb865be5c5fc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -preheaders
 
 void %foo(bool %C) {
        br bool %C, label %T, label %F
index b5adbbe64f8a15acb7cb09b879dae1584f7bb2d2..f7bef72b660619b3ad110897d60463dba32e37fe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -lowersetjmp | dis | grep invoke
+; RUN: llvm-as < %s | opt -lowersetjmp | llvm-dis | grep invoke
 
 %JmpBuf = type int
 %.str_1 = internal constant [13 x sbyte] c"returned %d\0A\00"
index 914df25360fd934a75602ec11a2ad1a4faf09164..c17f8ce542557a08fce281ff3ba71e1bd5eb442f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -lowerswitch
+; RUN: llvm-as < %s | opt -lowerswitch
 
 void %child(int %ct.1) {
 entry:          ; No predecessors!
index 8b67c23e6cf715456037b2d971830c4934f35fdd..e858f34d436ff9b13cb3a8d804578eb775211c6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -lowerswitch
+; RUN: llvm-as < %s | opt -lowerswitch
 
 void %test() {
        switch uint 0, label %Next []
index 0eded43d8d9671d581762bb61a6171a0823ee7aa..9f401b3e35459b8f3b2f6391148801c06c256a3e 100644 (file)
@@ -1,6 +1,6 @@
 ; Uninitialized values are not handled correctly.
 ;
-; RUN: as < %s | opt -mem2reg
+; RUN: llvm-as < %s | opt -mem2reg
 ;
 
 implementation
index 1c107ac4c46a1c8cc331378dae75e0ca8a092091..c51d09522b6f91ce41ad47791ebf02ffc2d66410 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: as < %s | opt -mem2reg
+; RUN: llvm-as < %s | opt -mem2reg
 
 
 implementation
index 286252aa56ef60bd368440b582d6a21431775311..05990b1b458e66ce2873e42efe81999e220c09cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -mem2reg
+; RUN: llvm-as < %s | opt -mem2reg
 
 implementation   ; Functions:
 
index 8a3dc1e80518ae8229815f70fd1f3c69bfc3710e..bdf155a4d49d983e881d4bf72fe821da17a1c387 100644 (file)
@@ -1,5 +1,5 @@
 ; This testcases makes sure that mem2reg can handle unreachable blocks.
-; RUN: as < %s | opt -mem2reg
+; RUN: llvm-as < %s | opt -mem2reg
 
 int %test() {
        %X = alloca int
index 16507e39882b13f8b1dc8e7b5eec14d454fc9046..9e23466df9a2e71b48335ffba6c553c5dd7ddc27 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: as < %s | opt -mem2reg -disable-output
+; RUN: llvm-as < %s | opt -mem2reg -disable-output
 
 int %test(bool %c1, bool %c2) {
        %X = alloca int
index f8951509492161b5846374da441568d9b25d8267..3b63efa4464c134fdca8c8f8a3fc2667ed3c6bce 100644 (file)
@@ -1,5 +1,5 @@
 ; Promoting some values allows promotion of other values.
-; RUN: as < %s | opt -mem2reg | dis | not grep alloca
+; RUN: llvm-as < %s | opt -mem2reg | llvm-dis | not grep alloca
 
 int %test2() {
         %result = alloca int             ; ty=int*
index e1069a41b97d90bdf8db34bc21252da791486186..91e33e04c0288b1a1fef842cd99f3cf1ef8d92e6 100644 (file)
@@ -2,7 +2,7 @@
 ; generated code should perform the appropriate masking operations required 
 ; depending on the endianness of the target...
 
-; RUN: as < %s | opt -mem2reg | dis | not grep 'alloca'
+; RUN: llvm-as < %s | opt -mem2reg | llvm-dis | not grep 'alloca'
 
 implementation
 
index ea30cdb5b8f3ea656a66d814e38caf0976da85ab..b540a291cea7718355cc02c25be2d1ecb044871a 100644 (file)
@@ -1,5 +1,5 @@
 ; Simple sanity check testcase.  Both alloca's should be eliminated.
-; RUN: as < %s | opt -mem2reg | dis | not grep 'alloca'
+; RUN: llvm-as < %s | opt -mem2reg | llvm-dis | not grep 'alloca'
 
 implementation
 
index 2a999b5019ae19391b80496dcd5d45f33e362b38..abf5fe644a462d64ebc3827e398e6715ca12866f 100644 (file)
@@ -1,7 +1,7 @@
 ; Basic testcases - these are only tested by inspection, but illustrate the 
 ; basic cases PRE can handle.
 ;
-; RUN: as < %s | opt -pre -disable-output
+; RUN: llvm-as < %s | opt -pre -disable-output
 
 declare void %use(int)
 declare int %get()
index a08a968ea4bbecb9e3c782dc1c7e8739cc2fdb61..9c9fa561b21d03bc1e36955c3c04aff9f1db0411 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -pinodes -instcombine -die | dis | not grep add
+; RUN: llvm-as < %s | opt -pinodes -instcombine -die | llvm-dis | not grep add
 
 int "test"(int %i, int %j) {
        %c = seteq int %i, 0
index a674a4d698aaae18144611c57e0b41049f1d0d8d..05c62b3bdaefed890b2b57bd3ce3c6f4a9b1b927 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -paths
+; RUN: llvm-as < %s | opt -paths
 ;
 %globalCrc = uninitialized global uint         ; <uint*> [#uses=1]
 
index 8a966bb21ee330b8d4b27d60c41405fe5594cdf6..fc2b952de02160458683bddf608cb99a65fbecbd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -prune-eh | dis | not grep invoke
+; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep invoke
 
 implementation
 
index 619ca486e0200b0c3e8059fd1b46c3f2355f0871..4c6f8bad54436aac2d601de99af4933d78321f68 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -prune-eh | dis | not grep invoke
+; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep invoke
 
 implementation
 
index 94785f318fab15dc704f335996cde3b8db9113ff..0a176be6e3b32ce9c5e62ff0e40b12246fa21c29 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -reassociate -instcombine -constprop -dce | dis | not grep add
+; RUN: llvm-as < %s | opt -reassociate -instcombine -constprop -dce | llvm-dis | not grep add
 
 int %test(int %A) {
        %X = add int %A, 1
index 4f36c96b364d95c8d9583a272afcca14f5acd9d2..fce2cdec0ee3e011bf3e6d83ac168b058d995cc4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -reassociate -instcombine -constprop -die | dis | not grep 5
+; RUN: llvm-as < %s | opt -reassociate -instcombine -constprop -die | llvm-dis | not grep 5
 
 int %test(int %A, int %B) {
         %W = add int %B, -5
index 2136e094253e5a89db175e769c1dca452989aa62..f3e6bfa785b561ed86305f7d9f528dfc7e258db5 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate all of the constants.
 ;
-; RUN: as < %s | opt -reassociate -constprop -instcombine -dce | dis | not grep add
+; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -dce | llvm-dis | not grep add
 
 int %test(int %A, int %B) {
        %W = add int 5, %B
index 05f9bd4ae6aef2e61dcdca697a93503237e04812..85e746bfe1ad42a26659e4f3eba3699dbb8d9ee8 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the two 12 constants.
 ;
-; RUN: as < %s | opt -reassociate -constprop -dce | dis | not grep 12
+; RUN: llvm-as < %s | opt -reassociate -constprop -dce | llvm-dis | not grep 12
 
 int "test"(int %A, int %B, int %C, int %D) {
        %M = add int %A, 12
index f2d2a62fd8a467f9bcaa47ded39f2180eee5c409..3829148699265c4d916ae4fac3dcf2a64d676ced 100644 (file)
@@ -1,6 +1,6 @@
 ; The reassociate pass is not preserving dominance properties correctly
 ;
-; RUN: as < %s | opt -reassociate
+; RUN: llvm-as < %s | opt -reassociate
 
 int %compute_dist(int %i, int %j) {
         %reg119 = sub int %j, %i
index 7919bad9e1ea852f8871349923f2af0f38107da5..59e482d95ea98c2abe7eb3ef555cd0cd291dcc1f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -reassociate -disable-output
+; RUN: llvm-as < %s | opt -reassociate -disable-output
 
 implementation   ; Functions:
 
index cad7a5aafda66f7213fcc765032c457746cda5a7..6372d988c334e0f78fb0c7f294fb913088caa104 100644 (file)
@@ -1,6 +1,6 @@
 ; With reassociation, constant folding can eliminate the 12 and -12 constants.
 ;
-; RUN: as < %s | opt -reassociate -constprop -instcombine -die | dis | not grep add
+; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep add
 
 int %test(int %arg) {
        %tmp1 = sub int -12, %arg
index 31c3be0a8784532a076d07cf6a30a28ebe0066d1..c7a3687642c2313d08968fa7cb470e18a8a47944 100644 (file)
@@ -1,6 +1,6 @@
 ; With reassociation, constant folding can eliminate the +/- 30 constants.
 ;
-; RUN: as < %s | opt -reassociate -constprop -instcombine -die | dis | not grep 30
+; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep 30
 
 int "test"(int %reg109, int %reg1111) {
         %reg115 = add int %reg109, -30           ; <int> [#uses=1]
index 06dea0bbbb758989db9c8554038fb70ff3adfc3d..aa7000f9fa16ca2af52fc3c410c87de48e479587 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: as < %s | opt -reassociate | dis | grep 115 | not grep 117
+; RUN: llvm-as < %s | opt -reassociate | llvm-dis | grep 115 | not grep 117
 
 %.LC0 = internal global [4 x sbyte] c"%d\0A\00"                ; <[4 x sbyte]*> [#uses=1]
 
index 6960b1df99136030c499d7d3305dc179ea3a4fe2..0a205e32ca9cdd7ae1c7ee83b383bbc5905f75ee 100644 (file)
@@ -1,6 +1,6 @@
 ; Reassociation should apply to Add, Mul, And, Or, & Xor
 ;
-; RUN: as < %s | opt -reassociate -constprop -instcombine -die | dis | not grep 12
+; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep 12
 
 int "test_mul"(int %arg) {
         %tmp1 = mul int 12, %arg
index 38a887b56625fc7db02e3465923dd651fbb44a18..fe2d46f910c89286017c23bb4a4c99dba8d5cee5 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the 12 and -12 constants.
 ;
-; RUN: as < %s | opt -reassociate -constprop -instcombine -die | dis | not grep 12
+; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep 12
 
 int "test"(int %A, int %B) {
        %X = add int -12, %A
index be8bbfda67fe820c3d741e99c9d6f0a4675f99ea..9eeca701236d0115ecc2e3b0d94b4b5dfe8c5fd7 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: as < %s | opt -sccp | dis | not grep loop
+; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep loop
 
 int* %test() {
 bb1:
index 101ced7a651688fc88313dc88aab7e7b724897bb..183e5bc4d794189b9bee79b6f8eb4ba32a6f1cb2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -sccp | dis | not grep sub
+; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep sub
 
 void %test3(int, int) {
        add int 0, 0
index ec30c67aade59b8791384317959bdfa6fac76517..448d1b52e13db2c1f77d86faa734dc310d967099 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: as < %s | opt -sccp | dis | grep phi
+; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep phi
 
 int "test"(int %A, bool %c) {
 bb1:
index b8c03b212721e34b009cbba9b702227a290a2065..6b0f369e2c7ac4cd932ea65a8b9ddbaea32ae750 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: as < %s | opt -sccp -simplifycfg | dis | grep ret
+; RUN: llvm-as < %s | opt -sccp -simplifycfg | llvm-dis | grep ret
 
 
 void "old_main"() {
index a957a905db842dd1eb733e29f0a2914b67db35f2..1d1b1f702deb2983df98a077a0d70b549943316a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -sccp | dis | not grep '%X'
+; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep '%X'
 
 %G = uninitialized global [40x int]
 
index 85ea1a7f60094bdac44f44ca22d21787cc5500fc..f554b000ce781e3dcf344458b4968aa486975952 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -sccp -simplifycfg | dis | not grep then:
+; RUN: llvm-as < %s | opt -sccp -simplifycfg | llvm-dis | not grep then:
 
 void %cprop_test11(int* %data.1) {
 entry:         ; No predecessors!
index 525f15201d3480b787d666b6d7e26edc551f8d2a..14c41d75584fc1c1472b7097fd14fdd82eaacc14 100644 (file)
@@ -1,5 +1,5 @@
 ; The PHI cannot be eliminated from this testcase, SCCP is mishandling invoke's!
-; RUN: as < %s | opt -sccp | dis | grep phi
+; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep phi
 
 declare void %foo()
 int %test(bool %cond) {
index 2ed9d5e47927844a29628faed16e225d427ea4b7..0825d0dbd81df16bd9c9b05ad62c9813868d9e6e 100644 (file)
@@ -1,7 +1,7 @@
 ; This is a basic sanity check for constant propogation.  The add instruction 
 ; should be eliminated.
 
-; RUN: as < %s | opt -sccp | dis | not grep add
+; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep add
 
 int %test(bool %B) {
        br bool %B, label %BB1, label %BB2
index 37f4bc264ab684fb6ca6c5f4f445400719027171..94a33645f539e48fcbc8bfbc0eb199da437887e0 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: as < %s | opt -sccp -constprop -dce -cfgsimplify | dis | not grep BB3
+; RUN: llvm-as < %s | opt -sccp -constprop -dce -cfgsimplify | llvm-dis | not grep BB3
 
 int %test function(int %i0, int %j0) {
 BB1:
index 0f8d480b32585d02ec64a06e28d55c61af4d7427..e964dc8bffffb5ec217c6ef1101f7d79896198e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -scalarrepl | dis | grep alloca | grep '4 x'
+; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep alloca | grep '4 x'
 
 ; Test that an array is not incorrectly deconstructed...
 
index 42f6f8b89dd37bff07080cfa5b81d40ec9a510f6..6ec9adb209baf0d4cacce310c4247710cf5fde79 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -scalarrepl
+; RUN: llvm-as < %s | opt -scalarrepl
 
 void %main() {
        %E = alloca { { int, float, double, long }, { int, float, double, long } }              ; <{ { int, float, double, long }, { int, float, double, long } }*> [#uses=1]
index d6f437e4a72a25ffc21519ee15c504c68a9699c6..958f33a2b39a026c3f2477224081fb1d9d79cb94 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -scalarrepl
+; RUN: llvm-as < %s | opt -scalarrepl
 
 int %test() {
   %X = alloca { [ 4 x int] }
index 076659b39f2d23ce2676decfd3cc24bf3b358024..b923e192ababc8ab7fcb0650b7468de46338d736 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -scalarrepl -mem2reg | dis | not grep alloca
+; RUN: llvm-as < %s | opt -scalarrepl -mem2reg | llvm-dis | not grep alloca
 
 int %test() {
   %X = alloca [ 4 x int ]
index 22e84f8b832112cfbd9721cdc739f31cae32317a..fa3156b883b3ccc2cb387599fcc3b655e43cefaa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -scalarrepl -mem2reg | dis | grep alloca
+; RUN: llvm-as < %s | opt -scalarrepl -mem2reg | llvm-dis | grep alloca
 
 int %test() {
   %X = alloca [ 4 x int ]
index a576fd63624e139ae1c7db71072ca452193de228..df27b09a883f766e56a4dd46435ce78aa778baca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -scalarrepl -mem2reg | dis | not grep alloca
+; RUN: llvm-as < %s | opt -scalarrepl -mem2reg | llvm-dis | not grep alloca
 
 int %test() {
   %X = alloca { int, float }
index c1257cd95d2ab9bd4ed5969598c242e39115984b..3539bccc4ab8f0da1e7ca59b02248172003ef720 100644 (file)
@@ -1,6 +1,6 @@
 ; Basic block #2 should not be merged into BB #3!
 ;
-; RUN: as < %s | opt -simplifycfg | dis | grep 'br label'
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep 'br label'
 ;
 void "cprop_test12"(int* %data) {
 bb0:
index d5f5077994cfa84bbd9e7219183c2726dd233653..7baea2e48d8a1a839918eadbb21fa4c6f29deed4 100644 (file)
@@ -4,7 +4,7 @@
 ;
 ; Which is not valid SSA
 ;
-; RUN: as < %s | opt -simplifycfg | dis
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis
 
 void "test"() {
        br bool true, label %end, label %Loop
index 1587e7e144a0d5ea744604b5d17f8862a7ba9db4..4c0cbbc9807b422974e834822d7d20fe2fd0f715 100644 (file)
@@ -1,7 +1,7 @@
 ; -simplifycfg is not folding blocks if there is a PHI node involved.  This 
 ; should be fixed eventually
 
-; RUN: as < %s | opt -simplifycfg | dis | not grep br
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
 
 int %main(int %argc) {
         br label %InlinedFunctionReturnNode
index 94d632f8f8383955b523da6685e1412472fd2436..b3c94859ef8ffc639d588cde3c2f2d4702de22a2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -simplifycfg
+; RUN: llvm-as < %s | opt -simplifycfg
 
 int %test(int %A, int %B, bool %cond) {
 J:
index 6133457b9e8811070668f7d4e230c7668413e774..6b75c5fa27e7860a8c5e62f750bb58e37dfae67e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-as < %s | opt -simplifycfg -disable-output
 
 implementation   ; Functions:
 
index 0dafdd9e66358bc923bd902add9f77d5186278ec..b6638ee519dae572349f52b0ba4e8f9edda6914b 100644 (file)
@@ -1,6 +1,6 @@
 ; Do not remove the invoke!
 ;
-; RUN: as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-as < %s | opt -simplifycfg -disable-output
 
 int %test() {
        %A = invoke int %test() to label %Ret except label %Ret
index 25deb3b36298092c05c39db1f9a55a06fda971fb..179ef72d6c98d14ead49906e06eda5d5b0676d1c 100644 (file)
@@ -1,6 +1,6 @@
 ; Do not remove the invoke!
 ;
-; RUN: as < %s | opt -simplifycfg | dis | grep invoke
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep invoke
 
 int %test() {
        invoke int %test() to label %Ret except label %Ret
index da15180836003558120d37c6a6204d326b8bd791..55199ab2a19e0065bc6359a7b2e938af477cbb2e 100644 (file)
@@ -1,7 +1,7 @@
 ; This test checks to make sure that 'br X, Dest, Dest' is folded into 
 ; 'br Dest'
 
-; RUN: as < %s | opt -simplifycfg | dis | not grep 'br bool %c2'
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'br bool %c2'
 
 declare void %noop()
 
index 25a4d56d312091102e09cb464dcc1f0330100c17..b96a4a6bb12a9d63ca6b631af1b778b68d2d042c 100644 (file)
@@ -3,7 +3,7 @@
 ; due to the fact that the SimplifyCFG function does not use 
 ; the ConstantFoldTerminator function.
 
-; RUN: as < %s | opt -simplifycfg | dis | not grep 'br bool %c2'
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'br bool %c2'
 
 declare void %noop()
 
index 71269ecfbdc69aa75c9e30e3566a7fac197ed868..c5b0058925db136e2e9c94b14f0fa391f3621d65 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -simplifycfg | dis | not grep switch
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep switch
 
 int %test1() {   ; Test normal folding
        switch uint 5, label %Default [
index 1a31ee4b25aae883eb102d385e9d2bc97f97949a..09e7024474876f5e6fd557275e4f44b0e9a5987b 100644 (file)
@@ -1,6 +1,6 @@
 ; Test merging of blocks with phi nodes.
 ;
-; RUN: as < %s | opt -simplifycfg | dis | not grep 'N:'
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'N:'
 ;
 
 int %test(bool %a) {
index 7a2c4a6fa79b806f199c6d0bc0b531f435499b4d..0f14ec82eb25ff926873b4b26c50df477dc7d776 100644 (file)
@@ -3,7 +3,7 @@
 
 ; If this test is successful, the function should be reduced to 'call; ret'
 
-; RUN: as < %s | opt -simplifycfg | dis | not egrep 'invoke|br'
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not egrep 'invoke|br'
 
 declare void %bar()
 declare void %llvm.unwind()
index 21e4f59b2709a7b9d6d093b9faedfa4c1f6385f6..0537722ad9e5bf3abf303f70cf136299ccb8c3a8 100644 (file)
@@ -1,6 +1,6 @@
 ; Test merging of blocks that only have PHI nodes in them
 ;
-; RUN: as < %s | opt -simplifycfg | dis | not grep 'N:'
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'N:'
 ;
 
 int %test(bool %a, bool %b) {
index 94cd5934eb4bf149db688977de3065d02c5c4614..083e45e016c49b4377359ca5806368e43b1b3a0b 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: as < %s | opt -simplifycfg | dis | not grep 'N:'
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'N:'
 ;
 
 int %test(bool %a, bool %b) {
index c16b1cd6b0791cb62873f98ba27c89593c72c50c..9dac7c05ab61ce65e536917c2395c69ddbd5e9e3 100644 (file)
@@ -1,6 +1,6 @@
 ; Test CFG simplify removal of branch instructions...
 ;
-; RUN: as < %s | opt -simplifycfg | dis | not grep br
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
 
 
 void "test1"() {
index 3f1a8e40003216a785a36dfc59a97f364053026f..bb6c5fed3bb2d4b7ba506e48c55917738d578cb7 100644 (file)
@@ -1,7 +1,7 @@
 ; This test ensures that the simplifycfg pass continues to constant fold
 ; terminator instructions.
 
-; RUN: as < %s | opt -simplifycfg | not grep br
+; RUN: llvm-as < %s | opt -simplifycfg | not grep br
 
 int %test(int %A, int %B) {
 J:
index e6e1b22b04c1965d0ee62fda915433ab746182da..3047fe6ddc2690f5bba0578ef8edf41acfc1060f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -tailduplicate -disable-output
+; RUN: llvm-as < %s | opt -tailduplicate -disable-output
 
 void %motion_result7() {
 entry:
index 3e6ca09dae330692336c77f46deae10d04d51fde..c7233395bcc8ab2044d934a5b1e6ec796b17d49d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -tailduplicate -disable-output
+; RUN: llvm-as < %s | opt -tailduplicate -disable-output
 
 implementation
 
index 35c8264fb66de8bc0ba0e99b691c29d17420ab28..4b986754217eb4392684f00f7542778ca2aad160 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -tailduplicate -disable-output
+; RUN: llvm-as < %s | opt -tailduplicate -disable-output
 
 implementation
 
index 08112b4b4668ff7d7e5961ab862ae699d26df69d..433b078025b0f8a8844c4f8787081d4dee1926d4 100644 (file)
@@ -1,6 +1,6 @@
 ; This test checks to make sure phi nodes are updated properly
 ;
-; RUN: as < %s | opt -tailduplicate -disable-output
+; RUN: llvm-as < %s | opt -tailduplicate -disable-output
 
 
 
index 66dcf635029f1aa66a07515fe555136620e28891..f20896d68a8ca5e16e7f5be9715a9d4470d2e5b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -tailduplicate -disable-output
+; RUN: llvm-as < %s | opt -tailduplicate -disable-output
 
 declare void %__main()