[Mlir-commits] [mlir] Fix crash in --test-tosa-op-availability when running under the threaded pass manager (PR #183022)
Arjun Bhamra
llvmlistbot at llvm.org
Tue Feb 24 06:26:54 PST 2026
================
@@ -26,9 +26,12 @@ struct PrintOpAvailability
StringRef getArgument() const final { return "test-tosa-op-availability"; }
StringRef getDescription() const final { return "Test Tosa op availability"; }
};
+static llvm::sys::SmartRWMutex<true> PrintMutex;
----------------
abhamra wrote:
On second thought, making it a module level pass removes the need for the threading flag anyway, we can simply sequentially iterate over the functions.
https://github.com/llvm/llvm-project/pull/183022
More information about the Mlir-commits
mailing list