LoopVectorizer: Increase the number of pointers that can be tested at runtime. If...
authorNadav Rotem <nrotem@apple.com>
Tue, 4 Dec 2012 23:25:24 +0000 (23:25 +0000)
committerNadav Rotem <nrotem@apple.com>
Tue, 4 Dec 2012 23:25:24 +0000 (23:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169334 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/LoopVectorize.cpp

index 20e073b1b94bc999ddfd1a9d11ac8c1535340fae..166ad33cac4e3377b45c64659be4ba73d401934b 100644 (file)
@@ -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;