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 | 859366f93f2a1e443bb0a71da91d42382087b573 (patch) | |
tree | 339a1ac859f0db4f4ba1993f0ed9a7be5ddccdbd /llvm/lib/Transforms | |
parent | 8c0739d3324775b83e66272bcaec303a28f6b444 (diff) | |
download | bcm5719-llvm-859366f93f2a1e443bb0a71da91d42382087b573.tar.gz bcm5719-llvm-859366f93f2a1e443bb0a71da91d42382087b573.zip |
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.
llvm-svn: 166864
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 1773812da24..be197db9563 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/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 |