1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -O3 | FileCheck %s
4 ; Make sure the result of the first dynamic_alloc isn't copied back to sp more
5 ; than once. We'll deal with poor codegen later.
7 define void @t() nounwind ssp {
10 ; CHECK: push {r4, r7}
12 ; CHECK: add r7, sp, #4
13 ; CHECK: bic r0, r0, #7
17 ; CHECK: bic r0, r0, #7
22 %vla_a = alloca i8, i32 %size, align 8
23 %vla_b = alloca i8, i32 %size, align 8