Skip to content

Commit 6f6fcc5

Browse files
authored
Revert "Revert "[flang][mlir] disable mlir threading"" (llvm#751)
2 parents 43e637c + f6156bc commit 6f6fcc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/IR/MLIRContext.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)