[llvm] r199015 - LoopVectorizer: Enable strided memory accesses versioning per default
Arnold Schwaighofer
aschwaighofer at apple.com
Sat Jan 11 12:40:35 PST 2014
Author: arnolds
Date: Sat Jan 11 14:40:34 2014
New Revision: 199015
URL: http://llvm.org/viewvc/llvm-project?rev=199015&view=rev
Log:
LoopVectorizer: Enable strided memory accesses versioning per default
I saw no compile or execution time regressions on x86_64 -mavx -O3.
radar://13075509
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=199015&r1=199014&r2=199015&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Sat Jan 11 14:40:34 2014
@@ -126,7 +126,7 @@ TinyTripCountVectorThreshold("vectorizer
/// } else
/// ...
static cl::opt<bool> EnableMemAccessVersioning(
- "enable-mem-access-versioning", cl::init(false), cl::Hidden,
+ "enable-mem-access-versioning", cl::init(true), cl::Hidden,
cl::desc("Enable symblic stride memory access versioning"));
/// We don't unroll loops with a known constant trip count below this number.
More information about the llvm-commits
mailing list