File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,13 @@ static cl::opt<bool>
86
86
cl::desc (" Run the verifier after each transformation pass" ),
87
87
cl::init(true ), cl::cat(mainCategory));
88
88
89
+ static cl::opt<bool > printSolverOutput (
90
+ " print-solver-output" ,
91
+ cl::desc (" Print the output (counterexample or proof) produced by the "
92
+ " solver on each invocation and the assertion set that they "
93
+ " prove/disprove." ),
94
+ cl::init(false ), cl::cat(mainCategory));
95
+
89
96
static cl::opt<bool >
90
97
verbosePassExecutions (" verbose-pass-executions" ,
91
98
cl::desc (" Log executions of toplevel module passes" ),
@@ -173,6 +180,7 @@ static LogicalResult executeBMC(MLIRContext &context) {
173
180
174
181
if (outputFormat != OutputMLIR && outputFormat != OutputSMTLIB) {
175
182
LowerSMTToZ3LLVMOptions options;
183
+ options.debug = printSolverOutput;
176
184
pm.addPass (createLowerSMTToZ3LLVM (options));
177
185
pm.addPass (createCSEPass ());
178
186
pm.addPass (createSimpleCanonicalizerPass ());
You can’t perform that action at this time.
0 commit comments