summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/nancvt.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/nancvt.ll
parent9eb698b96d8b753b2f5025baae0712167cf7fb03 (diff)
downloadllvm-c5b822b5b6e7fbf92b7be11888ca2859cef187f1.tar.gz
llvm-c5b822b5b6e7fbf92b7be11888ca2859cef187f1.tar.bz2
llvm-c5b822b5b6e7fbf92b7be11888ca2859cef187f1.tar.xz
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/nancvt.ll')
-rw-r--r--test/CodeGen/X86/nancvt.ll9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/CodeGen/X86/nancvt.ll b/test/CodeGen/X86/nancvt.ll
index 9e5b73d6f3..96cac0dc32 100644
--- a/test/CodeGen/X86/nancvt.ll
+++ b/test/CodeGen/X86/nancvt.ll
@@ -1,7 +1,8 @@
-; RUN: llvm-as < %s | opt -std-compile-opts | llc | grep 2147027116 | count 3
-; RUN: llvm-as < %s | opt -std-compile-opts | llc | grep 2147228864 | count 3
-; RUN: llvm-as < %s | opt -std-compile-opts | llc | grep 2146502828 | count 3
-; RUN: llvm-as < %s | opt -std-compile-opts | llc | grep 2143034560 | count 3
+; RUN: llvm-as < %s | opt -std-compile-opts | llc > %t
+; RUN: grep 2147027116 %t | count 3
+; RUN: grep 2147228864 %t | count 3
+; RUN: grep 2146502828 %t | count 3
+; RUN: grep 2143034560 %t | count 3
; Compile time conversions of NaNs.
; ModuleID = 'nan2.c'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"