Store the result of multiple identical run lines in a temporary file.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 16 Jun 2008 12:21:25 +0000 (12:21 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 16 Jun 2008 12:21:25 +0000 (12:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52314 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll

index bd30942633d23a72201f0a3b7953fb0e1c0336c8..47a85ea78c3e294f03226f5e1f02f761cfc5a7c5 100644 (file)
@@ -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 { }