OSDN Git Service

Experiments show that we can safely increase our unrolling threshold without unduly...
authorOwen Anderson <resistor@mac.com>
Wed, 4 Aug 2010 18:32:46 +0000 (18:32 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 4 Aug 2010 18:32:46 +0000 (18:32 +0000)
since unrolling is not enabled at -Os.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110233 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopUnrollPass.cpp

index 3d446f0..37ab3b0 100644 (file)
@@ -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>