OSDN Git Service

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 2609e45..279369d 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 eba0c8b..cd11a24 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 cfb0f4e..cf15e97 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 4b11eb8..ed7c86a 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 157a881..e4fe081 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 71ac13b..8c03f9a 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>