File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ struct MLIRContextOptions {
59
59
llvm::cl::opt<bool > disableThreading{
60
60
" mlir-disable-threading" ,
61
61
llvm::cl::desc (" Disable multi-threading within MLIR, overrides any "
62
- " further call to MLIRContext::enableMultiThreading()" )};
62
+ " further call to MLIRContext::enableMultiThreading()" ),
63
+ llvm::cl::init (true )};
63
64
64
65
llvm::cl::opt<bool > printOpOnDiagnostic{
65
66
" mlir-print-op-on-diagnostic" ,
Original file line number Diff line number Diff line change 1
1
// RUN: not mlir-opt %s -pass-pipeline='builtin.module(builtin.module(test-module-pass{test-option=a}))' 2>&1 | FileCheck %s
2
- // RUN: not mlir-opt %s -mlir-print-ir-module-scope -mlir-print-ir-before=cse 2>&1 | FileCheck -check-prefix=PRINT_MODULE_IR_WITH_MULTITHREAD %s
2
+ // RUN: not mlir-opt %s -mlir-disable-threading=0 -mlir- print-ir-module-scope -mlir-print-ir-before=cse 2>&1 | FileCheck -check-prefix=PRINT_MODULE_IR_WITH_MULTITHREAD %s
3
3
4
4
// CHECK: <Pass-Options-Parser>: no such option test-option
5
5
// CHECK: failed to add `test-module-pass` with options `test-option=a`
You can’t perform that action at this time.
0 commit comments