diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-02 20:42:39 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-02 20:42:39 +0000 |
commit | 5a26013390d0f5f501a185eccfd522849bf8e2d6 (patch) | |
tree | ab59249755e52811937374e6c8d0b33a1cd8b7b4 /test/CodeGen/X86 | |
parent | 2fa43a7315d87ec9f55aa5cb716b65dcefa7ddf1 (diff) | |
download | external_llvm-5a26013390d0f5f501a185eccfd522849bf8e2d6.zip external_llvm-5a26013390d0f5f501a185eccfd522849bf8e2d6.tar.gz external_llvm-5a26013390d0f5f501a185eccfd522849bf8e2d6.tar.bz2 |
FileCheck-ize, tightening checks and avoiding a temporary file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/change-compare-stride-0.ll | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/CodeGen/X86/change-compare-stride-0.ll b/test/CodeGen/X86/change-compare-stride-0.ll index d520a6f..3a383ee 100644 --- a/test/CodeGen/X86/change-compare-stride-0.ll +++ b/test/CodeGen/X86/change-compare-stride-0.ll @@ -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 |