diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-02-13 05:31:46 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-02-13 05:31:46 +0000 |
| commit | 1fbc31653485f203eb5f593b4f5c82cbb9bebd48 (patch) | |
| tree | 6f3394e4d6d0704a627a62202713ad2566fcb913 /llvm/lib | |
| parent | d266b928aee8ca677857a8d53d194ffbef8a3cba (diff) | |
| download | bcm5719-llvm-1fbc31653485f203eb5f593b4f5c82cbb9bebd48.tar.gz bcm5719-llvm-1fbc31653485f203eb5f593b4f5c82cbb9bebd48.zip | |
[unroll] Concede defeat and disable the unroll analyzer for now.
The issues with the new unroll analyzer are more fundamental than code
cleanup, algorithm, or data structure changes. I've sent an email to the
original commit thread with details and a proposal for how to redesign
things. I'm disabling this for now so that we don't spend time
debugging issues with it in its current state.
llvm-svn: 229064
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp index 53d80f68e08..ca7eca17ae4 100644 --- a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp +++ b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp @@ -42,7 +42,7 @@ UnrollThreshold("unroll-threshold", cl::init(150), cl::Hidden, cl::desc("The cut-off point for automatic loop unrolling")); static cl::opt<unsigned> UnrollMaxIterationsCountToAnalyze( - "unroll-max-iteration-count-to-analyze", cl::init(1000), cl::Hidden, + "unroll-max-iteration-count-to-analyze", cl::init(0), cl::Hidden, cl::desc("Don't allow loop unrolling to simulate more than this number of" "iterations when checking full unroll profitability")); |

