diff options
author | Saoirse Stewart <saoirse.stewart@arm.com> | 2023-07-17 12:26:02 +0100 |
---|---|---|
committer | Saoirse Stewart <saoirse.stewart@arm.com> | 2023-07-31 12:21:32 +0100 |
commit | 23fbf7004b47bbc338856cdd4fc042be12734a18 (patch) | |
tree | 89ed441728aa90c013e2e67c95413100f1457b58 | |
parent | f0fb6d473c7a46264e19649e0c909b4b44f11e26 (diff) | |
download | tosa_checker-23fbf7004b47bbc338856cdd4fc042be12734a18.tar.gz |
Update to PassManager change - requires OperationName
Change-Id: Ia21a3ceb95c02a1cdc77f53d1bf1b702d43974cb
-rw-r--r-- | tosa_checker/tosa_checker.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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<mlir::ModuleOp> 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); |