Skip to content

Commit

Permalink
Lower the unrolling theshold to 150. Empirical tests indicate that th…
Browse files Browse the repository at this point in the history
…is 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
  • Loading branch information
resistor committed Sep 10, 2010
1 parent d6934e4 commit 8ea298a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Transforms/Scalar/LoopUnrollPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 8ea298a

Please sign in to comment.