[llvm-commits] CVS: llvm/test/Integer/2007-01-19-TruncSext.ll dg.exp packed_struct_bt.ll

Reid Spencer reid at x10sys.com
Sat Apr 14 09:49:16 PDT 2007



Changes in directory llvm/test/Integer:

2007-01-19-TruncSext.ll updated: 1.3 -> 1.4
dg.exp updated: 1.2 -> 1.3
packed_struct_bt.ll updated: 1.3 -> 1.4
---
Log message:

For PR1319: http://llvm.org/PR1319 :
Changes necessary to run this with the "llvm.exp" version of llvm_runtest.


---
Diffs of the changes:  (+6 -5)

 2007-01-19-TruncSext.ll |    2 +-
 dg.exp                  |    2 +-
 packed_struct_bt.ll     |    7 ++++---
 3 files changed, 6 insertions(+), 5 deletions(-)


Index: llvm/test/Integer/2007-01-19-TruncSext.ll
diff -u llvm/test/Integer/2007-01-19-TruncSext.ll:1.3 llvm/test/Integer/2007-01-19-TruncSext.ll:1.4
--- llvm/test/Integer/2007-01-19-TruncSext.ll:1.3	Tue Jan 30 10:16:01 2007
+++ llvm/test/Integer/2007-01-19-TruncSext.ll	Sat Apr 14 11:48:55 2007
@@ -24,6 +24,6 @@
   %result = sext i17 %X to i32
   %fmt = getelementptr [4 x i8]* @FORMAT, i32 0, i32 0
   call i32 (i8*,...)* @printf(i8* %fmt, i32 %result)
-  ret i32 %result
+  ret i32 0
 }
 


Index: llvm/test/Integer/dg.exp
diff -u llvm/test/Integer/dg.exp:1.2 llvm/test/Integer/dg.exp:1.3
--- llvm/test/Integer/dg.exp:1.2	Wed Apr 11 14:56:58 2007
+++ llvm/test/Integer/dg.exp	Sat Apr 14 11:48:55 2007
@@ -1,3 +1,3 @@
-load_lib llvm-dg.exp
+load_lib llvm.exp
 
 llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]


Index: llvm/test/Integer/packed_struct_bt.ll
diff -u llvm/test/Integer/packed_struct_bt.ll:1.3 llvm/test/Integer/packed_struct_bt.ll:1.4
--- llvm/test/Integer/packed_struct_bt.ll:1.3	Tue Mar 27 21:38:26 2007
+++ llvm/test/Integer/packed_struct_bt.ll	Sat Apr 14 11:48:55 2007
@@ -1,8 +1,9 @@
 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
-; RUN: diff %t1.ll %t2.ll &&
-; RUN: not grep cast %t2.ll &&
-; RUN: grep "<{" %t2.ll
+; RUN: diff %t1.ll %t2.ll
+; RUN: not grep cast %t2.ll
+; RUN: grep '\<{' %t2.ll
+; END.
 
 %struct.anon = type <{ i8, i35, i35, i35 }>
 @foos = external global %struct.anon 






More information about the llvm-commits mailing list