From 4b9d28bd530fd227a5db4da094d5a60577e1d1ac Mon Sep 17 00:00:00 2001 From: Stella Laurenzo Date: Fri, 18 Jun 2021 21:42:56 +0000 Subject: [PATCH] Partial rollback: Disable MLIR verifier parallelism. Deadlocks have been found in several downstream projects as noted on the original patch: https://reviews.llvm.org/D104207 Disabling pending full root cause analysis. Differential Revision: https://reviews.llvm.org/D104570 --- mlir/lib/IR/Verifier.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mlir/lib/IR/Verifier.cpp b/mlir/lib/IR/Verifier.cpp index 5f10d97..d1d9ffb 100644 --- a/mlir/lib/IR/Verifier.cpp +++ b/mlir/lib/IR/Verifier.cpp @@ -44,7 +44,9 @@ namespace { class OperationVerifier { public: explicit OperationVerifier(MLIRContext *context) - : parallelismEnabled(context->isMultithreadingEnabled()) {} + // TODO: Re-enable parallelism once deadlocks found in D104207 are + // resolved. + : parallelismEnabled(false) {} /// Verify the given operation. LogicalResult verifyOpAndDominance(Operation &op); -- 2.7.4