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 | 46c5f79789947b75ff3b0cc107f133fb0c5ffb5e (patch) | |
| tree | 184fb29480aad519ed988c200ad0eefcde7db92f /lib/Transforms/Vectorize | |
| parent | dc5eff5b98aba0fe0e8104dfa7429c9a759684c2 (diff) | |
| download | external_llvm-46c5f79789947b75ff3b0cc107f133fb0c5ffb5e.zip external_llvm-46c5f79789947b75ff3b0cc107f133fb0c5ffb5e.tar.gz external_llvm-46c5f79789947b75ff3b0cc107f133fb0c5ffb5e.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize')
| -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 20e073b..166ad33 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/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; |
