summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2014-09-04 13:23:08 +0000
committerJames Molloy <james.molloy@arm.com>2014-09-04 13:23:08 +0000
commit6b95d8ed36d4587ce6013f89a09f6f067c4d8881 (patch)
treed1cb1e1ae298f09b0a2d0f65720fc90d30ee0d8b /llvm/lib/Transforms
parent169eeb913d31c737ad53fb3966170c6dc977ae71 (diff)
downloadbcm5719-llvm-6b95d8ed36d4587ce6013f89a09f6f067c4d8881.tar.gz
bcm5719-llvm-6b95d8ed36d4587ce6013f89a09f6f067c4d8881.zip
Enable noalias metadata by default and swap the order of the SLP and Loop vectorizers by default.
After some time maturing, hopefully the flags themselves will be removed. llvm-svn: 217144
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/PassManagerBuilder.cpp2
-rw-r--r--llvm/lib/Transforms/Utils/InlineFunction.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
index 69189f389b7..75714713172 100644
--- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -62,7 +62,7 @@ static cl::opt<bool> RunLoadCombine("combine-loads", cl::init(false),
static cl::opt<bool>
RunSLPAfterLoopVectorization("run-slp-after-loop-vectorization",
- cl::init(false), cl::Hidden,
+ cl::init(true), cl::Hidden,
cl::desc("Run the SLP vectorizer (and BB vectorizer) after the Loop "
"vectorizer instead of before"));
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index f2930dcd61d..935d6b813e6 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -42,7 +42,7 @@
using namespace llvm;
static cl::opt<bool>
-EnableNoAliasConversion("enable-noalias-to-md-conversion", cl::init(false),
+EnableNoAliasConversion("enable-noalias-to-md-conversion", cl::init(true),
cl::Hidden,
cl::desc("Convert noalias attributes to metadata during inlining."));
OpenPOWER on IntegriCloud