From c516c723b16ff41c2d6244c954b3d12cd86dff0d Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 14 Apr 2007 16:48:55 +0000 Subject: For PR1319: Changes necessary to run this with the "llvm.exp" version of llvm_runtest. llvm-svn: 35995 --- llvm/test/Integer/2007-01-19-TruncSext.ll | 2 +- llvm/test/Integer/dg.exp | 2 +- llvm/test/Integer/packed_struct_bt.ll | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'llvm/test/Integer') diff --git a/llvm/test/Integer/2007-01-19-TruncSext.ll b/llvm/test/Integer/2007-01-19-TruncSext.ll index 3aa5f914240..d1359c0cb89 100644 --- a/llvm/test/Integer/2007-01-19-TruncSext.ll +++ b/llvm/test/Integer/2007-01-19-TruncSext.ll @@ -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 } diff --git a/llvm/test/Integer/dg.exp b/llvm/test/Integer/dg.exp index ff34508c3c6..694e4fdd88a 100644 --- a/llvm/test/Integer/dg.exp +++ b/llvm/test/Integer/dg.exp @@ -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}]] diff --git a/llvm/test/Integer/packed_struct_bt.ll b/llvm/test/Integer/packed_struct_bt.ll index a2ccd1d06cd..fa806f38fe5 100644 --- a/llvm/test/Integer/packed_struct_bt.ll +++ b/llvm/test/Integer/packed_struct_bt.ll @@ -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 -- cgit v1.2.3