From c9b208c88607172bf23eb92bb1f8d8dfb833e814 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Aug 2006 22:44:20 +0000 Subject: 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 --- test/Other/2002-01-31-CallGraph.ll | 2 +- test/Other/2002-01-31-PostDomSet-2.ll | 2 +- test/Other/2002-01-31-PostDomSet.ll | 2 +- test/Other/2002-08-02-DomSetProblem.ll | 2 +- test/Other/2003-02-19-LoopInfoNestingBug.ll | 2 +- test/Other/2004-08-20-PackedControlFlow.ll | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test/Other') 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> -- cgit v1.1