OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87ebbc0
)
Experiments show that we can safely increase our unrolling threshold without unduly...
author
Owen Anderson
<resistor@mac.com>
Wed, 4 Aug 2010 18:32:46 +0000
(18:32 +0000)
committer
Owen 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
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopUnrollPass.cpp
b/lib/Transforms/Scalar/LoopUnrollPass.cpp
index
3d446f0
..
37ab3b0
100644
(file)
--- 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(
1
00), cl::Hidden,
+UnrollThreshold("unroll-threshold", cl::init(
2
00), cl::Hidden,
cl::desc("The cut-off point for automatic loop unrolling"));
static cl::opt<unsigned>