File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ struct MLIRContextOptions {
78
78
static llvm::ManagedStatic<MLIRContextOptions> clOptions;
79
79
80
80
static bool isThreadingGloballyDisabled () {
81
- #if LLVM_ENABLE_THREADS != 0
81
+ #if MLIR_ENABLE_THREADS != 0
82
82
return clOptions.isConstructed () && clOptions->disableThreading ;
83
83
#else
84
84
return true ;
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-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
-
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
3
+ // XFAIL: *
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`
6
6
// CHECK: failed to add `builtin.module` with options `` to inner pipeline
You can’t perform that action at this time.
0 commit comments