summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-09-10 17:57:00 +0000
committerOwen Anderson <resistor@mac.com>2010-09-10 17:57:00 +0000
commitd85c9ccdba17836dc8298cfb374d38ad39261a14 (patch)
treee91c3fcf9a4850037019f8adf24a63d787722d5b /llvm/lib/Transforms
parent35fde493c293a5c77dc7e85eaa120a91f22fd20a (diff)
downloadbcm5719-llvm-d85c9ccdba17836dc8298cfb374d38ad39261a14.tar.gz
bcm5719-llvm-d85c9ccdba17836dc8298cfb374d38ad39261a14.zip
Lower the unrolling theshold to 150. Empirical tests indicate that this is a sweet spot in the performance per
code size increase curve. llvm-svn: 113595
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
index 806f63d1043..7da2b52da54 100644
--- a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
@@ -27,7 +27,7 @@
using namespace llvm;
static cl::opt<unsigned>
-UnrollThreshold("unroll-threshold", cl::init(200), cl::Hidden,
+UnrollThreshold("unroll-threshold", cl::init(150), cl::Hidden,
cl::desc("The cut-off point for automatic loop unrolling"));
static cl::opt<unsigned>
OpenPOWER on IntegriCloud