aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll')
-rw-r--r--test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll b/test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll
index 1a72a20..4a0b5c3 100644
--- a/test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll
+++ b/test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll
@@ -1,9 +1,7 @@
; RUN: llvm-as < %s | \
-; RUN: llc -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static | \
-; RUN: grep {movl _last} | count 1
-; RUN: llvm-as < %s | \
-; RUN: llc -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static | \
-; RUN: grep {cmpl.*_last} | count 1
+; RUN: llc -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static > %t
+; RUN: grep {movl _last} %t | count 1
+; RUN: grep {cmpl.*_last} %t | count 1
@block = external global i8* ; <i8**> [#uses=1]
@last = external global i32 ; <i32*> [#uses=3]