summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-03-11 04:54:27 +0000
committerCameron Zwarich <zwarich@apple.com>2011-03-11 04:54:27 +0000
commitcc27b3acc428709a5ba5bff18f1113bf9ce99819 (patch)
treed26180c20660f3632829623d9c024db02e00d0a7 /llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll
parent7684ddee7cc6d502f4250f347e158840e969bb18 (diff)
downloadbcm5719-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.ll2
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
OpenPOWER on IntegriCloud