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/ARM/constants.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/ARM/constants.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/constants.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/constants.ll b/llvm/test/CodeGen/ARM/constants.ll index 542cf02f2a9..a66ee41fe19 100644 --- a/llvm/test/CodeGen/ARM/constants.ll +++ b/llvm/test/CodeGen/ARM/constants.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=arm | FileCheck %s +; RUN: llc < %s -march=arm -disable-cgp-branch-opts | FileCheck %s define i32 @f1() { ; CHECK: f1 |