[llvm-commits] [llvm] r134340 - /llvm/trunk/test/CodeGen/X86/change-compare-stride-0.ll
Chandler Carruth
chandlerc at gmail.com
Sat Jul 2 13:42:39 PDT 2011
Author: chandlerc
Date: Sat Jul 2 15:42:39 2011
New Revision: 134340
URL: http://llvm.org/viewvc/llvm-project?rev=134340&view=rev
Log:
FileCheck-ize, tightening checks and avoiding a temporary file.
Modified:
llvm/trunk/test/CodeGen/X86/change-compare-stride-0.ll
Modified: llvm/trunk/test/CodeGen/X86/change-compare-stride-0.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/change-compare-stride-0.ll?rev=134340&r1=134339&r2=134340&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/change-compare-stride-0.ll (original)
+++ llvm/trunk/test/CodeGen/X86/change-compare-stride-0.ll Sat Jul 2 15:42:39 2011
@@ -1,11 +1,14 @@
-; RUN: llc < %s -march=x86 > %t
-; RUN: grep {cmpl \$-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 | 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: decl
+; CHECK-NEXT: cmpl $-478
+; CHECK: ret
+
bb4.thread:
br label %bb2.outer
More information about the llvm-commits
mailing list