summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/vargs2.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-02-01 01:56:43 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-02-01 01:56:43 +0000
commitf97e5420cb993de55616ee637eccb89c30ed9d31 (patch)
tree163ead3493edc1e8d8c0c31da6d0d37a76dbb128 /test/CodeGen/ARM/vargs2.ll
parent9d945f78e5d26dac6778665bd7018a8fb3fd38c5 (diff)
downloadexternal_llvm-f97e5420cb993de55616ee637eccb89c30ed9d31.zip
external_llvm-f97e5420cb993de55616ee637eccb89c30ed9d31.tar.gz
external_llvm-f97e5420cb993de55616ee637eccb89c30ed9d31.tar.bz2
Added a thumb vararg test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/vargs2.ll')
-rw-r--r--test/CodeGen/ARM/vargs2.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/vargs2.ll b/test/CodeGen/ARM/vargs2.ll
index bc82159..d41f0c8 100644
--- a/test/CodeGen/ARM/vargs2.ll
+++ b/test/CodeGen/ARM/vargs2.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 -enable-thumb &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -enable-thumb | grep pop | wc -l | grep 2
+
%str = internal constant [4 x sbyte] c"%d\0A\00" ; <[4 x sbyte]*> [#uses=1]
implementation ; Functions: