diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-02-07 22:34:07 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-02-07 22:34:07 +0000 |
commit | 4fae15e664290a974d44145f4a178ec06e8538e9 (patch) | |
tree | 45b7bbffb769264496cda74b5af97563ba1f22f4 /lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 83a4cb51ce6803782ccc9c6ecd86b63971b5c00b (diff) |
fix 80-col violation and fix the docs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 7e97c8fb69..32fcb8fb7a 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -102,8 +102,11 @@ EnableIfConversion("enable-if-conversion", cl::init(true), cl::Hidden, /// We don't vectorize loops with a known constant trip count below this number. static cl::opt<unsigned> -TinyTripCountVectorThreshold("vectorizer-min-trip-count", cl::init(16), cl::Hidden, - cl::desc("The minimum trip count in the loops to vectorize.")); +TinyTripCountVectorThreshold("vectorizer-min-trip-count", cl::init(16), + cl::Hidden, + cl::desc("Don't vectorize loops with a constant " + "trip count that is smaller than this " + "value.")); /// We don't unroll loops with a known constant trip count below this number. static const unsigned TinyTripCountUnrollThreshold = 128; @@ -531,7 +534,8 @@ public: /// This method checks every power of two up to VF. If UserVF is not ZERO /// then this vectorization factor will be selected if vectorization is /// possible. - VectorizationFactor selectVectorizationFactor(bool OptForSize, unsigned UserVF); + VectorizationFactor selectVectorizationFactor(bool OptForSize, + unsigned UserVF); /// \return The size (in bits) of the widest type in the code that /// needs to be vectorized. We ignore values that remain scalar such as |