[Mlir-commits] [mlir] [TOSA] Add StatefulOps to TOSA Dialect (PR #66843)

Kunwar Grover llvmlistbot at llvm.org
Thu Oct 19 10:07:28 PDT 2023


================
@@ -90,7 +90,6 @@ void mlir::tosa::addTosaToLinalgPasses(
   pm.addNestedPass<func::FuncOp>(tosa::createTosaLayerwiseConstantFoldPass(
       {options.aggressiveReduceConstant}));
   pm.addNestedPass<func::FuncOp>(tosa::createTosaMakeBroadcastablePass());
-  pm.addNestedPass<func::FuncOp>(
-      tosa::createTosaValidationPass(validationOptions));
+  pm.addNestedPass<func::FuncOp>(tosa::createTosaValidation(validationOptions));
----------------
Groverkss wrote:

TosaValidation pass seems to have been updated to work on mlir::ModuleOp instead of func::FuncOp, but this addition still uses func::FuncOp. Can this be updated?

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


More information about the Mlir-commits mailing list