diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-01-30 23:06:22 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-01-30 23:06:22 +0000 |
| commit | f08c0eab150eec0f9393423fae4be1262feb7bf2 (patch) | |
| tree | c03213a04c4dbf93dd889f9c6ccbed85770620c4 /test/CodeGen/ARM/large-stack.ll | |
| parent | 36640905e1b2b2f1179845acc46f3de02f972c8c (diff) | |
Combine two tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/large-stack.ll')
| -rw-r--r-- | test/CodeGen/ARM/large-stack.ll | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/large-stack.ll b/test/CodeGen/ARM/large-stack.ll index 4402659e13..695c4c6e1d 100644 --- a/test/CodeGen/ARM/large-stack.ll +++ b/test/CodeGen/ARM/large-stack.ll @@ -1,5 +1,6 @@ ; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm -enable-thumb +; RUN: llvm-as < %s | llc -march=arm -enable-thumb && +; RUN: llvm-as < %s | llc -march=arm -enable-thumb | grep 'ldr.*LCP' | wc -l | grep 5 define void @test1() { %tmp = alloca [ 64 x i32 ] , align 4 @@ -10,3 +11,12 @@ define void @test2() { %tmp = alloca [ 4168 x i8 ] , align 4 ret void } + +define i32 @test3() { + %retval = alloca i32, align 4 + %tmp = alloca i32, align 4 + %a = alloca [805306369 x i8], align 16 + store i32 0, i32* %tmp + %tmp1 = load i32* %tmp + ret i32 %tmp1 +} |
