summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/str_pre-2.ll
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-10-26 21:26:47 +0000
committerJim Grosbach <grosbach@apple.com>2010-10-26 21:26:47 +0000
commit8ac98cb665a88511efb8e50db8867528e515152e (patch)
tree8673c9d07cf34a10687d922d3d6e430551767aba /test/CodeGen/ARM/str_pre-2.ll
parent6a36ad75a40a5baeb254fc66e26e2f0c9af1a504 (diff)
downloadllvm-8ac98cb665a88511efb8e50db8867528e515152e.tar.gz
llvm-8ac98cb665a88511efb8e50db8867528e515152e.tar.bz2
llvm-8ac98cb665a88511efb8e50db8867528e515152e.tar.xz
FileCheck'ize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/str_pre-2.ll')
-rw-r--r--test/CodeGen/ARM/str_pre-2.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/str_pre-2.ll b/test/CodeGen/ARM/str_pre-2.ll
index 553cd64fce..4f9ba4db4c 100644
--- a/test/CodeGen/ARM/str_pre-2.ll
+++ b/test/CodeGen/ARM/str_pre-2.ll
@@ -1,10 +1,11 @@
-; RUN: llc < %s -mtriple=arm-linux-gnu | grep {str.*\\!}
-; RUN: llc < %s -mtriple=arm-linux-gnu | grep {ldr.*\\\[.*\], #4}
+; RUN: llc < %s -mtriple=arm-linux-gnu | FileCheck %s
@b = external global i64*
define i64 @t(i64 %a) nounwind readonly {
entry:
+; CHECK: str lr, [sp, #-4]!
+; CHECK: ldr lr, [sp], #4
%0 = load i64** @b, align 4
%1 = load i64* %0, align 4
%2 = mul i64 %1, %a