diff options
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-02-03 00:16:21 +0000 |
---|---|---|
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-02-03 00:16:21 +0000 |
commit | 4532cc31b9a78514b60af0ef008c8867a54bf4b9 (patch) | |
tree | f45fc72c114ae89231db4cc188e7fafce649383f /test/CodeGen/ARM/alloca.ll | |
parent | 5e665f559419c7f58a4fd9360cd488f065505c44 (diff) | |
download | llvm-4532cc31b9a78514b60af0ef008c8867a54bf4b9.tar.gz |
Improves alloca test. Verifies SP restoration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/alloca.ll')
-rw-r--r-- | test/CodeGen/ARM/alloca.ll | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/alloca.ll b/test/CodeGen/ARM/alloca.ll index 6722026835a7..c04a8b0499be 100644 --- a/test/CodeGen/ARM/alloca.ll +++ b/test/CodeGen/ARM/alloca.ll @@ -1,4 +1,7 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mtriple=arm-linux-gnu | grep "mov r11, sp" && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mtriple=arm-linux-gnu | grep "mov sp, r11" + void %f(uint %a) { entry: %tmp = alloca sbyte, uint %a |