aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-08-04 18:32:46 +0000
committerOwen Anderson <resistor@mac.com>2010-08-04 18:32:46 +0000
commit87657e33879e7608e4e8bcfedcb2927941950575 (patch)
treefd6565396d20b0aebeb2d1bcdf2c71c5e127cba3 /lib/Transforms
parente45df7bd6cad30cc5bbffc0c4754f07d6f0f7a24 (diff)
downloadexternal_llvm-87657e33879e7608e4e8bcfedcb2927941950575.zip
external_llvm-87657e33879e7608e4e8bcfedcb2927941950575.tar.gz
external_llvm-87657e33879e7608e4e8bcfedcb2927941950575.tar.bz2
Experiments show that we can safely increase our unrolling threshold without unduly impacting code size, particularly
since unrolling is not enabled at -Os. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110233 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/LoopUnrollPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopUnrollPass.cpp b/lib/Transforms/Scalar/LoopUnrollPass.cpp
index 3d446f0..37ab3b0 100644
--- a/lib/Transforms/Scalar/LoopUnrollPass.cpp
+++ b/lib/Transforms/Scalar/LoopUnrollPass.cpp
@@ -27,7 +27,7 @@
using namespace llvm;
static cl::opt<unsigned>
-UnrollThreshold("unroll-threshold", cl::init(100), cl::Hidden,
+UnrollThreshold("unroll-threshold", cl::init(200), cl::Hidden,
cl::desc("The cut-off point for automatic loop unrolling"));
static cl::opt<unsigned>