diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index bf7823ed279..2e84d7b349d 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -1090,7 +1090,7 @@ public: // Make sure we initialize the value with the default constructor for the // type. - opt_storage() : Value(DataType()) {} + opt_storage() : Value(DataType()), Default(DataType()) {} template void setValue(const T &V, bool initial = false) { diff --git a/lib/Transforms/IPO/PassManagerBuilder.cpp b/lib/Transforms/IPO/PassManagerBuilder.cpp index 8c0ab78ba4b..47b2b51899c 100644 --- a/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -29,7 +29,7 @@ using namespace llvm; static cl::opt -RunLoopVectorization("vectorize-loops", cl::init(false), +RunLoopVectorization("vectorize-loops", cl::desc("Run the Loop vectorization passes")); static cl::opt