diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-10 07:24:23 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-10 07:24:23 +0000 |
commit | 8129d213960bac2c9d01053922866fc0f552462e (patch) | |
tree | 598a53745aa6a4daa1893e691735f96b84b86c17 /test/CodeGen/Thumb/vargs.ll | |
parent | 1f104804bf30f1457e92fa6ee958a618a958b1ad (diff) | |
download | external_llvm-8129d213960bac2c9d01053922866fc0f552462e.zip external_llvm-8129d213960bac2c9d01053922866fc0f552462e.tar.gz external_llvm-8129d213960bac2c9d01053922866fc0f552462e.tar.bz2 |
When getting the number of bits necessary for addressing mode
ARMII::AddrModeT1_s, we need to take into account that if the frame register is
ARM::SP, then the number of bits is 8. If it's not ARM::SP, then the number of
bits is 5.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb/vargs.ll')
-rw-r--r-- | test/CodeGen/Thumb/vargs.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb/vargs.ll b/test/CodeGen/Thumb/vargs.ll index c2ba208..16a9c44 100644 --- a/test/CodeGen/Thumb/vargs.ll +++ b/test/CodeGen/Thumb/vargs.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -march=thumb -; RUN: llc < %s -mtriple=thumb-linux | grep pop | count 2 +; RUN: llc < %s -mtriple=thumb-linux | grep pop | count 1 ; RUN: llc < %s -mtriple=thumb-darwin | grep pop | count 2 @str = internal constant [4 x i8] c"%d\0A\00" ; <[4 x i8]*> [#uses=1] |