summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/nosse-error1.ll
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2013-05-02 06:20:42 +0000
committerMichael Liao <michael.liao@intel.com>2013-05-02 06:20:42 +0000
commit149b2a8b927d7ea064b3144f0ed77230b8b366ac (patch)
tree43f24ec778ad3374631c5cfecc598b960e9f5bc1 /test/CodeGen/X86/nosse-error1.ll
parent304099a56d61c2132bd101ca669003e509ca1dcb (diff)
downloadllvm-149b2a8b927d7ea064b3144f0ed77230b8b366ac.tar.gz
llvm-149b2a8b927d7ea064b3144f0ed77230b8b366ac.tar.bz2
llvm-149b2a8b927d7ea064b3144f0ed77230b8b366ac.tar.xz
Rewrite X86 codegen regression test with FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/nosse-error1.ll')
-rw-r--r--test/CodeGen/X86/nosse-error1.ll11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/CodeGen/X86/nosse-error1.ll b/test/CodeGen/X86/nosse-error1.ll
index 16cbb732af..cddff3f275 100644
--- a/test/CodeGen/X86/nosse-error1.ll
+++ b/test/CodeGen/X86/nosse-error1.ll
@@ -1,7 +1,10 @@
-; RUN: llvm-as < %s > %t1
-; RUN: not llc -march=x86-64 -mattr=-sse < %t1 2> %t2
-; RUN: grep "SSE register return with SSE disabled" %t2
-; RUN: llc -march=x86-64 < %t1 | grep xmm
+; RUN: llc < %s -march=x86-64 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
+; RUN: llc < %s -march=x86-64 | FileCheck %s
+
+; NOSSE: {{SSE register return with SSE disabled}}
+
+; CHECK: xmm
+
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
@f = external global float ; <float*> [#uses=4]