aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/memfunc.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-02-21 20:46:00 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-02-21 20:46:00 +0000
commit07043279f60622243d16d8a3f60805960482083c (patch)
treef07d5f6d58c8e9d12ebdacf39546964ec4c9ba21 /test/CodeGen/ARM/memfunc.ll
parente16da6c0209de26f96d2dc71b4ea1ed6fc50c564 (diff)
downloadexternal_llvm-07043279f60622243d16d8a3f60805960482083c.zip
external_llvm-07043279f60622243d16d8a3f60805960482083c.tar.gz
external_llvm-07043279f60622243d16d8a3f60805960482083c.tar.bz2
Proper support for a bastardized darwin-eabi hybird ABI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/memfunc.ll')
-rw-r--r--test/CodeGen/ARM/memfunc.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/memfunc.ll b/test/CodeGen/ARM/memfunc.ll
index aeda022..fe0056c 100644
--- a/test/CodeGen/ARM/memfunc.ll
+++ b/test/CodeGen/ARM/memfunc.ll
@@ -1,4 +1,5 @@
; RUN: llc < %s -mtriple=armv7-apple-ios -o - | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv7m-darwin-eabi -o - | FileCheck %s --check-prefix=DARWIN
; RUN: llc < %s -mtriple=arm-none-eabi -o - | FileCheck --check-prefix=EABI %s
@from = common global [500 x i32] zeroinitializer, align 4
@@ -18,6 +19,8 @@ entry:
; EABI memset swaps arguments
; CHECK: mov r1, #0
; CHECK: memset
+ ; DARWIN: movs r1, #0
+ ; DARWIN: memset
; EABI: mov r2, #0
; EABI: __aeabi_memset
call void @llvm.memset.p0i8.i32(i8* bitcast ([500 x i32]* @from to i8*), i8 0, i32 500, i32 0, i1 false)