diff options
author | Owen Anderson <resistor@mac.com> | 2010-09-10 17:57:00 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-09-10 17:57:00 +0000 |
commit | 8ea298a4e341479a4bba608007bec295fd164613 (patch) | |
tree | c7a1b896fd3042b16ddf5b27955a9b74a99ed36c /lib/Transforms/Scalar/LoopUnrollPass.cpp | |
parent | d6934e4cee9e345822ec57a0ba08fb572e34e157 (diff) | |
download | llvm-8ea298a4e341479a4bba608007bec295fd164613.tar.gz llvm-8ea298a4e341479a4bba608007bec295fd164613.tar.bz2 llvm-8ea298a4e341479a4bba608007bec295fd164613.tar.xz |
Lower the unrolling theshold to 150. Empirical tests indicate that this is a sweet spot in the performance per
code size increase curve.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopUnrollPass.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopUnrollPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopUnrollPass.cpp b/lib/Transforms/Scalar/LoopUnrollPass.cpp index 806f63d104..7da2b52da5 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(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> |