Fix comments, help messages.
authorDevang Patel <dpatel@apple.com>
Wed, 17 Sep 2008 16:01:39 +0000 (16:01 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 17 Sep 2008 16:01:39 +0000 (16:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56282 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/opt.cpp

index 0421e3bffc21443f40df6aa45f481e33184c3c78..ae076102d5b6d737a7bf94bff1bfb41b61cee1f5 100644 (file)
@@ -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) {