Adjust tests now that opt doesn't read .ll files.
authorChris Lattner <sabre@nondot.org>
Sun, 27 Aug 2006 22:44:20 +0000 (22:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Aug 2006 22:44:20 +0000 (22:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29926 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/2002-01-31-CallGraph.ll
test/Other/2002-01-31-PostDomSet-2.ll
test/Other/2002-01-31-PostDomSet.ll
test/Other/2002-08-02-DomSetProblem.ll
test/Other/2003-02-19-LoopInfoNestingBug.ll
test/Other/2004-08-20-PackedControlFlow.ll

index 2609e45eaea82212a77a3d0f33a00c209dc7bf38..279369de6651f121a4a62d6bb7a09eb1b1da0952 100644 (file)
@@ -1,6 +1,6 @@
 ;  Call graph construction crash: Not handling indirect calls right
 ;
-; RUN: opt -analyze -callgraph %s
+; RUN: llvm-as < %s | opt -analyze -callgraph
 ;
 
 %FunTy = type int(int)
index eba0c8b5e5a276fb7a66cd3c2f5b2f58f42c3abb..cd11a24cb54e53b4842fdce256794dda4403e0fe 100644 (file)
@@ -1,6 +1,6 @@
 ; Crash in post dominator set construction.
 ;
-; RUN: opt -analyze -postdomset %s
+; RUN: llvm-as < %s | opt -analyze -postdomset
 ;
 
 implementation
index cfb0f4e1773231b52e6b0b753e1a3869b342be05..cf15e97cffc9290a83737de7ab43d1913e42b4f9 100644 (file)
@@ -1,6 +1,6 @@
 ; Crash in post dominator set construction.
 ;
-; RUN: opt -analyze -postdomset %s
+; RUN: llvm-as < %s | opt -analyze -postdomset
 ;
 
 implementation
index 4b11eb81d5b702b88c09b999fb090747d4394bbd..ed7c86a480bfd704642c3b36eba012250cadebc5 100644 (file)
@@ -2,7 +2,7 @@
 ; blocks.  These blocks should at least dominate themselves.  This is 
 ; fouling up the verify pass.
 ;
-; RUN: opt -analyze -domset %s | grep BB
+; RUN: llvm-as < %s | opt -analyze -domset | grep BB
 
 void %test() {
        ret void
index 157a881b4908566b7a0a7a37798b70156bee3449..e4fe0818fb8cbd9a136126802d9fc18014628e60 100644 (file)
@@ -2,7 +2,7 @@
 ; figure out that loop "Inner" should be nested inside of leep "LoopHeader", 
 ; and instead nests it just inside loop "Top"
 ;
-; RUN: opt -analyze -loops %s | grep '     Loop Containing:[ ]*%Inner'
+; RUN: llvm-as < %s | opt -analyze -loops | grep '     Loop Containing:[ ]*%Inner'
 ;
 
 implementation
index 71ac13bae93dfc83137b2e095a0678681b260a5d..8c03f9affba4a214550806f71e0be40c66bb2bb2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as
+; RUN: llvm-as < %s | llvm-dis | llvm-as > /dev/null
 
 %v4f = type <4 x float>