diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-02 20:42:44 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-02 20:42:44 +0000 |
commit | 431d63b5607f9e3d435bc996e6a0ed8cffd1a148 (patch) | |
tree | 8b26fef9d5cc0ba28e6b94f1a527ec70af0c49bc | |
parent | 03119ab3d7de15c54e29efb960bbac4bfc5d2ebf (diff) | |
download | llvm-431d63b5607f9e3d435bc996e6a0ed8cffd1a148.tar.gz llvm-431d63b5607f9e3d435bc996e6a0ed8cffd1a148.tar.bz2 llvm-431d63b5607f9e3d435bc996e6a0ed8cffd1a148.tar.xz |
FileCheck-ize and modernize the RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134342 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/change-compare-stride-trickiness-1.ll | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/CodeGen/X86/change-compare-stride-trickiness-1.ll b/test/CodeGen/X86/change-compare-stride-trickiness-1.ll index cb638092ea..a3933e2e00 100644 --- a/test/CodeGen/X86/change-compare-stride-trickiness-1.ll +++ b/test/CodeGen/X86/change-compare-stride-trickiness-1.ll @@ -1,6 +1,4 @@ -; RUN: llc %s -o - --x86-asm-syntax=att | grep {cmp. \$10} -target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" -target triple = "x86_64-apple-darwin9" +; RUN: llc -march=x86 < %s | FileCheck %s ; The comparison happens after the relevant use, so the stride can easily ; be changed. The comparison can be done in a narrower mode than the @@ -9,6 +7,11 @@ target triple = "x86_64-apple-darwin9" ; could be made simpler. define void @foo() nounwind { +; CHECK: foo: +; CHECK-NOT: ret +; CHECK: cmpl $10 +; CHECK: ret + entry: br label %loop |