summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitc8f625b1eb4c00cd4baf854e7d5382fa792be4da (patch)
tree703785b15422e925c3f6b2c52a57091a1ebde833 /llvm
parent67dfb1de236dada2cc019b665203d216e4441b43 (diff)
downloadbcm5719-llvm-c8f625b1eb4c00cd4baf854e7d5382fa792be4da.tar.gz
bcm5719-llvm-c8f625b1eb4c00cd4baf854e7d5382fa792be4da.zip
Make unit-at-a-time on by default to match the behavior of llvm-gcc.
llvm-svn: 79698
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/opt/opt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index e9c239aff11..40f3fb93074 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/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",
OpenPOWER on IntegriCloud