diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-17 16:01:39 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-17 16:01:39 +0000 |
commit | 8dba36c3339570667055abe4aab0d0ad89c07e16 (patch) | |
tree | d717b2ac2429cda7b88df229e05c74520a682428 /tools | |
parent | f2d8a25c86ba97b406b2e190bbb504fe1e4680f6 (diff) | |
download | external_llvm-8dba36c3339570667055abe4aab0d0ad89c07e16.zip external_llvm-8dba36c3339570667055abe4aab0d0ad89c07e16.tar.gz external_llvm-8dba36c3339570667055abe4aab0d0ad89c07e16.tar.bz2 |
Fix comments, help messages.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/opt/opt.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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<bool> 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<bool> DisableSimplifyLibCalls("disable-simplify-libcalls", - cl::desc("Disable simplify libcalls")); + cl::desc("Disable simplify-libcalls")); static cl::opt<bool> 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) { |