diff options
| author | Dan Gohman <gohman@apple.com> | 2008-05-06 01:53:16 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-05-06 01:53:16 +0000 |
| commit | 4a3f6c88820a204f80ca0fa3f1f2fe09ca10b02f (patch) | |
| tree | 06573858cbbfb4ee974e18ae3bd53a600cdcb794 /lib/Transforms/Scalar/LoopUnroll.cpp | |
| parent | 84b7df43fb098268f6ce37a3e32bcc2f455ecf96 (diff) | |
Make several variable declarations static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopUnroll.cpp')
| -rw-r--r-- | lib/Transforms/Scalar/LoopUnroll.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopUnroll.cpp b/lib/Transforms/Scalar/LoopUnroll.cpp index 18acb03b1b..0db964125a 100644 --- a/lib/Transforms/Scalar/LoopUnroll.cpp +++ b/lib/Transforms/Scalar/LoopUnroll.cpp @@ -45,12 +45,12 @@ STATISTIC(NumCompletelyUnrolled, "Number of loops completely unrolled"); STATISTIC(NumUnrolled, "Number of loops unrolled (completely or otherwise)"); namespace { - cl::opt<unsigned> + static cl::opt<unsigned> UnrollThreshold ("unroll-threshold", cl::init(100), cl::Hidden, cl::desc("The cut-off point for automatic loop unrolling")); - cl::opt<unsigned> + static cl::opt<unsigned> UnrollCount ("unroll-count", cl::init(0), cl::Hidden, cl::desc("Use this unroll count for all loops, for testing purposes")); |
