From 21a82e6fc718b4a2cc0281a4a43477ba940d3586 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Aug 2006 22:41:58 +0000 Subject: [PATCH] opt no longer reads .ll files. Run llvm-as explicitly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29924 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/DSAnalysis/arraymerge.ll | 2 +- test/Transforms/DSAnalysis/arraytest.ll | 2 +- test/Transforms/DSAnalysis/badcases.ll | 2 +- test/Transforms/DSAnalysis/basictest.ll | 2 +- test/Transforms/DSAnalysis/fieldmerge.ll | 2 +- test/Transforms/DSAnalysis/goodcases.ll | 2 +- test/Transforms/DSAnalysis/indcalltest.ll | 2 +- test/Transforms/DSAnalysis/misctests.ll | 2 +- test/Transforms/DSAnalysis/physicalsubtype.ll | 2 +- test/Transforms/DSAnalysis/recursion.ll | 2 +- test/Transforms/DSAnalysis/simplest-test.ll | 2 +- test/Transforms/DSAnalysis/simpletest.ll | 2 +- test/Transforms/DSAnalysis/structpadding.ll | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/test/Transforms/DSAnalysis/arraymerge.ll b/test/Transforms/DSAnalysis/arraymerge.ll index 30f458308e7..da379ef9ebe 100644 --- a/test/Transforms/DSAnalysis/arraymerge.ll +++ b/test/Transforms/DSAnalysis/arraymerge.ll @@ -2,7 +2,7 @@ ; folded completely away if possible. This is a very common case, so it should ; be efficient. ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure ; implementation diff --git a/test/Transforms/DSAnalysis/arraytest.ll b/test/Transforms/DSAnalysis/arraytest.ll index bb6c4c148e0..0484341c48c 100644 --- a/test/Transforms/DSAnalysis/arraytest.ll +++ b/test/Transforms/DSAnalysis/arraytest.ll @@ -1,5 +1,5 @@ ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure %crazy = type [2 x { [2 x sbyte], short } ] implementation diff --git a/test/Transforms/DSAnalysis/badcases.ll b/test/Transforms/DSAnalysis/badcases.ll index a977f23bb57..efae6463c51 100644 --- a/test/Transforms/DSAnalysis/badcases.ll +++ b/test/Transforms/DSAnalysis/badcases.ll @@ -1,6 +1,6 @@ ; This file contains a list of situations where node folding should happen... ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure implementation diff --git a/test/Transforms/DSAnalysis/basictest.ll b/test/Transforms/DSAnalysis/basictest.ll index a3583a1475c..8bcb2f8888d 100644 --- a/test/Transforms/DSAnalysis/basictest.ll +++ b/test/Transforms/DSAnalysis/basictest.ll @@ -1,6 +1,6 @@ ; very simple test ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure implementation diff --git a/test/Transforms/DSAnalysis/fieldmerge.ll b/test/Transforms/DSAnalysis/fieldmerge.ll index a754d066436..e59a2d1a17c 100644 --- a/test/Transforms/DSAnalysis/fieldmerge.ll +++ b/test/Transforms/DSAnalysis/fieldmerge.ll @@ -1,5 +1,5 @@ ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure %str = type { int*, int* } diff --git a/test/Transforms/DSAnalysis/goodcases.ll b/test/Transforms/DSAnalysis/goodcases.ll index f6d9ff9fa28..26066056eef 100644 --- a/test/Transforms/DSAnalysis/goodcases.ll +++ b/test/Transforms/DSAnalysis/goodcases.ll @@ -1,6 +1,6 @@ ; This file contains a list of cases where node folding should NOT happen ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure ; implementation diff --git a/test/Transforms/DSAnalysis/indcalltest.ll b/test/Transforms/DSAnalysis/indcalltest.ll index 1ec92d30d74..71925c0c418 100644 --- a/test/Transforms/DSAnalysis/indcalltest.ll +++ b/test/Transforms/DSAnalysis/indcalltest.ll @@ -1,5 +1,5 @@ ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure %G = global int 2 ; [#uses=1] %H = global int* null diff --git a/test/Transforms/DSAnalysis/misctests.ll b/test/Transforms/DSAnalysis/misctests.ll index acdbabf8362..32aeb2bd32b 100644 --- a/test/Transforms/DSAnalysis/misctests.ll +++ b/test/Transforms/DSAnalysis/misctests.ll @@ -1,5 +1,5 @@ ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure int* %test1(int *%A) { %R = getelementptr int* %A, long 1 diff --git a/test/Transforms/DSAnalysis/physicalsubtype.ll b/test/Transforms/DSAnalysis/physicalsubtype.ll index 26fa511f40d..d06a8d2a4e3 100644 --- a/test/Transforms/DSAnalysis/physicalsubtype.ll +++ b/test/Transforms/DSAnalysis/physicalsubtype.ll @@ -1,6 +1,6 @@ ; A test for "physical subtyping" used in some C programs... ; -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure ; %ST = type { int, int* } ; "Subtype" %DT = type { int, int*, int } ; "derived type" diff --git a/test/Transforms/DSAnalysis/recursion.ll b/test/Transforms/DSAnalysis/recursion.ll index da075cd9c37..4e686a6f848 100644 --- a/test/Transforms/DSAnalysis/recursion.ll +++ b/test/Transforms/DSAnalysis/recursion.ll @@ -1,4 +1,4 @@ -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure implementation ; Functions: diff --git a/test/Transforms/DSAnalysis/simplest-test.ll b/test/Transforms/DSAnalysis/simplest-test.ll index b398c285467..47c18b9c935 100644 --- a/test/Transforms/DSAnalysis/simplest-test.ll +++ b/test/Transforms/DSAnalysis/simplest-test.ll @@ -1,4 +1,4 @@ -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure void %foo(int* %X) { store int 4, int* %X diff --git a/test/Transforms/DSAnalysis/simpletest.ll b/test/Transforms/DSAnalysis/simpletest.ll index 80b94335d3d..9e6a2c240b1 100644 --- a/test/Transforms/DSAnalysis/simpletest.ll +++ b/test/Transforms/DSAnalysis/simpletest.ll @@ -1,4 +1,4 @@ -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure implementation diff --git a/test/Transforms/DSAnalysis/structpadding.ll b/test/Transforms/DSAnalysis/structpadding.ll index 5b3c8b86a4d..2d6c2e33b46 100644 --- a/test/Transforms/DSAnalysis/structpadding.ll +++ b/test/Transforms/DSAnalysis/structpadding.ll @@ -1,4 +1,4 @@ -; RUN: opt -analyze %s -tddatastructure +; RUN: llvm-as < %s | opt -analyze -tddatastructure %str = type { int, int* } -- 2.34.1