Rework test to use FileCheck by making sure we have no xmm registers
authorEric Christopher <echristo@gmail.com>
Sat, 2 May 2015 01:06:17 +0000 (01:06 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 2 May 2015 01:06:17 +0000 (01:06 +0000)
with numbers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236373 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/soft-fp.ll

index 79e5ebb5fca4d27f8e0ba4e3b50ac083c3e1a261..97219e4cd90159529f3a7896fe5da05820f723a0 100644 (file)
@@ -1,7 +1,9 @@
-; RUN: llc < %s -march=x86    -mattr=+sse2 -soft-float | not grep xmm
-; RUN: llc < %s -march=x86-64 -mattr=+sse2 -soft-float | not grep xmm
+; RUN: llc < %s -march=x86    -mattr=+sse2 -soft-float | FileCheck %s
+; RUN: llc < %s -march=x86-64 -mattr=+sse2 -soft-float | FileCheck %s
 
-       %struct.__va_list_tag = type { i32, i32, i8*, i8* }
+; CHECK-NOT: xmm{[0-9]+}
+
+%struct.__va_list_tag = type { i32, i32, i8*, i8* }
 
 define i32 @t1(i32 %a, ...) nounwind {
 entry: