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/Thumb/dyn-stackalloc.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/Thumb/dyn-stackalloc.ll')
-rw-r--r-- | llvm/test/CodeGen/Thumb/dyn-stackalloc.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb/dyn-stackalloc.ll b/llvm/test/CodeGen/Thumb/dyn-stackalloc.ll index 1f31dca0524..e698e00641f 100644 --- a/llvm/test/CodeGen/Thumb/dyn-stackalloc.ll +++ b/llvm/test/CodeGen/Thumb/dyn-stackalloc.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s +; RUN: llc < %s -mtriple=thumb-apple-darwin -disable-cgp-branch-opts | FileCheck %s %struct.state = type { i32, %struct.info*, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* } %struct.info = type { i32, i32, i32, i32, i32, i32, i32, i8* } |