[Mlir-commits] [mlir] [mlir][tosa] Converted TosaAvailability pass to ModuleOp from FuncOp, fixes crash in threaded pass manager (PR #183063)

Longsheng Mou llvmlistbot at llvm.org
Tue Feb 24 19:46:46 PST 2026


================
@@ -19,7 +19,7 @@ using namespace mlir;
 namespace {
 /// A pass for testing Tosa op availability.
 struct PrintOpAvailability
-    : public PassWrapper<PrintOpAvailability, OperationPass<func::FuncOp>> {
+    : public PassWrapper<PrintOpAvailability, OperationPass<ModuleOp>> {
----------------
CoTinker wrote:

Could you please add a test case.

https://github.com/llvm/llvm-project/pull/183063


More information about the Mlir-commits mailing list