summaryrefslogtreecommitdiff
path: root/test/Transforms/DeadArgElim
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-16 12:21:25 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-16 12:21:25 +0000
commitcdbada613e84bdf9e9c67bb683fc77a60d77cf99 (patch)
tree4df83615b91be6275c5e6b5adb312627b3c8fafc /test/Transforms/DeadArgElim
parent069f42a058f5e126b7ba1cbb56e357ea3cf83605 (diff)
downloadllvm-cdbada613e84bdf9e9c67bb683fc77a60d77cf99.tar.gz
llvm-cdbada613e84bdf9e9c67bb683fc77a60d77cf99.tar.bz2
llvm-cdbada613e84bdf9e9c67bb683fc77a60d77cf99.tar.xz
Store the result of multiple identical run lines in a temporary file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/DeadArgElim')
-rw-r--r--test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll b/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
index bd30942633..47a85ea78c 100644
--- a/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
+++ b/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
@@ -1,8 +1,9 @@
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | grep nounwind | count 2
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | grep signext | count 2
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep inreg
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep zeroext
-; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep byval
+; RUN: llvm-as < %s | opt -deadargelim | llvm-dis > %t
+; RUN: cat %t | grep nounwind | count 2
+; RUN: cat %t | grep signext | count 2
+; RUN: cat %t | not grep inreg
+; RUN: cat %t | not grep zeroext
+; RUN: cat %t | not grep byval
%struct = type { }