summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-10-27 04:11:32 +0000
committerNadav Rotem <nrotem@apple.com>2012-10-27 04:11:32 +0000
commitf065a8467785015336432e3e6e584798d8b48d8e (patch)
tree54fe00dacd5bf6c8528b030bb84a401ee1ed8888 /lib
parent80acd97266f6f165285ae9303dea9654f87a2a87 (diff)
downloadllvm-f065a8467785015336432e3e6e584798d8b48d8e.tar.gz
llvm-f065a8467785015336432e3e6e584798d8b48d8e.tar.bz2
llvm-f065a8467785015336432e3e6e584798d8b48d8e.tar.xz
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')
-rw-r--r--lib/Transforms/Vectorize/LoopVectorize.cpp2
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