[llvm-commits] [llvm] r134341 - /llvm/trunk/test/CodeGen/X86/change-compare-stride-1.ll

Chandler Carruth chandlerc at gmail.com
Sat Jul 2 13:42:42 PDT 2011


Author: chandlerc
Date: Sat Jul  2 15:42:42 2011
New Revision: 134341

URL: http://llvm.org/viewvc/llvm-project?rev=134341&view=rev
Log:
FileCheck-ize, tightening checks and avoiding a temporary file.

Modified:
    llvm/trunk/test/CodeGen/X86/change-compare-stride-1.ll

Modified: llvm/trunk/test/CodeGen/X86/change-compare-stride-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/change-compare-stride-1.ll?rev=134341&r1=134340&r2=134341&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/change-compare-stride-1.ll (original)
+++ llvm/trunk/test/CodeGen/X86/change-compare-stride-1.ll Sat Jul  2 15:42:42 2011
@@ -1,11 +1,14 @@
-; RUN: llc < %s -march=x86-64 > %t
-; RUN: grep {cmpq	\$-478,} %t
-; RUN: not grep inc %t
-; RUN: not grep {leal	1(} %t
-; RUN: not grep {leal	-1(} %t
-; RUN: grep dec %t | count 1
+; RUN: llc < %s -march=x86-64 | FileCheck %s
 
 define void @borf(i8* nocapture %in, i8* nocapture %out) nounwind {
+; CHECK: borf:
+; CHECK-NOT: inc
+; CHECK-NOT: leal 1(
+; CHECK-NOT: leal -1(
+; CHECK: decq
+; CHECK-NEXT: cmpq $-478
+; CHECK: ret
+
 bb4.thread:
 	br label %bb2.outer
 





More information about the llvm-commits mailing list