diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-08-11 23:00:31 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-08-11 23:00:31 +0000 |
commit | b89030ab6554d84de4331c2853edac4dbf8da9b9 (patch) | |
tree | b951b78ad1861c856b34592f6d85f1fb6366e227 /test/CodeGen/Thumb2/2009-07-21-ISelBug.ll | |
parent | 09652df5fc19b088d8baf43dd7839d9c2fc24980 (diff) | |
download | llvm-b89030ab6554d84de4331c2853edac4dbf8da9b9.tar.gz llvm-b89030ab6554d84de4331c2853edac4dbf8da9b9.tar.bz2 llvm-b89030ab6554d84de4331c2853edac4dbf8da9b9.tar.xz |
Shrinkify Thumb2 r = add sp, imm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/2009-07-21-ISelBug.ll')
-rw-r--r-- | test/CodeGen/Thumb2/2009-07-21-ISelBug.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/2009-07-21-ISelBug.ll b/test/CodeGen/Thumb2/2009-07-21-ISelBug.ll index 98979b5449..0766a57469 100644 --- a/test/CodeGen/Thumb2/2009-07-21-ISelBug.ll +++ b/test/CodeGen/Thumb2/2009-07-21-ISelBug.ll @@ -1,10 +1,12 @@ -; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin9 -mattr=+vfp2,+thumb2 +; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin9 -mattr=+vfp2,+thumb2 | FileCheck %s ; rdar://7076238 @"\01LC" = external constant [36 x i8], align 1 ; <[36 x i8]*> [#uses=1] -define arm_apcscc i32 @getUnknown(i32, ...) nounwind { +define arm_apcscc i32 @t(i32, ...) nounwind { entry: +; CHECK: t: +; CHECK: add r7, sp, #3 * 4 %1 = load i8** undef, align 4 ; <i8*> [#uses=3] %2 = getelementptr i8* %1, i32 4 ; <i8*> [#uses=1] %3 = getelementptr i8* %1, i32 8 ; <i8*> [#uses=1] |