[Mlir-commits] [mlir] [mlir][tosa] Converted TosaAvailability pass to ModuleOp from FuncOp, fixes crash in threaded pass manager (PR #183063)
Luke Hutton
llvmlistbot at llvm.org
Wed Feb 25 05:25:39 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>> {
----------------
lhutton1 wrote:
I agree this is difficult to write a test for. Perhaps we can remove `-mlir-disable-threading` from `availability.mlir` in this PR, as you mentioned in the PR message?
https://github.com/llvm/llvm-project/pull/183063
More information about the Mlir-commits
mailing list