[llvm-commits] [llvm] r110233 - /llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
Owen Anderson
resistor at mac.com
Wed Aug 4 11:32:47 PDT 2010
Author: resistor
Date: Wed Aug 4 13:32:46 2010
New Revision: 110233
URL: http://llvm.org/viewvc/llvm-project?rev=110233&view=rev
Log:
Experiments show that we can safely increase our unrolling threshold without unduly impacting code size, particularly
since unrolling is not enabled at -Os.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp?rev=110233&r1=110232&r2=110233&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp Wed Aug 4 13:32:46 2010
@@ -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>
More information about the llvm-commits
mailing list