[llvm-commits] [llvm] r56282 - /llvm/trunk/tools/opt/opt.cpp
Devang Patel
dpatel at apple.com
Wed Sep 17 09:01:42 PDT 2008
Author: dpatel
Date: Wed Sep 17 11:01:39 2008
New Revision: 56282
URL: http://llvm.org/viewvc/llvm-project?rev=56282&view=rev
Log:
Fix comments, help messages.
Modified:
llvm/trunk/tools/opt/opt.cpp
Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=56282&r1=56281&r2=56282&view=diff
==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Wed Sep 17 11:01:39 2008
@@ -99,11 +99,11 @@
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 @@
/// 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) {
More information about the llvm-commits
mailing list