diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-27 04:11:32 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-27 04:11:32 +0000 |
commit | f065a8467785015336432e3e6e584798d8b48d8e (patch) | |
tree | 54fe00dacd5bf6c8528b030bb84a401ee1ed8888 /lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 80acd97266f6f165285ae9303dea9654f87a2a87 (diff) |
1. Fix a bug in getTypeConversion. When a *simple* type is split, we need to return the type of the split result.
2. Change the maximum vectorization width from 4 to 8.
3. A test for both.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 1773812da2..be197db956 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -317,7 +317,7 @@ public: /// Returns the most profitable vectorization factor for the loop that is /// smaller or equal to the VF argument. This method checks every power /// of two up to VF. - unsigned findBestVectorizationFactor(unsigned VF = 4); + unsigned findBestVectorizationFactor(unsigned VF = 8); private: /// Returns the expected execution cost. The unit of the cost does |