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 | 7293f0f344283cbd6f0409e5a674bab27e399507 (patch) | |
| tree | 98ede9a71177958f7178a6264c6b2d6f64250b28 | |
| parent | 6ab52a8018cfd5df77c39fade8ac5cc74aff6792 (diff) | |
| download | bcm5719-llvm-7293f0f344283cbd6f0409e5a674bab27e399507.tar.gz bcm5719-llvm-7293f0f344283cbd6f0409e5a674bab27e399507.zip | |
Fix comments, help messages.
llvm-svn: 56282
| -rw-r--r-- | llvm/tools/opt/opt.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp index 0421e3bffc2..ae076102d5b 100644 --- a/llvm/tools/opt/opt.cpp +++ b/llvm/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) { |

