From: Devang Patel Date: Wed, 17 Sep 2008 16:01:39 +0000 (+0000) Subject: Fix comments, help messages. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=442b1aa94b4544555aceb9a5d5f2a72f2a9132c6;p=oota-llvm.git Fix comments, help messages. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56282 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 0421e3bffc2..ae076102d5b 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -99,11 +99,11 @@ OptLevelO3("O3", static cl::opt UnitAtATime("funit-at-a-time", - cl::desc("Enable IPO. This is same is llvm-gcc's -funit-at-a-time")); + cl::desc("Enable IPO. This is same as llvm-gcc's -funit-at-a-time")); static cl::opt DisableSimplifyLibCalls("disable-simplify-libcalls", - cl::desc("Disable simplify libcalls")); + cl::desc("Disable simplify-libcalls")); static cl::opt Quiet("q", cl::desc("Obsolete option"), cl::Hidden); @@ -263,8 +263,6 @@ inline void addPass(PassManager &PM, Pass *P) { /// duplicates llvm-gcc behaviour. /// /// OptLevel - Optimization Level -/// PruneEH - Add PruneEHPass, if set. -/// UnrollLoop - Unroll loops, if set. void AddOptimizationPasses(PassManager &MPM, FunctionPassManager &FPM, unsigned OptLevel) {