[llvm-commits] CVS: llvm/tools/opt/opt.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Feb 12 12:46:01 PST 2003
Changes in directory llvm/tools/opt:
opt.cpp updated: 1.75 -> 1.76
---
Log message:
Add new -no-verify option
---
Diffs of the changes:
Index: llvm/tools/opt/opt.cpp
diff -u llvm/tools/opt/opt.cpp:1.75 llvm/tools/opt/opt.cpp:1.76
--- llvm/tools/opt/opt.cpp:1.75 Wed Feb 12 12:43:33 2003
+++ llvm/tools/opt/opt.cpp Wed Feb 12 12:45:08 2003
@@ -51,6 +51,9 @@
NoOutput("no-output", cl::desc("Do not write result bytecode file"), cl::Hidden);
static cl::opt<bool>
+NoVerify("no-verify", cl::desc("Do not verify result module"), cl::Hidden);
+
+static cl::opt<bool>
Quiet("q", cl::desc("Don't print 'program modified' message"));
static cl::alias
@@ -128,7 +131,8 @@
}
// Check that the module is well formed on completion of optimization
- Passes.add(createVerifierPass());
+ if (!NoVerify)
+ Passes.add(createVerifierPass());
// Write bytecode out to disk or cout as the last step...
if (!NoOutput)
More information about the llvm-commits
mailing list