summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/constants.ll
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-03-11 21:52:04 +0000
committerCameron Zwarich <zwarich@apple.com>2011-03-11 21:52:04 +0000
commit338d362200f24e5cb0a3f883067219246dcca208 (patch)
tree9c340487177926cd1adeabf50e2d046250c01714 /llvm/test/CodeGen/ARM/constants.ll
parent4d7d728594a0eea417bb7e4c608a19d763e3a822 (diff)
downloadbcm5719-llvm-338d362200f24e5cb0a3f883067219246dcca208.tar.gz
bcm5719-llvm-338d362200f24e5cb0a3f883067219246dcca208.zip
Roll r127459 back in:
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: 127498
Diffstat (limited to 'llvm/test/CodeGen/ARM/constants.ll')
-rw-r--r--llvm/test/CodeGen/ARM/constants.ll2
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
OpenPOWER on IntegriCloud