diff options
| author | Cameron Zwarich <zwarich@apple.com> | 2011-03-11 04:54:27 +0000 |
|---|---|---|
| committer | Cameron Zwarich <zwarich@apple.com> | 2011-03-11 04:54:27 +0000 |
| commit | cc27b3acc428709a5ba5bff18f1113bf9ce99819 (patch) | |
| tree | d26180c20660f3632829623d9c024db02e00d0a7 /llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll | |
| parent | 7684ddee7cc6d502f4250f347e158840e969bb18 (diff) | |
| download | bcm5719-llvm-cc27b3acc428709a5ba5bff18f1113bf9ce99819.tar.gz bcm5719-llvm-cc27b3acc428709a5ba5bff18f1113bf9ce99819.zip | |
Optimize trivial branches in CodeGenPrepare, which often get created from the
lowering of objectsize intrinsics. Unfortunately, a number of tests were relying
on llc not optimizing trivial branches, so I had to add an option to allow them
to continue to test what they originally tested.
This fixes <rdar://problem/8785296> and <rdar://problem/9112893>.
llvm-svn: 127459
Diffstat (limited to 'llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll')
| -rw-r--r-- | llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll b/llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll index 550b3efae99..ff68e665078 100644 --- a/llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll +++ b/llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll @@ -8,7 +8,7 @@ entry: ; CHECK: sub sp, #8 ; CHECK: push ; CHECK: add r7, sp, #4 -; CHECK: subs r4, r7, #4 +; CHECK: sub.w r4, r7, #4 ; CHECK: mov sp, r4 ; CHECK-NOT: mov sp, r7 ; CHECK: add sp, #8 |

