diff options
author | Richard Osborne <richard@xmos.com> | 2011-11-01 10:41:28 +0000 |
---|---|---|
committer | Richard Osborne <richard@xmos.com> | 2011-11-01 10:41:28 +0000 |
commit | 70ad3951e419ee0f1a612cab2f206e4478b757b5 (patch) | |
tree | a1a52c9cb5ada0d7a3b46ec67f54752a5f9a1f8b /test/CodeGen/XCore/unaligned_store_combine.ll | |
parent | ce7de9f36dd2bce82010bd5a1178efbcb1efabe7 (diff) | |
download | llvm-70ad3951e419ee0f1a612cab2f206e4478b757b5.tar.gz llvm-70ad3951e419ee0f1a612cab2f206e4478b757b5.tar.bz2 llvm-70ad3951e419ee0f1a612cab2f206e4478b757b5.tar.xz |
Move various XCore tests to FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/XCore/unaligned_store_combine.ll')
-rw-r--r-- | test/CodeGen/XCore/unaligned_store_combine.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/XCore/unaligned_store_combine.ll b/test/CodeGen/XCore/unaligned_store_combine.ll index 493ca6a975..c997b78ee6 100644 --- a/test/CodeGen/XCore/unaligned_store_combine.ll +++ b/test/CodeGen/XCore/unaligned_store_combine.ll @@ -1,11 +1,12 @@ -; RUN: llc < %s -march=xcore > %t1.s -; RUN: grep "bl memmove" %t1.s | count 1 -; RUN: grep "ldc r., 8" %t1.s | count 1 +; RUN: llc < %s -march=xcore | FileCheck %s ; Unaligned load / store pair. Should be combined into a memmove ; of size 8 define void @f(i64* %dst, i64* %src) nounwind { entry: +; CHECK: f: +; CHECK: ldc r2, 8 +; CHECK: bl memmove %0 = load i64* %src, align 1 store i64 %0, i64* %dst, align 1 ret void |