aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 22:44:20 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 22:44:20 +0000
commitc9b208c88607172bf23eb92bb1f8d8dfb833e814 (patch)
treeaef10ec9aae5f4ddd99eda1c409b1ef4615af92d /test/Other
parent7f8897f22e88271cfa114998a4d6088e7c8e8e11 (diff)
downloadexternal_llvm-c9b208c88607172bf23eb92bb1f8d8dfb833e814.zip
external_llvm-c9b208c88607172bf23eb92bb1f8d8dfb833e814.tar.gz
external_llvm-c9b208c88607172bf23eb92bb1f8d8dfb833e814.tar.bz2
Adjust tests now that opt doesn't read .ll files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29926 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/2002-01-31-CallGraph.ll2
-rw-r--r--test/Other/2002-01-31-PostDomSet-2.ll2
-rw-r--r--test/Other/2002-01-31-PostDomSet.ll2
-rw-r--r--test/Other/2002-08-02-DomSetProblem.ll2
-rw-r--r--test/Other/2003-02-19-LoopInfoNestingBug.ll2
-rw-r--r--test/Other/2004-08-20-PackedControlFlow.ll2
6 files changed, 6 insertions, 6 deletions
diff --git a/test/Other/2002-01-31-CallGraph.ll b/test/Other/2002-01-31-CallGraph.ll
index 2609e45..279369d 100644
--- a/test/Other/2002-01-31-CallGraph.ll
+++ b/test/Other/2002-01-31-CallGraph.ll
@@ -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)
diff --git a/test/Other/2002-01-31-PostDomSet-2.ll b/test/Other/2002-01-31-PostDomSet-2.ll
index eba0c8b..cd11a24 100644
--- a/test/Other/2002-01-31-PostDomSet-2.ll
+++ b/test/Other/2002-01-31-PostDomSet-2.ll
@@ -1,6 +1,6 @@
; Crash in post dominator set construction.
;
-; RUN: opt -analyze -postdomset %s
+; RUN: llvm-as < %s | opt -analyze -postdomset
;
implementation
diff --git a/test/Other/2002-01-31-PostDomSet.ll b/test/Other/2002-01-31-PostDomSet.ll
index cfb0f4e..cf15e97 100644
--- a/test/Other/2002-01-31-PostDomSet.ll
+++ b/test/Other/2002-01-31-PostDomSet.ll
@@ -1,6 +1,6 @@
; Crash in post dominator set construction.
;
-; RUN: opt -analyze -postdomset %s
+; RUN: llvm-as < %s | opt -analyze -postdomset
;
implementation
diff --git a/test/Other/2002-08-02-DomSetProblem.ll b/test/Other/2002-08-02-DomSetProblem.ll
index 4b11eb8..ed7c86a 100644
--- a/test/Other/2002-08-02-DomSetProblem.ll
+++ b/test/Other/2002-08-02-DomSetProblem.ll
@@ -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
diff --git a/test/Other/2003-02-19-LoopInfoNestingBug.ll b/test/Other/2003-02-19-LoopInfoNestingBug.ll
index 157a881..e4fe081 100644
--- a/test/Other/2003-02-19-LoopInfoNestingBug.ll
+++ b/test/Other/2003-02-19-LoopInfoNestingBug.ll
@@ -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
diff --git a/test/Other/2004-08-20-PackedControlFlow.ll b/test/Other/2004-08-20-PackedControlFlow.ll
index 71ac13b..8c03f9a 100644
--- a/test/Other/2004-08-20-PackedControlFlow.ll
+++ b/test/Other/2004-08-20-PackedControlFlow.ll
@@ -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>