From 442b1aa94b4544555aceb9a5d5f2a72f2a9132c6 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 17 Sep 2008 16:01:39 +0000 Subject: Fix comments, help messages. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56282 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/opt/opt.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools/opt/opt.cpp') diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 0421e3b..ae07610 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) { -- cgit v1.1