From 23fbf7004b47bbc338856cdd4fc042be12734a18 Mon Sep 17 00:00:00 2001 From: Saoirse Stewart Date: Mon, 17 Jul 2023 12:26:02 +0100 Subject: Update to PassManager change - requires OperationName Change-Id: Ia21a3ceb95c02a1cdc77f53d1bf1b702d43974cb --- tosa_checker/tosa_checker.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tosa_checker/tosa_checker.cc b/tosa_checker/tosa_checker.cc index d42b826..61bcaef 100644 --- a/tosa_checker/tosa_checker.cc +++ b/tosa_checker/tosa_checker.cc @@ -207,6 +207,7 @@ mlir::OwningOpRef TOSAChecker::TFLiteFileToMLIR( void TOSAChecker::LegalizeTFLToTOSA(mlir::ModuleOp mlir_module) { mlir::PassManager pm(mlir_module.getContext(), + mlir_module.getOperationName(), mlir::OpPassManager::Nesting::Implicit); mlir::tosa::TOSATFLLegalizationPipelineOptions opts; mlir::tosa::createTFLtoTOSALegalizationPipeline(pm, opts); -- cgit v1.2.1