summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2
diff options
context:
space:
mode:
authorElena Demikhovsky <elena.demikhovsky@intel.com>2013-10-14 07:26:51 +0000
committerElena Demikhovsky <elena.demikhovsky@intel.com>2013-10-14 07:26:51 +0000
commit55240a5ddbaebc44c9acb0353c18a394b06f348f (patch)
tree7060de669bec65c5609de612ac288b5d13e668d7 /test/CodeGen/Thumb2
parentf50045e90d347f9d7c951d46ad83b2369d1e3cb6 (diff)
downloadllvm-55240a5ddbaebc44c9acb0353c18a394b06f348f.tar.gz
llvm-55240a5ddbaebc44c9acb0353c18a394b06f348f.tar.bz2
llvm-55240a5ddbaebc44c9acb0353c18a394b06f348f.tar.xz
Fixed a bug in dynamic allocation memory on stack.
The alignment of allocated space was wrong, see Bugzila 17345. Done by Zvi Rackover <zvi.rackover@intel.com>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2')
-rw-r--r--test/CodeGen/Thumb2/2010-04-15-DynAllocBug.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/2010-04-15-DynAllocBug.ll b/test/CodeGen/Thumb2/2010-04-15-DynAllocBug.ll
index 486c064cfa..1b8bdb1c19 100644
--- a/test/CodeGen/Thumb2/2010-04-15-DynAllocBug.ll
+++ b/test/CodeGen/Thumb2/2010-04-15-DynAllocBug.ll
@@ -8,10 +8,10 @@ define void @t() nounwind ssp {
entry:
; CHECK-LABEL: t:
%size = mul i32 8, 2
-; CHECK: subs r0, #16
+; CHECK: sub.w r0, sp, #16
; CHECK: mov sp, r0
%vla_a = alloca i8, i32 %size, align 8
-; CHECK: subs r0, #16
+; CHECK: sub.w r0, sp, #16
; CHECK: mov sp, r0
%vla_b = alloca i8, i32 %size, align 8
unreachable