Make unit-at-a-time on by default to match the behavior of llvm-gcc.
authorEric Christopher <echristo@apple.com>
Fri, 21 Aug 2009 23:30:30 +0000 (23:30 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 21 Aug 2009 23:30:30 +0000 (23:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79698 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/opt.cpp

index e9c239aff115d1e04e70b28f820496b59b76b8f0..40f3fb930742266f2b9ac3550e3d77599c3415e1 100644 (file)
@@ -107,7 +107,8 @@ OptLevelO3("O3",
 
 static cl::opt<bool>
 UnitAtATime("funit-at-a-time",
-            cl::desc("Enable IPO. This is same as llvm-gcc's -funit-at-a-time"));
+            cl::desc("Enable IPO. This is same as llvm-gcc's -funit-at-a-time"),
+           cl::init(true));
 
 static cl::opt<bool>
 DisableSimplifyLibCalls("disable-simplify-libcalls",