commit | c5b822b5b6e7fbf92b7be11888ca2859cef187f1 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Jun 10 00:36:41 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Jun 10 00:36:41 2008 +0000 |
tree | e312e67939c2e00e2b66a98aac288bc338322f43 | |
parent | 9eb698b96d8b753b2f5025baae0712167cf7fb03 [diff] [blame] |
Convert several tests to use temporary files instead of redundantly executing the test commands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52163 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll b/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll index a9ba7df..d1d0ea8 100644 --- a/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll +++ b/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll
@@ -1,5 +1,6 @@ -; RUN: llvm-as < %s | llc -march=x86-64 | grep leaq -; RUN: llvm-as < %s | llc -march=x86-64 | not grep {,%rsp)} +; RUN: llvm-as < %s | llc -march=x86-64 > %t +; RUN: grep leaq %t +; RUN: not grep {,%rsp)} %t ; PR1103 target datalayout = "e-p:64:64"