summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-02 20:42:42 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-02 20:42:42 +0000
commitabd8a8f3ae5f68761f8e9d764e361472e6e14757 (patch)
treec07a764bcbcfd91d79316630be5b36747e3dd297
parent6e4d90f7c650b6850809e27cc294442c5ec9a7c0 (diff)
downloadbcm5719-llvm-abd8a8f3ae5f68761f8e9d764e361472e6e14757.tar.gz
bcm5719-llvm-abd8a8f3ae5f68761f8e9d764e361472e6e14757.zip
FileCheck-ize, tightening checks and avoiding a temporary file.
llvm-svn: 134341
-rw-r--r--llvm/test/CodeGen/X86/change-compare-stride-1.ll15
1 files changed, 9 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/change-compare-stride-1.ll b/llvm/test/CodeGen/X86/change-compare-stride-1.ll
index a9ddbdb7f74..eee3b79acfa 100644
--- a/llvm/test/CodeGen/X86/change-compare-stride-1.ll
+++ b/llvm/test/CodeGen/X86/change-compare-stride-1.ll
@@ -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
OpenPOWER on IntegriCloud