diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-02 20:42:22 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-02 20:42:22 +0000 |
commit | 8b89789188a22ed542d9f5b3c6754488afb27682 (patch) | |
tree | b1f4887314010c1154bc1caffe336b5f8dd1a7ca | |
parent | d95cb018230a532fec57468e4beca5a2d62e3903 (diff) | |
download | external_llvm-8b89789188a22ed542d9f5b3c6754488afb27682.zip external_llvm-8b89789188a22ed542d9f5b3c6754488afb27682.tar.gz external_llvm-8b89789188a22ed542d9f5b3c6754488afb27682.tar.bz2 |
FileCheck-ize another codegen test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134334 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/lsr-redundant-addressing.ll | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/X86/lsr-redundant-addressing.ll b/test/CodeGen/X86/lsr-redundant-addressing.ll index aaa1426..cb0ac8b 100644 --- a/test/CodeGen/X86/lsr-redundant-addressing.ll +++ b/test/CodeGen/X86/lsr-redundant-addressing.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=x86-64 < %s | fgrep {addq $-16,} | count 1 +; RUN: llc -march=x86-64 < %s | FileCheck %s ; rdar://9081094 ; LSR shouldn't create lots of redundant address computations. @@ -10,6 +10,12 @@ @isa = external hidden unnamed_addr constant [13 x %1], align 32 define void @main_bb.i() nounwind { +; CHECK: main_bb.i: +; CHECK-NOT: ret +; CHECK: addq $-16, +; CHECK-NOT: ret +; CHECK: ret + bb: br label %bb38 |