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 {
5959 llvm::cl::opt<bool > disableThreading{
6060 " mlir-disable-threading" ,
6161 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 )};
6364
6465 llvm::cl::opt<bool > printOpOnDiagnostic{
6566 " mlir-print-op-on-diagnostic" ,
Original file line number Diff line number Diff line change 11// 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
33// XFAIL: *
44// CHECK: <Pass-Options-Parser>: no such option test-option
55// CHECK: failed to add `test-module-pass` with options `test-option=a`
You can’t perform that action at this time.
0 commit comments