aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tosa_checker/tosa_checker.cc1
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);