summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit821e00121c3a5d6d2bea9dd63933aa6d19e738f4 (patch)
tree23fe047cb13c7d7ddd83ea68daced867d4badc9c /llvm/test/CodeGen/PowerPC/ctrloops.ll
parent8b01503ee56bca3dcc237b48f8e99145a9bdd2a1 (diff)
downloadbcm5719-llvm-821e00121c3a5d6d2bea9dd63933aa6d19e738f4.tar.gz
bcm5719-llvm-821e00121c3a5d6d2bea9dd63933aa6d19e738f4.zip
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. llvm-svn: 158206
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/ctrloops.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/ctrloops.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/ctrloops.ll b/llvm/test/CodeGen/PowerPC/ctrloops.ll
index f7bd354ce8e..ad55fa4a23e 100644
--- a/llvm/test/CodeGen/PowerPC/ctrloops.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud