summaryrefslogtreecommitdiff
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
commitb57e6558c76101f68e73036bd485ade02f6c73aa (patch)
treefd6565396d20b0aebeb2d1bcdf2c71c5e127cba3 /lib/Transforms
parent87ebbc0c5652b21278f6c351b8da3e6042caee52 (diff)
downloadllvm-b57e6558c76101f68e73036bd485ade02f6c73aa.tar.gz
llvm-b57e6558c76101f68e73036bd485ade02f6c73aa.tar.bz2
llvm-b57e6558c76101f68e73036bd485ade02f6c73aa.tar.xz
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 3d446f0f37..37ab3b0b5b 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>