For PR1319:
authorReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 16:48:55 +0000 (16:48 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 16:48:55 +0000 (16:48 +0000)
Changes necessary to run this with the "llvm.exp" version of llvm_runtest.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35995 91177308-0d34-0410-b5e6-96231b3b80d8

test/Integer/2007-01-19-TruncSext.ll
test/Integer/dg.exp
test/Integer/packed_struct_bt.ll

index 3aa5f914240e49e0b7e30e3c46c0019fe241c193..d1359c0cb8934965b35697d8bf410ccd1517fd73 100644 (file)
@@ -24,6 +24,6 @@ define i32 @main(i32 %argc, i8** %argv) {
   %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 ff34508c3c64c167429097e1c896dd65daaff278..694e4fdd88ab661ec85ee1d7be23899c5970ef26 100644 (file)
@@ -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 a2ccd1d06cdbd86cf9737f85fb4cdaf8336efd06..fa806f38fe52c6abc36d5484cdf3f0561e9aed7a 100644 (file)
@@ -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