aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-08-21 23:30:30 +0000
committerEric Christopher <echristo@apple.com>2009-08-21 23:30:30 +0000
commit8ad4add392047eb9d3e9e531ca4f171c0eb8e344 (patch)
treea524c0f8cf2342c23d2084daf8b689e7bc9380dc /tools
parent79a7226835efbad3de9f5b51c5ee2c7b7aa03460 (diff)
downloadexternal_llvm-8ad4add392047eb9d3e9e531ca4f171c0eb8e344.zip
external_llvm-8ad4add392047eb9d3e9e531ca4f171c0eb8e344.tar.gz
external_llvm-8ad4add392047eb9d3e9e531ca4f171c0eb8e344.tar.bz2
Make unit-at-a-time on by default to match the behavior of llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/opt/opt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index e9c239a..40f3fb9 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -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",