[llvm-commits] [llvm] r169334 - /llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Nadav Rotem
nrotem at apple.com
Tue Dec 4 15:25:24 PST 2012
Author: nadav
Date: Tue Dec 4 17:25:24 2012
New Revision: 169334
URL: http://llvm.org/viewvc/llvm-project?rev=169334&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=169334&r1=169333&r2=169334&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Tue Dec 4 17:25:24 2012
@@ -90,7 +90,7 @@
/// 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;
More information about the llvm-commits
mailing list