From: Eric Christopher Date: Fri, 21 Aug 2009 23:30:30 +0000 (+0000) Subject: Make unit-at-a-time on by default to match the behavior of llvm-gcc. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c4769ba20432c19eff68d7802c9a836ada2424e6;p=oota-llvm.git 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 --- diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index e9c239aff11..40f3fb93074 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -107,7 +107,8 @@ OptLevelO3("O3", static cl::opt 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 DisableSimplifyLibCalls("disable-simplify-libcalls",