Pass `upgrade_legacy` cmd line flag to signaturedef importer in tf-mlir-translate.

PiperOrigin-RevId: 325528613
Change-Id: I43585f35c9a7038bd0c094d3ffb68df8103a3a9f
diff --git a/tensorflow/compiler/mlir/tf_mlir_translate_main.cc b/tensorflow/compiler/mlir/tf_mlir_translate_main.cc
index 8cfdfd0..caac8ea 100644
--- a/tensorflow/compiler/mlir/tf_mlir_translate_main.cc
+++ b/tensorflow/compiler/mlir/tf_mlir_translate_main.cc
@@ -121,7 +121,7 @@
     mlir::MLIRContext context;
 
     auto module_or = tensorflow::SavedModelSignatureDefsToMlirImport(
-        input_filename, tags, exported_names, &context);
+        input_filename, tags, exported_names, &context, upgrade_legacy);
     if (!module_or.status().ok()) return 1;
 
     module_or.ConsumeValueOrDie()->print(output->os());