summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2006-07-31-SingleRegClass.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-10 00:36:41 +0000
committerDan Gohman <gohman@apple.com>2008-06-10 00:36:41 +0000
commitc5b822b5b6e7fbf92b7be11888ca2859cef187f1 (patch)
treee312e67939c2e00e2b66a98aac288bc338322f43 /test/CodeGen/X86/2006-07-31-SingleRegClass.ll
parent9eb698b96d8b753b2f5025baae0712167cf7fb03 (diff)
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
Diffstat (limited to 'test/CodeGen/X86/2006-07-31-SingleRegClass.ll')
-rw-r--r--test/CodeGen/X86/2006-07-31-SingleRegClass.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGen/X86/2006-07-31-SingleRegClass.ll b/test/CodeGen/X86/2006-07-31-SingleRegClass.ll
index 561aff3307e..2a521ad7388 100644
--- a/test/CodeGen/X86/2006-07-31-SingleRegClass.ll
+++ b/test/CodeGen/X86/2006-07-31-SingleRegClass.ll
@@ -1,8 +1,7 @@
; PR850
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | \
-; RUN: grep {movl 4(%eax),%ebp}
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | \
-; RUN: grep {movl 0(%eax), %ebx}
+; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att > %t
+; RUN: grep {movl 4(%eax),%ebp} %t
+; RUN: grep {movl 0(%eax), %ebx} %t
define i32 @foo(i32 %__s.i.i, i32 %tmp5.i.i, i32 %tmp6.i.i, i32 %tmp7.i.i, i32 %tmp8.i.i) {
%tmp9.i.i = call i32 asm sideeffect "push %ebp\0Apush %ebx\0Amovl 4($2),%ebp\0Amovl 0($2), %ebx\0Amovl $1,%eax\0Aint $$0x80\0Apop %ebx\0Apop %ebp", "={ax},i,0,{cx},{dx},{si},{di}"( i32 192, i32 %__s.i.i, i32 %tmp5.i.i, i32 %tmp6.i.i, i32 %tmp7.i.i, i32 %tmp8.i.i ) ; <i32> [#uses=1]