[llvm-commits] CVS: llvm/test/Feature/dg.exp basictest.ll calltest.ll casttest.ll cfgstructures.ll constexpr.ll constexprbad.ll constpointer.ll forwardreftest.ll globalredefinition.ll globalvars.ll indirectcall.ll indirectcall2.ll intrinsics.ll opaquetypes.ll packed.ll properties.ll prototype.ll recursivetype.ll simplecalltest.ll small.ll smallest.ll testalloca.ll testconstants.ll testlogical.ll testmemory.ll testswitch.ll testvarargs.ll undefined.ll unreachable.ll varargs.ll weirdnames.ll
Tanya Brethour
tbrethou at cs.uiuc.edu
Sat Nov 6 22:08:54 PST 2004
Changes in directory llvm/test/Feature:
dg.exp added (r1.1)
basictest.ll updated: 1.6 -> 1.7
calltest.ll updated: 1.3 -> 1.4
casttest.ll updated: 1.1 -> 1.2
cfgstructures.ll updated: 1.1 -> 1.2
constexpr.ll updated: 1.7 -> 1.8
constexprbad.ll updated: 1.2 -> 1.3
constpointer.ll updated: 1.2 -> 1.3
forwardreftest.ll updated: 1.6 -> 1.7
globalredefinition.ll updated: 1.1 -> 1.2
globalvars.ll updated: 1.7 -> 1.8
indirectcall.ll updated: 1.1 -> 1.2
indirectcall2.ll updated: 1.1 -> 1.2
intrinsics.ll updated: 1.5 -> 1.6
opaquetypes.ll updated: 1.2 -> 1.3
packed.ll updated: 1.1 -> 1.2
properties.ll updated: 1.2 -> 1.3
prototype.ll updated: 1.2 -> 1.3
recursivetype.ll updated: 1.4 -> 1.5
simplecalltest.ll updated: 1.1 -> 1.2
small.ll updated: 1.2 -> 1.3
smallest.ll updated: 1.1.1.1 -> 1.2
testalloca.ll updated: 1.5 -> 1.6
testconstants.ll updated: 1.5 -> 1.6
testlogical.ll updated: 1.1 -> 1.2
testmemory.ll updated: 1.6 -> 1.7
testswitch.ll updated: 1.1.1.1 -> 1.2
testvarargs.ll updated: 1.3 -> 1.4
undefined.ll updated: 1.1 -> 1.2
unreachable.ll updated: 1.1 -> 1.2
varargs.ll updated: 1.3 -> 1.4
weirdnames.ll updated: 1.1 -> 1.2
---
Log message:
Added RUN lines and dejagnu support for Feature dir.
---
Diffs of the changes: (+128 -0)
Index: llvm/test/Feature/dg.exp
diff -c /dev/null llvm/test/Feature/dg.exp:1.1
*** /dev/null Sun Nov 7 00:08:53 2004
--- llvm/test/Feature/dg.exp Sun Nov 7 00:08:43 2004
***************
*** 0 ****
--- 1,4 ----
+ load_lib llvm-dg.exp
+
+ llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext
+
Index: llvm/test/Feature/basictest.ll
diff -u llvm/test/Feature/basictest.ll:1.6 llvm/test/Feature/basictest.ll:1.7
--- llvm/test/Feature/basictest.ll:1.6 Thu May 2 16:52:35 2002
+++ llvm/test/Feature/basictest.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
; Test "stripped" format where nothing is symbolic... this is how the bytecode
Index: llvm/test/Feature/calltest.ll
diff -u llvm/test/Feature/calltest.ll:1.3 llvm/test/Feature/calltest.ll:1.4
--- llvm/test/Feature/calltest.ll:1.3 Sat Oct 13 02:05:07 2001
+++ llvm/test/Feature/calltest.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%FunTy = type int(int)
declare int "test"(...) ; Test differences of prototype
Index: llvm/test/Feature/casttest.ll
diff -u llvm/test/Feature/casttest.ll:1.1 llvm/test/Feature/casttest.ll:1.2
--- llvm/test/Feature/casttest.ll:1.1 Sat Jul 7 23:57:15 2001
+++ llvm/test/Feature/casttest.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
short "FunFunc"(long %x, sbyte %z)
Index: llvm/test/Feature/cfgstructures.ll
diff -u llvm/test/Feature/cfgstructures.ll:1.1 llvm/test/Feature/cfgstructures.ll:1.2
--- llvm/test/Feature/cfgstructures.ll:1.1 Mon Nov 26 13:16:37 2001
+++ llvm/test/Feature/cfgstructures.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
;; This is an irreducible flow graph
Index: llvm/test/Feature/constexpr.ll
diff -u llvm/test/Feature/constexpr.ll:1.7 llvm/test/Feature/constexpr.ll:1.8
--- llvm/test/Feature/constexpr.ll:1.7 Thu Apr 17 17:19:23 2003
+++ llvm/test/Feature/constexpr.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; This testcase is for testing expressions constructed from
; constant values, including constant pointers to globals.
;
Index: llvm/test/Feature/constexprbad.ll
diff -u llvm/test/Feature/constexprbad.ll:1.2 llvm/test/Feature/constexprbad.ll:1.3
--- llvm/test/Feature/constexprbad.ll:1.2 Sun Oct 6 17:43:49 2002
+++ llvm/test/Feature/constexprbad.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; This testcase is for testing illegal constant expressions.
; Uncomment any code line below to test that the error is caught
; See constexpr.ll in this directory for legal ones.
Index: llvm/test/Feature/constpointer.ll
diff -u llvm/test/Feature/constpointer.ll:1.2 llvm/test/Feature/constpointer.ll:1.3
--- llvm/test/Feature/constpointer.ll:1.2 Sun Jul 14 18:18:33 2002
+++ llvm/test/Feature/constpointer.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; This testcase is primarily used for testing that global values can be used as
; constant pointer initializers. This is tricky because they can be forward
; declared and involves an icky bytecode encoding. There is no meaningful
Index: llvm/test/Feature/forwardreftest.ll
diff -u llvm/test/Feature/forwardreftest.ll:1.6 llvm/test/Feature/forwardreftest.ll:1.7
--- llvm/test/Feature/forwardreftest.ll:1.6 Wed Jul 14 18:14:07 2004
+++ llvm/test/Feature/forwardreftest.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%myty = type int
%myfn = type float (int,double,uint,short)
type int(%myfn*)
Index: llvm/test/Feature/globalredefinition.ll
diff -u llvm/test/Feature/globalredefinition.ll:1.1 llvm/test/Feature/globalredefinition.ll:1.2
--- llvm/test/Feature/globalredefinition.ll:1.1 Wed Jul 14 17:59:47 2004
+++ llvm/test/Feature/globalredefinition.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; Test forward references and redefinitions of globals
%Y = global void()* %X
Index: llvm/test/Feature/globalvars.ll
diff -u llvm/test/Feature/globalvars.ll:1.7 llvm/test/Feature/globalvars.ll:1.8
--- llvm/test/Feature/globalvars.ll:1.7 Sat Jun 28 15:01:03 2003
+++ llvm/test/Feature/globalvars.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%MyVar = uninitialized global int
%MyIntList = uninitialized global { \2 *, int }
Index: llvm/test/Feature/indirectcall.ll
diff -u llvm/test/Feature/indirectcall.ll:1.1 llvm/test/Feature/indirectcall.ll:1.2
--- llvm/test/Feature/indirectcall.ll:1.1 Sun Oct 28 15:16:34 2001
+++ llvm/test/Feature/indirectcall.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
declare int "atoi"(sbyte *)
Index: llvm/test/Feature/indirectcall2.ll
diff -u llvm/test/Feature/indirectcall2.ll:1.1 llvm/test/Feature/indirectcall2.ll:1.2
--- llvm/test/Feature/indirectcall2.ll:1.1 Tue Jul 23 13:21:12 2002
+++ llvm/test/Feature/indirectcall2.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
ulong "test"(ulong %X)
Index: llvm/test/Feature/intrinsics.ll
diff -u llvm/test/Feature/intrinsics.ll:1.5 llvm/test/Feature/intrinsics.ll:1.6
--- llvm/test/Feature/intrinsics.ll:1.5 Tue Jun 15 16:29:40 2004
+++ llvm/test/Feature/intrinsics.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
declare bool %llvm.isunordered(float, float)
declare bool %llvm.isunordered(double, double)
Index: llvm/test/Feature/opaquetypes.ll
diff -u llvm/test/Feature/opaquetypes.ll:1.2 llvm/test/Feature/opaquetypes.ll:1.3
--- llvm/test/Feature/opaquetypes.ll:1.2 Fri Dec 14 10:46:52 2001
+++ llvm/test/Feature/opaquetypes.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; This test case is used to test opaque type processing, forward references,
; and recursive types. Oh my.
;
Index: llvm/test/Feature/packed.ll
diff -u llvm/test/Feature/packed.ll:1.1 llvm/test/Feature/packed.ll:1.2
--- llvm/test/Feature/packed.ll:1.1 Fri Aug 20 01:02:24 2004
+++ llvm/test/Feature/packed.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; RUN: llvm-as < %s | llvm-dis
%foo1 = uninitialized global <4 x float>;
Index: llvm/test/Feature/properties.ll
diff -u llvm/test/Feature/properties.ll:1.2 llvm/test/Feature/properties.ll:1.3
--- llvm/test/Feature/properties.ll:1.2 Sun Jul 25 13:09:47 2004
+++ llvm/test/Feature/properties.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
target endian = little
target pointersize = 32
Index: llvm/test/Feature/prototype.ll
diff -u llvm/test/Feature/prototype.ll:1.2 llvm/test/Feature/prototype.ll:1.3
--- llvm/test/Feature/prototype.ll:1.2 Wed Oct 3 09:50:12 2001
+++ llvm/test/Feature/prototype.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
declare int "bar"(int %in)
Index: llvm/test/Feature/recursivetype.ll
diff -u llvm/test/Feature/recursivetype.ll:1.4 llvm/test/Feature/recursivetype.ll:1.5
--- llvm/test/Feature/recursivetype.ll:1.4 Sun Oct 6 17:43:49 2002
+++ llvm/test/Feature/recursivetype.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; This file contains the output from the following compiled C code:
; typedef struct list {
; struct list *Next;
Index: llvm/test/Feature/simplecalltest.ll
diff -u llvm/test/Feature/simplecalltest.ll:1.1 llvm/test/Feature/simplecalltest.ll:1.2
--- llvm/test/Feature/simplecalltest.ll:1.1 Wed May 22 17:17:54 2002
+++ llvm/test/Feature/simplecalltest.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%FunTy = type int(int)
implementation
Index: llvm/test/Feature/small.ll
diff -u llvm/test/Feature/small.ll:1.2 llvm/test/Feature/small.ll:1.3
--- llvm/test/Feature/small.ll:1.2 Tue Apr 16 16:31:08 2002
+++ llvm/test/Feature/small.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%x = type int
implementation
Index: llvm/test/Feature/smallest.ll
diff -u llvm/test/Feature/smallest.ll:1.1.1.1 llvm/test/Feature/smallest.ll:1.2
--- llvm/test/Feature/smallest.ll:1.1.1.1 Wed Jun 6 15:29:03 2001
+++ llvm/test/Feature/smallest.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
Index: llvm/test/Feature/testalloca.ll
diff -u llvm/test/Feature/testalloca.ll:1.5 llvm/test/Feature/testalloca.ll:1.6
--- llvm/test/Feature/testalloca.ll:1.5 Sun Oct 6 17:43:49 2002
+++ llvm/test/Feature/testalloca.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%inners = type {float, {ubyte } }
%struct = type { int , {float, {ubyte } } , ulong }
Index: llvm/test/Feature/testconstants.ll
diff -u llvm/test/Feature/testconstants.ll:1.5 llvm/test/Feature/testconstants.ll:1.6
--- llvm/test/Feature/testconstants.ll:1.5 Sun Oct 6 17:43:49 2002
+++ llvm/test/Feature/testconstants.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%somestr = constant [11x sbyte] c"hello world"
%array = constant [2 x int] [ int 12, int 52 ]
constant { int, int } { int 4, int 3 }
Index: llvm/test/Feature/testlogical.ll
diff -u llvm/test/Feature/testlogical.ll:1.1 llvm/test/Feature/testlogical.ll:1.2
--- llvm/test/Feature/testlogical.ll:1.1 Mon Oct 29 07:56:42 2001
+++ llvm/test/Feature/testlogical.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
int "simpleAdd"(int %i0, int %j0)
Index: llvm/test/Feature/testmemory.ll
diff -u llvm/test/Feature/testmemory.ll:1.6 llvm/test/Feature/testmemory.ll:1.7
--- llvm/test/Feature/testmemory.ll:1.6 Sun Oct 6 17:43:49 2002
+++ llvm/test/Feature/testmemory.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%struct = type { int , {float, {ubyte } } , ulong }
%complexty = type {int, {[4 x sbyte *], float}, double}
Index: llvm/test/Feature/testswitch.ll
diff -u llvm/test/Feature/testswitch.ll:1.1.1.1 llvm/test/Feature/testswitch.ll:1.2
--- llvm/test/Feature/testswitch.ll:1.1.1.1 Wed Jun 6 15:29:03 2001
+++ llvm/test/Feature/testswitch.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%int = type int
implementation
Index: llvm/test/Feature/testvarargs.ll
diff -u llvm/test/Feature/testvarargs.ll:1.3 llvm/test/Feature/testvarargs.ll:1.4
--- llvm/test/Feature/testvarargs.ll:1.3 Sat Oct 13 02:05:51 2001
+++ llvm/test/Feature/testvarargs.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
declare int "printf"(sbyte*, ...) ;; Prototype for: int __builtin_printf(const char*, ...)
Index: llvm/test/Feature/undefined.ll
diff -u llvm/test/Feature/undefined.ll:1.1 llvm/test/Feature/undefined.ll:1.2
--- llvm/test/Feature/undefined.ll:1.1 Sat Oct 16 13:24:11 2004
+++ llvm/test/Feature/undefined.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
%X = global int undef
Index: llvm/test/Feature/unreachable.ll
diff -u llvm/test/Feature/unreachable.ll:1.1 llvm/test/Feature/unreachable.ll:1.2
--- llvm/test/Feature/unreachable.ll:1.1 Sat Oct 16 13:24:11 2004
+++ llvm/test/Feature/unreachable.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
implementation
Index: llvm/test/Feature/varargs.ll
diff -u llvm/test/Feature/varargs.ll:1.3 llvm/test/Feature/varargs.ll:1.4
--- llvm/test/Feature/varargs.ll:1.3 Tue Oct 21 10:36:21 2003
+++ llvm/test/Feature/varargs.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; Demonstrate all of the variable argument handling intrinsic functions plus
; the va_arg instruction.
Index: llvm/test/Feature/weirdnames.ll
diff -u llvm/test/Feature/weirdnames.ll:1.1 llvm/test/Feature/weirdnames.ll:1.2
--- llvm/test/Feature/weirdnames.ll:1.1 Thu Sep 25 12:44:32 2003
+++ llvm/test/Feature/weirdnames.ll Sun Nov 7 00:08:43 2004
@@ -1,3 +1,7 @@
+; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+; RUN: diff %t1.ll %t2.ll
+
; Test using double quotes to form names that are not legal in the % form
"&^ " = type { int }
More information about the llvm-commits
mailing list