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 | 442b1aa94b4544555aceb9a5d5f2a72f2a9132c6 (patch) | |
tree | d717b2ac2429cda7b88df229e05c74520a682428 /tools/opt | |
parent | 59932584a812685b16ad6a53a023b2bb3fc21819 (diff) | |
download | external_llvm-442b1aa94b4544555aceb9a5d5f2a72f2a9132c6.zip external_llvm-442b1aa94b4544555aceb9a5d5f2a72f2a9132c6.tar.gz external_llvm-442b1aa94b4544555aceb9a5d5f2a72f2a9132c6.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/opt')
-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) { |