summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-10-03 18:42:25 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-10-03 18:42:25 +0000
commit4797826e17d77e2f2aec2695ec3618ca237c463b (patch)
tree9236add8f301f4f887b5cb239ddc094cf7cd5ab8 /test
parent9ad4dac5827deb9d66f27a3d3ebe99f2db3e447e (diff)
downloadllvm-4797826e17d77e2f2aec2695ec3618ca237c463b.tar.gz
llvm-4797826e17d77e2f2aec2695ec3618ca237c463b.tar.bz2
llvm-4797826e17d77e2f2aec2695ec3618ca237c463b.tar.xz
Changed all of these tests to be TestRunner tests (or, at least they can be
TestRunner tests). This makes creating the new test database class easier to implement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/DSAnalysis/arraymerge.ll2
-rw-r--r--test/Transforms/DSAnalysis/arraytest.ll3
-rw-r--r--test/Transforms/DSAnalysis/badcases.ll2
-rw-r--r--test/Transforms/DSAnalysis/basictest.ll3
-rw-r--r--test/Transforms/DSAnalysis/fieldmerge.ll2
-rw-r--r--test/Transforms/DSAnalysis/goodcases.ll2
-rw-r--r--test/Transforms/DSAnalysis/indcalltest.ll3
-rw-r--r--test/Transforms/DSAnalysis/misctests.ll3
-rw-r--r--test/Transforms/DSAnalysis/physicalsubtype.ll2
-rw-r--r--test/Transforms/DSAnalysis/recursion.ll2
-rw-r--r--test/Transforms/DSAnalysis/simplest-test.ll2
-rw-r--r--test/Transforms/DSAnalysis/simpletest.ll1
-rw-r--r--test/Transforms/DSAnalysis/structpadding.ll1
13 files changed, 24 insertions, 4 deletions
diff --git a/test/Transforms/DSAnalysis/arraymerge.ll b/test/Transforms/DSAnalysis/arraymerge.ll
index 2d0a577bc4..c4ac718c1c 100644
--- a/test/Transforms/DSAnalysis/arraymerge.ll
+++ b/test/Transforms/DSAnalysis/arraymerge.ll
@@ -2,6 +2,8 @@
; folded completely away if possible. This is a very common case, so it should
; be efficient.
;
+; RUN: analyze %s -tddatastructure
+;
implementation
sbyte* %merge1([100 x sbyte] *%A, long %N) {
diff --git a/test/Transforms/DSAnalysis/arraytest.ll b/test/Transforms/DSAnalysis/arraytest.ll
index 164eb744f3..521bd630e3 100644
--- a/test/Transforms/DSAnalysis/arraytest.ll
+++ b/test/Transforms/DSAnalysis/arraytest.ll
@@ -1,4 +1,5 @@
-
+;
+; RUN: analyze %s -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 16284529dc..b841b6e8d8 100644
--- a/test/Transforms/DSAnalysis/badcases.ll
+++ b/test/Transforms/DSAnalysis/badcases.ll
@@ -1,4 +1,6 @@
; This file contains a list of situations where node folding should happen...
+;
+; RUN: analyze %s -tddatastructure
implementation
diff --git a/test/Transforms/DSAnalysis/basictest.ll b/test/Transforms/DSAnalysis/basictest.ll
index 407d495375..615e0219cf 100644
--- a/test/Transforms/DSAnalysis/basictest.ll
+++ b/test/Transforms/DSAnalysis/basictest.ll
@@ -1,5 +1,6 @@
-
; very simple test
+;
+; RUN: analyze %s -tddatastructure
implementation
diff --git a/test/Transforms/DSAnalysis/fieldmerge.ll b/test/Transforms/DSAnalysis/fieldmerge.ll
index 59c1ea5f07..4dcefb7f3b 100644
--- a/test/Transforms/DSAnalysis/fieldmerge.ll
+++ b/test/Transforms/DSAnalysis/fieldmerge.ll
@@ -1,3 +1,5 @@
+;
+; RUN: analyze %s -tddatastructure
%str = type { int*, int* }
diff --git a/test/Transforms/DSAnalysis/goodcases.ll b/test/Transforms/DSAnalysis/goodcases.ll
index 6d1fe629dc..1d545b3965 100644
--- a/test/Transforms/DSAnalysis/goodcases.ll
+++ b/test/Transforms/DSAnalysis/goodcases.ll
@@ -1,5 +1,7 @@
; This file contains a list of cases where node folding should NOT happen
;
+; RUN: analyze %s -tddatastructure
+;
implementation
diff --git a/test/Transforms/DSAnalysis/indcalltest.ll b/test/Transforms/DSAnalysis/indcalltest.ll
index a45c3b9a12..16cb6bea18 100644
--- a/test/Transforms/DSAnalysis/indcalltest.ll
+++ b/test/Transforms/DSAnalysis/indcalltest.ll
@@ -1,3 +1,6 @@
+;
+; RUN: analyze %s -tddatastructure
+
%G = global int 2 ; <int*> [#uses=1]
%H = global int* null
diff --git a/test/Transforms/DSAnalysis/misctests.ll b/test/Transforms/DSAnalysis/misctests.ll
index 4c692b41f7..29c7079ac5 100644
--- a/test/Transforms/DSAnalysis/misctests.ll
+++ b/test/Transforms/DSAnalysis/misctests.ll
@@ -1,4 +1,5 @@
-
+;
+; RUN: analyze %s -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 cdda0d5ec0..2beb3eca6b 100644
--- a/test/Transforms/DSAnalysis/physicalsubtype.ll
+++ b/test/Transforms/DSAnalysis/physicalsubtype.ll
@@ -1,5 +1,7 @@
; A test for "physical subtyping" used in some C programs...
;
+; RUN: analyze %s -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 669b0a4e1b..6acdd24853 100644
--- a/test/Transforms/DSAnalysis/recursion.ll
+++ b/test/Transforms/DSAnalysis/recursion.ll
@@ -1,3 +1,5 @@
+; RUN: analyze %s -tddatastructure
+
implementation ; Functions:
declare void %__main()
diff --git a/test/Transforms/DSAnalysis/simplest-test.ll b/test/Transforms/DSAnalysis/simplest-test.ll
index 1a1bcc2f59..b757403966 100644
--- a/test/Transforms/DSAnalysis/simplest-test.ll
+++ b/test/Transforms/DSAnalysis/simplest-test.ll
@@ -1,4 +1,4 @@
-
+; RUN: analyze %s -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 f600136db8..298aa83671 100644
--- a/test/Transforms/DSAnalysis/simpletest.ll
+++ b/test/Transforms/DSAnalysis/simpletest.ll
@@ -1,3 +1,4 @@
+; RUN: analyze %s -tddatastructure
implementation
diff --git a/test/Transforms/DSAnalysis/structpadding.ll b/test/Transforms/DSAnalysis/structpadding.ll
index 52a124a054..693c9888b9 100644
--- a/test/Transforms/DSAnalysis/structpadding.ll
+++ b/test/Transforms/DSAnalysis/structpadding.ll
@@ -1,3 +1,4 @@
+; RUN: analyze %s -tddatastructure
%str = type { int, int* }