Enable noalias metadata by default and swap the order of the SLP and Loop vectorizers...
authorJames Molloy <james.molloy@arm.com>
Thu, 4 Sep 2014 13:23:08 +0000 (13:23 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 4 Sep 2014 13:23:08 +0000 (13:23 +0000)
After some time maturing, hopefully the flags themselves will be removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217144 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Utils/InlineFunction.cpp

index 69189f389b7ed01818b17c766a2793001b959d40..75714713172d4ce2f655a504f263ef331b72df3f 100644 (file)
@@ -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"));
 
index f2930dcd61dadba5af305dc0d30cb5675e4bde90..935d6b813e6fa96ed57df629fd2f3ae952667c1e 100644 (file)
@@ -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."));