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 | ea662bb32fe5895ad6fe8a90e324edb194d707cd (patch) | |
| tree | 3c1081ac59e64fe1505adb93ab4b7747ca5fe71e /llvm/test | |
| parent | d6da876bacd513b2d14441c48955323fdb63c8a5 (diff) | |
| download | bcm5719-llvm-ea662bb32fe5895ad6fe8a90e324edb194d707cd.tar.gz bcm5719-llvm-ea662bb32fe5895ad6fe8a90e324edb194d707cd.zip | |
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.
llvm-svn: 141529
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/Thumb/vargs.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb/vargs.ll b/llvm/test/CodeGen/Thumb/vargs.ll index c2ba208e4ae..16a9c4442d8 100644 --- a/llvm/test/CodeGen/Thumb/vargs.ll +++ b/llvm/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] |

