Lower the unrolling theshold to 150. Empirical tests indicate that this is a sweet...
authorOwen Anderson <resistor@mac.com>
Fri, 10 Sep 2010 17:57:00 +0000 (17:57 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 10 Sep 2010 17:57:00 +0000 (17:57 +0000)
code size increase curve.

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

lib/Transforms/Scalar/LoopUnrollPass.cpp

index 806f63d1043b0bd43398ee0b7fa0a25a4141b13d..7da2b52da544a64bfc94e5588022a98b48beef02 100644 (file)
@@ -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>