Changed all of these tests to be TestRunner tests (or, at least they can be
authorJohn Criswell <criswell@uiuc.edu>
Fri, 3 Oct 2003 18:42:25 +0000 (18:42 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Fri, 3 Oct 2003 18:42:25 +0000 (18:42 +0000)
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

13 files changed:
test/Transforms/DSAnalysis/arraymerge.ll
test/Transforms/DSAnalysis/arraytest.ll
test/Transforms/DSAnalysis/badcases.ll
test/Transforms/DSAnalysis/basictest.ll
test/Transforms/DSAnalysis/fieldmerge.ll
test/Transforms/DSAnalysis/goodcases.ll
test/Transforms/DSAnalysis/indcalltest.ll
test/Transforms/DSAnalysis/misctests.ll
test/Transforms/DSAnalysis/physicalsubtype.ll
test/Transforms/DSAnalysis/recursion.ll
test/Transforms/DSAnalysis/simplest-test.ll
test/Transforms/DSAnalysis/simpletest.ll
test/Transforms/DSAnalysis/structpadding.ll

index 2d0a577bc407cd6fc86937b7f06405aeee907f20..c4ac718c1c2d3c8622d205e466746aac2ce366b3 100644 (file)
@@ -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) {
index 164eb744f39c83d5a2e6ce59eb4d592335e4d88f..521bd630e354fb471c65275ea4d04db83812353a 100644 (file)
@@ -1,4 +1,5 @@
-
+;
+; RUN: analyze %s -tddatastructure
 %crazy = type [2 x { [2 x sbyte], short } ]
 
 implementation
index 16284529dce3f5c27ff7d0a54e81af8aea92a5e3..b841b6e8d85010325402e1cfe8b9e52992e93d41 100644 (file)
@@ -1,4 +1,6 @@
 ; This file contains a list of situations where node folding should happen...
+;
+; RUN: analyze %s -tddatastructure
 
 implementation
 
index 407d49537583f82bbbd316a82492553b178a9e18..615e0219cf1d0289c90d46650bf7b97b01b21963 100644 (file)
@@ -1,5 +1,6 @@
-
 ; very simple test
+;
+; RUN: analyze %s -tddatastructure
 
 implementation
 
index 59c1ea5f07114c1cef670e8070c1adca3a18f4aa..4dcefb7f3b4d78f54d44b6ab7dc94a323cdf3203 100644 (file)
@@ -1,3 +1,5 @@
+;
+; RUN: analyze %s -tddatastructure
 
 %str = type { int*, int* }
 
index 6d1fe629dc0e257a8573aad10b6e179949427a06..1d545b3965e1362597d83ac3eb30e5248afdc2c7 100644 (file)
@@ -1,5 +1,7 @@
 ; This file contains a list of cases where node folding should NOT happen
 ;
+; RUN: analyze %s -tddatastructure
+;
 
 implementation
 
index a45c3b9a12a5cb4b33a8d4321b7cfe6f52b77e61..16cb6bea18f390463f0f968f0db29d2f3b34aa0b 100644 (file)
@@ -1,3 +1,6 @@
+;
+; RUN: analyze %s -tddatastructure
+
 %G = global int 2              ; <int*> [#uses=1]
 %H = global int* null
 
index 4c692b41f7feed0459cc19aa795de6513f107a0c..29c7079ac53f1da77b37b7af351dcb2a31c89a07 100644 (file)
@@ -1,4 +1,5 @@
-
+;
+; RUN: analyze %s -tddatastructure
 
 int* %test1(int *%A) {
        %R = getelementptr int* %A, long 1
index cdda0d5ec0518220dee06b565a0bd73d15da5c8b..2beb3eca6bcce9fe7dc20082c02de74f8eac973e 100644 (file)
@@ -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"
 
index 669b0a4e1b7a6b5b309b6a7e277a615acb0cc311..6acdd24853a811a6a1f074593bd6e3ac97617101 100644 (file)
@@ -1,3 +1,5 @@
+; RUN: analyze %s -tddatastructure
+
 implementation   ; Functions:
 
 declare void %__main()
index 1a1bcc2f59331d55b1520b8bea7b7b3ac428b68d..b75740396647eda5649ceda8881cbbe3ed2e6322 100644 (file)
@@ -1,4 +1,4 @@
-
+; RUN: analyze %s -tddatastructure
 
 void %foo(int* %X) {
        store int 4, int* %X
index f600136db87954d5f3403a1441367c4a24563955..298aa836710bd96ddd530a63bf2db0ff028d5a9b 100644 (file)
@@ -1,3 +1,4 @@
+; RUN: analyze %s -tddatastructure
 
 implementation
 
index 52a124a054d63a934ab9235f453b9ed958e416e0..693c9888b98e542e1268da9fe4a57856cebec989 100644 (file)
@@ -1,3 +1,4 @@
+; RUN: analyze %s -tddatastructure
 
 %str = type { int, int* }