diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-04 23:25:24 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-04 23:25:24 +0000 |
commit | a8f026e2d4e2e0dfc32d027ef69fafc963fd2208 (patch) | |
tree | 9b93193c04c28b72b204c5fb7126073680b6e117 | |
parent | 87fc988c5de8df7bc3242172a482bd2a371fc1a5 (diff) | |
download | llvm-a8f026e2d4e2e0dfc32d027ef69fafc963fd2208.zip llvm-a8f026e2d4e2e0dfc32d027ef69fafc963fd2208.tar.gz llvm-a8f026e2d4e2e0dfc32d027ef69fafc963fd2208.tar.bz2 |
LoopVectorizer: Increase the number of pointers that can be tested at runtime. If we cant prove statically that the pointers are disjoint then we add the runtime check.
llvm-svn: 169334
-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 20e073b..166ad33 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -90,7 +90,7 @@ const unsigned TinyTripCountThreshold = 16; /// When performing a runtime memory check, do not check more than this /// number of pointers. Notice that the check is quadratic! -const unsigned RuntimeMemoryCheckThreshold = 2; +const unsigned RuntimeMemoryCheckThreshold = 4; /// This is the highest vector width that we try to generate. const unsigned MaxVectorSize = 8; |