[llvm] r236373 - Rework test to use FileCheck by making sure we have no xmm registers

Eric Christopher echristo at gmail.com
Fri May 1 18:06:17 PDT 2015


Author: echristo
Date: Fri May  1 20:06:17 2015
New Revision: 236373

URL: http://llvm.org/viewvc/llvm-project?rev=236373&view=rev
Log:
Rework test to use FileCheck by making sure we have no xmm registers
with numbers.

Modified:
    llvm/trunk/test/CodeGen/X86/soft-fp.ll

Modified: llvm/trunk/test/CodeGen/X86/soft-fp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/soft-fp.ll?rev=236373&r1=236372&r2=236373&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/soft-fp.ll (original)
+++ llvm/trunk/test/CodeGen/X86/soft-fp.ll Fri May  1 20:06:17 2015
@@ -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:





More information about the llvm-commits mailing list