[Mlir-commits] [mlir] Fix crash in --test-tosa-op-availability when running under the threaded pass manager (PR #183022)
Mehdi Amini
llvmlistbot at llvm.org
Tue Feb 24 02:14:26 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;
----------------
joker-eph wrote:
That does not seem like a desirable fix to me.
Since this is a test pass, why don't you just make it a module pass?
https://github.com/llvm/llvm-project/pull/183022
More information about the Mlir-commits
mailing list