Enable the new SROA pass by default.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 24 Sep 2012 01:10:25 +0000 (01:10 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 24 Sep 2012 01:10:25 +0000 (01:10 +0000)
Queue the fallout. ;]

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

lib/Transforms/IPO/PassManagerBuilder.cpp

index c81b333813e6c3326ff5a599f326adfe7cbbc292..105b2886d92ace0d006242345380f6efb1f7e622 100644 (file)
@@ -41,7 +41,7 @@ UseGVNAfterVectorization("use-gvn-after-vectorization",
   cl::desc("Run GVN instead of Early CSE after vectorization passes"));
 
 static cl::opt<bool> UseNewSROA("use-new-sroa",
-  cl::init(false), cl::Hidden,
+  cl::init(true), cl::Hidden,
   cl::desc("Enable the new, experimental SROA pass"));
 
 PassManagerBuilder::PassManagerBuilder() {