diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-08 19:19:53 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-08 19:19:53 +0000 |
commit | 7255d2a8084cb6aa96ea0e5f30acfff76df04ee8 (patch) | |
tree | 785085ec68f98e4874be4b08af4b2f8497b7ed82 /test/CodeGen/PowerPC/ctrloops.ll | |
parent | 7e5631202ab5b5f2097d234d0357bc5b3b7f5530 (diff) | |
download | external_llvm-7255d2a8084cb6aa96ea0e5f30acfff76df04ee8.zip external_llvm-7255d2a8084cb6aa96ea0e5f30acfff76df04ee8.tar.gz external_llvm-7255d2a8084cb6aa96ea0e5f30acfff76df04ee8.tar.bz2 |
Enable PPC CTR loop formation by default.
Thanks to Jakob's help, this now causes no new test suite failures!
Over the entire test suite, this gives an average 1% speedup. The largest speedups are:
SingleSource/Benchmarks/Misc/pi - 108%
SingleSource/Benchmarks/CoyoteBench/lpbench - 54%
MultiSource/Benchmarks/Prolangs-C/unix-smail/unix-smail - 50%
SingleSource/Benchmarks/Shootout/ary3 - 32%
SingleSource/Benchmarks/Shootout-C++/matrix - 30%
The largest slowdowns are:
MultiSource/Benchmarks/mediabench/gsm/toast/toast - -30%
MultiSource/Benchmarks/Prolangs-C/bison/mybison - -25%
MultiSource/Benchmarks/BitBench/uuencode/uuencode - -22%
MultiSource/Applications/d/make_dparser - -14%
SingleSource/Benchmarks/Shootout-C++/ary - -13%
In light of these slowdowns, additional profiling work is obviously needed!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/ctrloops.ll')
-rw-r--r-- | test/CodeGen/PowerPC/ctrloops.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/ctrloops.ll b/test/CodeGen/PowerPC/ctrloops.ll index ad55fa4..f7bd354 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 -enable-ppc-ctrloops -enable-ppc-ctrloop-analysis < %s -march=ppc64 | FileCheck %s +; RUN: llc < %s -march=ppc64 | FileCheck %s @a = common global i32 0, align 4 |