summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-02 22:29:01 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-02 22:29:01 +0000
commit1755b3964f931bdd6fa9b4c0138f666ccfa12aca (patch)
treeda44cb7a52f81004cbdf4663047b5e49f6375afe /test/CodeGen/Thumb
parentbc54ee9a77b496ba1d8dbbfc6bacd9b20066b31e (diff)
downloadexternal_llvm-1755b3964f931bdd6fa9b4c0138f666ccfa12aca.zip
external_llvm-1755b3964f931bdd6fa9b4c0138f666ccfa12aca.tar.gz
external_llvm-1755b3964f931bdd6fa9b4c0138f666ccfa12aca.tar.bz2
For ARM stack frames that utilize variable sized objects and have either
large local stack areas or require dynamic stack realignment, allocate a base register via which to access the local frame. This allows efficient access to frame indices not accessible via the FP (either due to being out of range or due to dynamic realignment) or the SP (due to variable sized object allocation). In particular, this greatly improves efficiency of access to spill slots in Thumb functions which contain VLAs. rdar://7352504 rdar://8374540 rdar://8355680 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112883 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb')
-rw-r--r--test/CodeGen/Thumb/dyn-stackalloc.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb/dyn-stackalloc.ll b/test/CodeGen/Thumb/dyn-stackalloc.ll
index acfdc91..5c8ad97 100644
--- a/test/CodeGen/Thumb/dyn-stackalloc.ll
+++ b/test/CodeGen/Thumb/dyn-stackalloc.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -march=thumb | not grep {ldr sp}
; RUN: llc < %s -mtriple=thumb-apple-darwin | \
; RUN: not grep {sub.*r7}
-; RUN: llc < %s -march=thumb | grep 4294967280
+; RUN: llc < %s -march=thumb | grep {mov.*r6, sp}
%struct.state = type { i32, %struct.info*, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* }
%struct.info = type { i32, i32, i32, i32, i32, i32, i32, i8* }