aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/ctrloops.ll
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-06-08 15:38:25 +0000
committerHal Finkel <hfinkel@anl.gov>2012-06-08 15:38:25 +0000
commit09fdc7baae1b6905fe18df48e2278e74d4e39ccd (patch)
treeb1a2aadea993ad0d4664fd42e934a9cf05e7238b /test/CodeGen/PowerPC/ctrloops.ll
parentdaa03ec60475a641bcc66799764977f79997ca45 (diff)
downloadexternal_llvm-09fdc7baae1b6905fe18df48e2278e74d4e39ccd.zip
external_llvm-09fdc7baae1b6905fe18df48e2278e74d4e39ccd.tar.gz
external_llvm-09fdc7baae1b6905fe18df48e2278e74d4e39ccd.tar.bz2
Disable the PPC CTR-Loops pass by default.
The pass itself works well, but the something in the Machine* infrastructure does not understand terminators which define registers. Without the ability to use the block-placement pass, etc. this causes performance regressions (and so is turned off by default). Turning off the analysis turns off the problems with the Machine* infrastructure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/ctrloops.ll')
-rw-r--r--test/CodeGen/PowerPC/ctrloops.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/ctrloops.ll b/test/CodeGen/PowerPC/ctrloops.ll
index f7bd354..ad55fa4 100644
--- a/test/CodeGen/PowerPC/ctrloops.ll
+++ b/test/CodeGen/PowerPC/ctrloops.ll
@@ -1,6 +1,6 @@
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-freebsd10.0"
-; RUN: llc < %s -march=ppc64 | FileCheck %s
+; RUN: llc -enable-ppc-ctrloops -enable-ppc-ctrloop-analysis < %s -march=ppc64 | FileCheck %s
@a = common global i32 0, align 4