From 3099f3a664455381a4ee872044682c13ca89b2cc Mon Sep 17 00:00:00 2001 From: Andy Ly Date: Wed, 10 Jun 2020 12:49:25 -0700 Subject: [PATCH] Remove --dump-input=fail flag passed into FileCheck in FileCheck tests. FileCheck dumps the input by default now. PiperOrigin-RevId: 315748032 Change-Id: I83a9b7b68832034dff6058056ea2e467a9a49995 --- tensorflow/compiler/mlir/lite/tests/inlining.mlir | 2 +- .../tensorflow/tests/annotate-parameter-replication.mlir | 2 +- .../compiler/mlir/tensorflow/tests/breakup-islands.mlir | 4 ++-- .../mlir/tensorflow/tests/decompose_resource_ops.mlir | 2 +- .../compiler/mlir/tensorflow/tests/device_canonicalize.mlir | 2 +- tensorflow/compiler/mlir/tensorflow/tests/empty-main.mlir | 2 +- .../mlir/tensorflow/tests/executor_canonicalize.mlir | 2 +- .../mlir/tensorflow/tests/executor_island_coarsening.mlir | 2 +- .../tensorflow/tests/executor_island_materialize_const.mlir | 2 +- .../executor_tpuv1_island_coarsening.mlir | 2 +- .../tests/executor_tpuv1_island_coarsening/while_op.mlir | 2 +- .../executor_tpuv1_inline_tpu_island.mlir | 2 +- .../tests/executor_tpuv1_island_inlining/while_op.mlir | 2 +- .../tests/executor_tpuv1_outline_island/case_op.mlir | 2 +- .../executor_tpuv1_outline_tpu_island.mlir | 2 +- .../tests/executor_tpuv1_outline_island/while_op.mlir | 2 +- tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir | 2 +- .../compiler/mlir/tensorflow/tests/function_visibility.mlir | 4 ++-- tensorflow/compiler/mlir/tensorflow/tests/gpu_fusion.mlir | 2 +- .../compiler/mlir/tensorflow/tests/graph_pruning.mlir | 2 +- .../mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt | 2 +- .../tensorflow/tests/graphdef2mlir/device-arg-attr.pbtxt | 2 +- .../mlir/tensorflow/tests/graphdef2mlir/feed-as-fetch.pbtxt | 2 +- .../tensorflow/tests/graphdef2mlir/feed-control-dep.pbtxt | 2 +- .../tests/graphdef2mlir/graph-as-function-control-ret.pbtxt | 6 +++--- .../graphdef2mlir/graph-as-function-retval-of-arg.pbtxt | 2 +- .../tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt | 2 +- .../graph-function-control-ret-diff-island.pbtxt | 2 +- .../graph-function-control-ret-same-island.pbtxt | 2 +- .../tensorflow/tests/graphdef2mlir/multi-output-feeds.pbtxt | 6 +++--- .../mlir/tensorflow/tests/graphdef2mlir/target.pbtxt | 6 +++--- tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir | 2 +- .../mlir/tensorflow/tests/launch_to_device_attribute.mlir | 2 +- .../mlir/tensorflow/tests/materialize_passthrough_op.mlir | 2 +- .../tensorflow/tests/mlir2graphdef/device-arg-attr.mlir | 2 +- .../tests/mlir2graphdef/function-control-ret.mlir | 2 +- .../tensorflow/tests/mlir2graphdef/graph-as-function.mlir | 2 +- .../mlir/tensorflow/tests/mlir2graphdef/invalid_input.mlir | 2 +- .../tensorflow/tests/optimize-arg-operand-constraint.mlir | 2 +- .../mlir/tensorflow/tests/parallel_execute_to_islands.mlir | 2 +- .../tensorflow/tests/readonly_references_to_resources.mlir | 2 +- .../tensorflow/tests/replicate_invariant_op_hoisting.mlir | 2 +- .../compiler/mlir/tensorflow/tests/replicate_to_island.mlir | 2 +- .../mlir/tensorflow/tests/resource-device-inference.mlir | 2 +- .../compiler/mlir/tensorflow/tests/shape_inference.mlir | 4 ++-- .../mlir/tensorflow/tests/side-effect-analysis-test.mlir | 2 +- .../compiler/mlir/tensorflow/tests/sink_constant.mlir | 2 +- .../mlir/tensorflow/tests/tf-functional-to-executor.mlir | 2 +- tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir | 2 +- .../compiler/mlir/tensorflow/tests/tf_device_ops.mlir | 2 +- .../compiler/mlir/tensorflow/tests/tf_executor_ops.mlir | 2 +- .../tests/tf_executor_ops_location_roundtrip.mlir | 2 +- .../tests/tf_saved_model_delete_unused_funcs.mlir | 2 +- .../tests/tf_saved_model_freeze_global_tensors.mlir | 2 +- .../compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir | 2 +- .../tests/tf_saved_model_optimize_global_tensors.mlir | 2 +- ...saved_model_optimize_global_tensors_interprocedural.mlir | 2 +- .../mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir | 2 +- .../tensorflow/tests/tpu-merge-variables-with-execute.mlir | 2 +- .../tensorflow/tests/tpu-variable-runtime-reformatting.mlir | 2 +- .../mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir | 2 +- .../mlir/tensorflow/tests/tpu_cluster_formation.mlir | 2 +- .../mlir/tensorflow/tests/tpu_dynamic_padding_mapper.mlir | 2 +- tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir | 2 +- .../mlir/tensorflow/tests/tpu_sharding_identification.mlir | 2 +- .../mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir | 2 +- .../mlir/xla/tests/chlo_infer_shape_type_methods.mlir | 2 +- .../mlir/xla/tests/chlo_legalize_to_hlo_broadcasts.mlir | 2 +- .../compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/ops.mlir | 2 +- .../mlir/xla/tests/hlo_to_lhlo_with_xla/passthrough.mlir | 2 +- tensorflow/compiler/mlir/xla/tests/inlining.mlir | 2 +- .../compiler/mlir/xla/tests/lhlo-legalize-to-gpu.mlir | 2 +- .../compiler/mlir/xla/tests/materialize-broadcasts.mlir | 2 +- .../mlir/xla/tests/sink-constants-to-control-flow.mlir | 2 +- .../mlir/xla/tests/translate/dynamic_parameter_binding.mlir | 4 ++-- tensorflow/compiler/mlir/xla/tests/transpose.mlir | 2 +- tensorflow/compiler/mlir/xla/tests/unfuse_batch_norm.mlir | 2 +- .../compiler/mlir/xla/tests/xla-transform-unranked-hlo.mlir | 2 +- 78 files changed, 88 insertions(+), 88 deletions(-) diff --git a/tensorflow/compiler/mlir/lite/tests/inlining.mlir b/tensorflow/compiler/mlir/lite/tests/inlining.mlir index 8f19e9983b5..c494b8cf1d3 100644 --- a/tensorflow/compiler/mlir/lite/tests/inlining.mlir +++ b/tensorflow/compiler/mlir/lite/tests/inlining.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -inline="disable-simplify" | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -inline="disable-simplify" | FileCheck %s // Inline a function that contains only tfl ops. func @func_with_tfl_ops(%arg0 : tensor<2xi32>) -> tensor<2xi32> { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/annotate-parameter-replication.mlir b/tensorflow/compiler/mlir/tensorflow/tests/annotate-parameter-replication.mlir index 38105986002..e0e777728ea 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/annotate-parameter-replication.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/annotate-parameter-replication.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -tf-annotate-parameter-replication | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -tf-annotate-parameter-replication | FileCheck %s // Tests that an operand from outside the replicated region is annotated. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir b/tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir index 290da5a6135..bdfe6f2ce07 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir @@ -1,5 +1,5 @@ -// RUN: tf-opt -tf-executor-break-up-islands %s | FileCheck %s --dump-input=fail -// RUN: tf-opt -tf-executor-break-up-islands -tf-executor-break-up-islands %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -tf-executor-break-up-islands %s | FileCheck %s +// RUN: tf-opt -tf-executor-break-up-islands -tf-executor-break-up-islands %s | FileCheck %s // All tests also test for idempotence. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir b/tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir index 75409e3db6a..b7dcb825660 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -tf-device-decompose-resource-ops | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -tf-device-decompose-resource-ops | FileCheck %s // Tests that resources with subtypes are used if present. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/device_canonicalize.mlir b/tensorflow/compiler/mlir/tensorflow/tests/device_canonicalize.mlir index b3b5ee20454..5ee39609885 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/device_canonicalize.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/device_canonicalize.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -pass-pipeline='func(canonicalize)' | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -pass-pipeline='func(canonicalize)' | FileCheck %s // Test empty launch with no results is folded away. // CHECK-LABEL: func @empty_launch_no_results diff --git a/tensorflow/compiler/mlir/tensorflow/tests/empty-main.mlir b/tensorflow/compiler/mlir/tensorflow/tests/empty-main.mlir index f6ad4ba6460..e567cd92e1a 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/empty-main.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/empty-main.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-executor-graph-pruning %s | FileCheck %s --check-prefix=CONTROL --dump-input=fail +// RUN: tf-opt -tf-executor-graph-pruning %s | FileCheck %s --check-prefix=CONTROL // CONTROL-LABEL: func @main // CONTROL-NEXT: return diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir index 029a1e76a92..8c7e8124d41 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -pass-pipeline='func(canonicalize)' | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -pass-pipeline='func(canonicalize)' | FileCheck %s // Test single graph with no outputs and one island is folded away. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_island_coarsening.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_island_coarsening.mlir index 509a496f20b..bec48181b3b 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_island_coarsening.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_island_coarsening.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-island-coarsening | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-island-coarsening | FileCheck %s // Test that islands linked by a control dependency are merged. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_island_materialize_const.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_island_materialize_const.mlir index 277ec40d6ee..fb698653aab 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_island_materialize_const.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_island_materialize_const.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -pass-pipeline='func(canonicalize)' | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -pass-pipeline='func(canonicalize)' | FileCheck %s // Test that a constant stays inside an island after canonicalization diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/executor_tpuv1_island_coarsening.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/executor_tpuv1_island_coarsening.mlir index 0a557231093..a850a9a5691 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/executor_tpuv1_island_coarsening.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/executor_tpuv1_island_coarsening.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-tpu-v1-island-coarsening | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-tpu-v1-island-coarsening | FileCheck %s // Test that islands without the attribute are not merged. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/while_op.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/while_op.mlir index 674bc67c3a3..38d7e3d4b18 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/while_op.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/while_op.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-tpu-v1-island-coarsening | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-tpu-v1-island-coarsening | FileCheck %s // Test that islands with a function call are merged if the call is to a function diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/executor_tpuv1_inline_tpu_island.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/executor_tpuv1_inline_tpu_island.mlir index 08c8c66eb42..f45f0a435c3 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/executor_tpuv1_inline_tpu_island.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/executor_tpuv1_inline_tpu_island.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-tpu-v1-island-inlining | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-tpu-v1-island-inlining | FileCheck %s // Check that the nested module is inlined and erased. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/while_op.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/while_op.mlir index 5385a334680..8c174a7cfaf 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/while_op.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/while_op.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-tpu-v1-island-inlining | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-tpu-v1-island-inlining | FileCheck %s // CHECK-NOT: tf.PartitionedCall // CHECK-NOT: module @_tpu_v1_compat_outlined diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/case_op.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/case_op.mlir index de6f9b42ba4..7d761b5d690 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/case_op.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/case_op.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s // CHECK: func @control_input // CHECK-NOT: func @ diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir index a62d2bb399d..6bc4756f471 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s // CHECK-LABEL: @func0 diff --git a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/while_op.mlir b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/while_op.mlir index 72aef7ae33c..ffb1c1467e5 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/while_op.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/while_op.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s // CHECK: func @control_input // CHECK-NOT: func @ diff --git a/tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir b/tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir index de17778c105..7c9bddc717d 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s | tf-opt | FileCheck %s --dump-input=fail +// RUN: tf-opt %s | tf-opt | FileCheck %s // CHECK-LABEL: func @func_attr // CHECK-SAME: tf._implements = #tf.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random"}> diff --git a/tensorflow/compiler/mlir/tensorflow/tests/function_visibility.mlir b/tensorflow/compiler/mlir/tensorflow/tests/function_visibility.mlir index 74e747a1235..55af3cffde3 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/function_visibility.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/function_visibility.mlir @@ -1,5 +1,5 @@ -// RUN: tf-opt -tf-saved-model-mark-func-visibility -split-input-file %s | FileCheck --check-prefix=SAVEDMODEL %s --dump-input=fail -// RUN: tf-opt -tf-mark-func-visibility -split-input-file -verify-diagnostics %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -tf-saved-model-mark-func-visibility -split-input-file %s | FileCheck --check-prefix=SAVEDMODEL %s +// RUN: tf-opt -tf-mark-func-visibility -split-input-file -verify-diagnostics %s | FileCheck %s module attributes {tf_saved_model.semantics} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/gpu_fusion.mlir b/tensorflow/compiler/mlir/tensorflow/tests/gpu_fusion.mlir index 6e507f06ef4..2a21a7e9f21 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/gpu_fusion.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/gpu_fusion.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-gpu-op-fusion | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-gpu-op-fusion | FileCheck %s // Test the op-fusion pass specific to the GPU target. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graph_pruning.mlir b/tensorflow/compiler/mlir/tensorflow/tests/graph_pruning.mlir index 184c104776f..c52488b4afc 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graph_pruning.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/graph_pruning.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-executor-graph-pruning | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-executor-graph-pruning | FileCheck %s // Two islands chained by data-flow contributing to the graph return are // preserved. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt index 50973ea899c..0d44948b242 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s --mlir-print-debuginfo --print-after-all -tf-input-arrays=arg -tf-input-data-types=DT_INT32 -tf-input-shapes=8 -tf-output-arrays=arg -o - | FileCheck %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s --mlir-print-debuginfo --print-after-all -tf-input-arrays=arg -tf-input-data-types=DT_INT32 -tf-input-shapes=8 -tf-output-arrays=arg -o - | FileCheck %s node { name: "arg" diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/device-arg-attr.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/device-arg-attr.pbtxt index 3c5be84124e..bc15182b34b 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/device-arg-attr.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/device-arg-attr.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s # Verify arg devices are added as arg attributes. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-as-fetch.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-as-fetch.pbtxt index b639d316dfc..51bc8bd0fba 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-as-fetch.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-as-fetch.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_INT32 -tf-input-shapes=8 -tf-output-arrays=input -o - | FileCheck %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_INT32 -tf-input-shapes=8 -tf-output-arrays=input -o - | FileCheck %s node { name: "input" diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-control-dep.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-control-dep.pbtxt index fb2d73779b2..de66ce20837 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-control-dep.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-control-dep.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_FLOAT -tf-output-arrays=output_node -o - | FileCheck %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_FLOAT -tf-output-arrays=output_node -o - | FileCheck %s node { name: "input" diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-control-ret.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-control-ret.pbtxt index 92b85a7b9c8..abd7c5a0004 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-control-ret.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-control-ret.pbtxt @@ -1,6 +1,6 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -tf-control-output-arrays=var1_add,var2_add -o - | FileCheck %s --dump-input=fail -# RUN: not tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -tf-control-output-arrays=var1_add,var1_add -o - 2>&1 | FileCheck %s --check-prefix=UNIQUE --dump-input=fail -# RUN: not tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -tf-control-output-arrays=var3_add -o - 2>&1 | FileCheck %s --check-prefix=MISSING --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -tf-control-output-arrays=var1_add,var2_add -o - | FileCheck %s +# RUN: not tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -tf-control-output-arrays=var1_add,var1_add -o - 2>&1 | FileCheck %s --check-prefix=UNIQUE +# RUN: not tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -tf-control-output-arrays=var3_add -o - 2>&1 | FileCheck %s --check-prefix=MISSING node { name: "arg0" diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-retval-of-arg.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-retval-of-arg.pbtxt index 82a3ba97d71..e13161c920a 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-retval-of-arg.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-retval-of-arg.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s node { name: "arg" diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt index 03640e24aac..9ccf06e9048 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s # Verify main graph was converted to a function, args/rets are mapped correctly, # and ops in the main graph are retained. In addition, check if subsequent diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-diff-island.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-diff-island.pbtxt index e85f1078d43..310d7995a2c 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-diff-island.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-diff-island.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s # Verify for functions with control return values, the island with only a # consumed control return value has its control output added to the GraphOps diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-same-island.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-same-island.pbtxt index ab97f6f9c32..43f3c900e9e 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-same-island.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-same-island.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s # Verify for functions with control return values, the island with a consumed # data output and a consumed control has both its outputs added to the GraphOps diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multi-output-feeds.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multi-output-feeds.pbtxt index 1ea045b9f77..45b222f9b8f 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multi-output-feeds.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multi-output-feeds.pbtxt @@ -1,6 +1,6 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=z:1,z:2 -tf-input-shapes=':' -tf-output-arrays=z:2,z:1,a:0 -o - | FileCheck %s --dump-input=fail -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-input-arrays=z:1,z:2 -tf-input-shapes=':' -tf-output-arrays=z:2,z:1,a:0 -o - | FileCheck --check-prefix=PRUNE %s --dump-input=fail -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-input-arrays=z:1,z:2 -tf-input-shapes=':' -tf-output-arrays=z:0,a:0 -o - | FileCheck --check-prefix=PRESERVE %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=z:1,z:2 -tf-input-shapes=':' -tf-output-arrays=z:2,z:1,a:0 -o - | FileCheck %s +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-input-arrays=z:1,z:2 -tf-input-shapes=':' -tf-output-arrays=z:2,z:1,a:0 -o - | FileCheck --check-prefix=PRUNE %s +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-input-arrays=z:1,z:2 -tf-input-shapes=':' -tf-output-arrays=z:0,a:0 -o - | FileCheck --check-prefix=PRESERVE %s # Generated in Python via # ``` diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/target.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/target.pbtxt index 9f37aeed1d6..448ec24dc48 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/target.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/target.pbtxt @@ -1,6 +1,6 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-control-output-arrays=AssignAdd -o - | FileCheck %s --dump-input=fail -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-control-output-arrays=AssignAdd -o - | FileCheck --check-prefix=PRUNE %s --dump-input=fail -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-control-output-arrays=Variable/Assign,AssignAdd -o - | FileCheck --check-prefix=PRESERVE %s --dump-input=fail +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-control-output-arrays=AssignAdd -o - | FileCheck %s +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-control-output-arrays=AssignAdd -o - | FileCheck --check-prefix=PRUNE %s +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-control-output-arrays=Variable/Assign,AssignAdd -o - | FileCheck --check-prefix=PRESERVE %s # Generated in Python via # ``` diff --git a/tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir b/tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir index 77e53ec041e..5f4bffcc7c2 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -inline="disable-simplify" | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -inline="disable-simplify" | FileCheck %s // Test that simple TF operations can be inlined. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/launch_to_device_attribute.mlir b/tensorflow/compiler/mlir/tensorflow/tests/launch_to_device_attribute.mlir index 15a384829ec..561a8382701 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/launch_to_device_attribute.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/launch_to_device_attribute.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-launch-to-device-attribute | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-launch-to-device-attribute | FileCheck %s // Tests single TensorFlow op is hoisted out and has the correct device assigned diff --git a/tensorflow/compiler/mlir/tensorflow/tests/materialize_passthrough_op.mlir b/tensorflow/compiler/mlir/tensorflow/tests/materialize_passthrough_op.mlir index ed040c18bf6..046207d369c 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/materialize_passthrough_op.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/materialize_passthrough_op.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -allow-unregistered-dialect -tf-materialize-passthrough-op %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -allow-unregistered-dialect -tf-materialize-passthrough-op %s | FileCheck %s // Check that the MlirPassthroughOp is eliminated and replaced by its attached diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/device-arg-attr.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/device-arg-attr.mlir index 727574b0cd0..4de70b9b93f 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/device-arg-attr.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/device-arg-attr.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -tf-graph-as-function -o - | FileCheck %s --dump-input=fail +// RUN: tf-mlir-translate -mlir-to-graphdef %s -tf-graph-as-function -o - | FileCheck %s // Verify arg attributes are exported as device assignment for arg nodes. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-control-ret.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-control-ret.mlir index 32cfd03bfdd..35c179cdac6 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-control-ret.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-control-ret.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input=fail +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 29 : i32}} { func @main() { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/graph-as-function.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/graph-as-function.mlir index 716a1d8f07b..15a7a6d95b7 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/graph-as-function.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/graph-as-function.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -tf-graph-as-function -o - | FileCheck %s --dump-input=fail +// RUN: tf-mlir-translate -mlir-to-graphdef %s -tf-graph-as-function -o - | FileCheck %s func @main(%arg0: tensor<*x!tf.resource>, %arg1: tensor<*x!tf.resource>>, %arg2: tensor<*xf32>, %arg3: tensor<2x4x6x8xi32>) -> (tensor, tensor) attributes {tf.entry_function = {inputs = "args_0,args_1,args_2,args_3", outputs = "rets_0_RetVal,rets_1_RetVal"}} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/invalid_input.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/invalid_input.mlir index 336d83e708b..883fbe647b9 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/invalid_input.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/invalid_input.mlir @@ -1,4 +1,4 @@ -// RUN: not tf-mlir-translate -split-input-file -mlir-to-graphdef %s -o - 2>&1 | FileCheck %s --dump-input=fail +// RUN: not tf-mlir-translate -split-input-file -mlir-to-graphdef %s -o - 2>&1 | FileCheck %s // Tests function with multiple blocks. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/optimize-arg-operand-constraint.mlir b/tensorflow/compiler/mlir/tensorflow/tests/optimize-arg-operand-constraint.mlir index 3686b997982..f2aa7beefc3 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/optimize-arg-operand-constraint.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/optimize-arg-operand-constraint.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-optimize %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -tf-optimize %s | FileCheck %s // Check passing an argument into DefinedByConv2D constraint does not crash. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands.mlir b/tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands.mlir index be23da672e5..31ca7b28fe7 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-parallel-execute-to-islands | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-parallel-execute-to-islands | FileCheck %s // CHECK-LABEL: func @check_regions_to_islands func @check_regions_to_islands() { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir b/tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir index fe3234bcc4e..2b8f47a407e 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -verify-diagnostics -tf-readonly-references-to-resources -split-input-file %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -verify-diagnostics -tf-readonly-references-to-resources -split-input-file %s | FileCheck %s // Test case: Basic converting. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/replicate_invariant_op_hoisting.mlir b/tensorflow/compiler/mlir/tensorflow/tests/replicate_invariant_op_hoisting.mlir index 3c7d0e6c644..2e651e228c5 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/replicate_invariant_op_hoisting.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/replicate_invariant_op_hoisting.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-replicate-invariant-op-hoisting | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-replicate-invariant-op-hoisting | FileCheck %s // CHECK-LABEL: func @replicate_arg_shape // CHECK-SAME: (%[[ARG_0:[a-z0-9]*]]: tensor<*xf32>, %[[ARG_1:[a-z0-9]*]]: tensor<*xf32>) diff --git a/tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir b/tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir index 28c542cded1..9a7732ce238 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-replicate-to-island | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-replicate-to-island | FileCheck %s // Tests per replica island has same control operands as island holding // replicate. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir b/tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir index 60eded3de7e..a9e814c647e 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -split-input-file -verify-diagnostics -tf-resource-device-inference %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -split-input-file -verify-diagnostics -tf-resource-device-inference %s | FileCheck %s // Tests that the pass can correctly propagate device attributes inside the same // function. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir b/tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir index bd9f19b0546..1599d53ed15 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir @@ -1,5 +1,5 @@ -// RUN: tf-opt %s -tf-shape-inference=propagate-caller-callee-constants=false -verify-diagnostics | FileCheck %s -dump-input=fail -// RUN: tf-opt %s -tf-shape-inference=propagate-caller-callee-constants -verify-diagnostics | FileCheck %s -dump-input=fail +// RUN: tf-opt %s -tf-shape-inference=propagate-caller-callee-constants=false -verify-diagnostics | FileCheck %s +// RUN: tf-opt %s -tf-shape-inference=propagate-caller-callee-constants -verify-diagnostics | FileCheck %s module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 130 : i32}} { // CHECK-LABEL: func @main(%arg0: tensor<1xi32>, %arg1: tensor<1xi32>) -> tensor<1xi32> diff --git a/tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir b/tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir index 965b3b10843..d79e028ba9e 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -split-input-file -tf-test-side-effect-analysis -verify-diagnostics %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -split-input-file -tf-test-side-effect-analysis -verify-diagnostics %s | FileCheck %s // Tests that the pass tracks control dependencies for reads/writes on the same // resource. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/sink_constant.mlir b/tensorflow/compiler/mlir/tensorflow/tests/sink_constant.mlir index b9c6e242e70..1c655a7c5bc 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/sink_constant.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/sink_constant.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-device-constant-sinking | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-device-constant-sinking | FileCheck %s // CHECK-LABEL: func @sink_const func @sink_const(%arg0 : tensor<16xf32>) -> (tensor<16xf32>, tensor) { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf-functional-to-executor.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf-functional-to-executor.mlir index 4dad266f0a1..6973c9cd605 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf-functional-to-executor.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf-functional-to-executor.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-functional-to-executor-conversion %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -tf-functional-to-executor-conversion %s | FileCheck %s func @multiple_return(%arg0 : tensor<*xi32>, %arg1 : tensor) -> (tensor<*xi32>, tensor<*xi32>) { %1 = "tf.Add"(%arg0, %arg1) {} : (tensor<*xi32>, tensor) -> tensor<*xi32> diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir index 73726163e19..058585b41d7 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -verify-diagnostics | FileCheck %s // Tests for TensorFlow ops with custom verifiers. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir index dd8e38f3e1a..e72b02156d7 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s | tf-opt | FileCheck %s --dump-input=fail +// RUN: tf-opt %s | tf-opt | FileCheck %s // CHECK-LABEL: func @return_no_operands func @return_no_operands() { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir index 27b84724b4a..5c2e5afd263 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s | tf-opt | FileCheck %s --dump-input=fail +// RUN: tf-opt %s | tf-opt | FileCheck %s // CHECK-LABEL: func @control_type() -> !tf_executor.control func @control_type() -> !tf_executor.control diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir index 24808692481..048195a04e1 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -mlir-print-debuginfo | tf-opt -mlir-print-debuginfo -mlir-print-op-generic | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -mlir-print-debuginfo | tf-opt -mlir-print-debuginfo -mlir-print-op-generic | FileCheck %s // This file should be written in the generic form with debug locations. // (that is, as if printed with `-mlir-print-debuginfo -mlir-print-op-generic`). diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_delete_unused_funcs.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_delete_unused_funcs.mlir index 88fe2cd6b7b..6f2c47a935f 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_delete_unused_funcs.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_delete_unused_funcs.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-saved-model-mark-func-visibility -symbol-dce -split-input-file %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -tf-saved-model-mark-func-visibility -symbol-dce -split-input-file %s | FileCheck %s module attributes {tf_saved_model.semantics} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir index 961039e7968..38627b41b68 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -verify-diagnostics -tf-saved-model-freeze-global-tensors -split-input-file %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -verify-diagnostics -tf-saved-model-freeze-global-tensors -split-input-file %s | FileCheck %s module attributes {tf_saved_model.semantics} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir index b16925cdb58..21e3bef8fd8 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s | tf-opt | FileCheck %s --dump-input=fail +// RUN: tf-opt %s | tf-opt | FileCheck %s module attributes {tf_saved_model.semantics} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir index 80d9a498253..9d8911d306d 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-saved-model-optimize-global-tensors -split-input-file %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -tf-saved-model-optimize-global-tensors -split-input-file %s | FileCheck %s //===----------------------------------------------------------------------===// // Freezing. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors_interprocedural.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors_interprocedural.mlir index afc95865236..91e8c9c4b66 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors_interprocedural.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors_interprocedural.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-saved-model-optimize-global-tensors -split-input-file %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -tf-saved-model-optimize-global-tensors -split-input-file %s | FileCheck %s //===----------------------------------------------------------------------===// // Immutability. //===----------------------------------------------------------------------===// diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir index abb32cd3bf3..eb420505358 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -tf-tpu-dynamic-layout-pass | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -tf-tpu-dynamic-layout-pass | FileCheck %s // Tests that the pass can transform non-replicated execution. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu-merge-variables-with-execute.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu-merge-variables-with-execute.mlir index d5cd9004132..7c55018499d 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu-merge-variables-with-execute.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu-merge-variables-with-execute.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -split-input-file -tf-tpu-merge-variables-with-execute %s | FileCheck %s --dump-input=fail +// RUN: tf-opt -split-input-file -tf-tpu-merge-variables-with-execute %s | FileCheck %s // Tests that the pass merges only variable reads/writes on the same device. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir index 937178efaa2..fb2c03e27c8 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -tf-tpu-variable-runtime-reformatting| FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -tf-tpu-variable-runtime-reformatting| FileCheck %s // Tests that the pass can correctly transform a training loop with 2 replicas. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir index b9bc0e17f2a..460a4185f88 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-tpu-bridge-v1 | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -tf-tpu-bridge-v1 | FileCheck %s module attributes {tf.devices = ["/job:localhost/replica:0/task:0/device:CPU:0", "/job:localhost/replica:0/task:0/device:TPU:0", "/job:localhost/replica:0/task:0/device:TPU:1", "/job:localhost/replica:0/task:0/device:TPU_SYSTEM:0"], tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 296 : i32}} { func @main() { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir index 6dceb00eefa..52c7e5ada55 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-cluster-formation | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-cluster-formation | FileCheck %s // Test ops in cluster only have `_tpu_replicate` and `device` attributes diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu_dynamic_padding_mapper.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu_dynamic_padding_mapper.mlir index 8b610e45b4e..7faf764cbea 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu_dynamic_padding_mapper.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu_dynamic_padding_mapper.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-dynamic-padding | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-dynamic-padding | FileCheck %s // Test single argument with padding map lifted to associated encapsulated // function. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir index 5d65342b4a7..8cf55628a89 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-rewrite -tpu_compile_metadata_debug | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-rewrite -tpu_compile_metadata_debug | FileCheck %s // Tests module with missing `tf.versions` attribute. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir index fff1240a121..e4fc3a89d4d 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-sharding-identification | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-sharding-identification | FileCheck %s // Tests empty cluster func. Empty input/output sharding configuration // attributes must be added. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir index aa333caa2ae..017a331946d 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -tf-tpu-space-to-depth-pass | FileCheck %s --dump-input=fail +// RUN: tf-opt %s -split-input-file -tf-tpu-space-to-depth-pass | FileCheck %s // Tests for space to depth host and device transform. diff --git a/tensorflow/compiler/mlir/xla/tests/chlo_infer_shape_type_methods.mlir b/tensorflow/compiler/mlir/xla/tests/chlo_infer_shape_type_methods.mlir index d67a7d09f7c..29b8acc9a2a 100644 --- a/tensorflow/compiler/mlir/xla/tests/chlo_infer_shape_type_methods.mlir +++ b/tensorflow/compiler/mlir/xla/tests/chlo_infer_shape_type_methods.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt -test-xla-infer-shaped-type-methods -allow-unregistered-dialect -split-input-file -verify-diagnostics %s -o - | FileCheck --dump-input=fail %s +// RUN: xla-opt -test-xla-infer-shaped-type-methods -allow-unregistered-dialect -split-input-file -verify-diagnostics %s -o - | FileCheck %s // CHECK-LABEL: @broadcast_add // Note that all broadcast_ops are expanded from the same template, so diff --git a/tensorflow/compiler/mlir/xla/tests/chlo_legalize_to_hlo_broadcasts.mlir b/tensorflow/compiler/mlir/xla/tests/chlo_legalize_to_hlo_broadcasts.mlir index 7194f7034b5..441835585af 100644 --- a/tensorflow/compiler/mlir/xla/tests/chlo_legalize_to_hlo_broadcasts.mlir +++ b/tensorflow/compiler/mlir/xla/tests/chlo_legalize_to_hlo_broadcasts.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt -test-xla-chlo-legalize-to-hlo -split-input-file -verify-diagnostics %s -o - | FileCheck --dump-input=fail %s +// RUN: xla-opt -test-xla-chlo-legalize-to-hlo -split-input-file -verify-diagnostics %s -o - | FileCheck %s // Check the non-broadcast case for each registered op, then just check a // representative op for detailed broadcast semantics. diff --git a/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/ops.mlir b/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/ops.mlir index 149c0c94663..670a8216ed4 100644 --- a/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/ops.mlir +++ b/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/ops.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt -split-input-file -xla-hlo-to-lhlo-with-xla %s | FileCheck --enable-var-scope --dump-input=fail %s +// RUN: xla-opt -split-input-file -xla-hlo-to-lhlo-with-xla %s | FileCheck --enable-var-scope %s // CHECK-LABEL: func @main // CHECK-SAME: %[[ARG0:.*]]: memref<2x2xf32> {xla_lhlo.params = 0 diff --git a/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/passthrough.mlir b/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/passthrough.mlir index 6a2b68adac3..bfbbae99a34 100644 --- a/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/passthrough.mlir +++ b/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/passthrough.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt -xla-hlo-to-lhlo-with-xla %s | FileCheck --enable-var-scope --dump-input=fail %s +// RUN: xla-opt -xla-hlo-to-lhlo-with-xla %s | FileCheck --enable-var-scope %s // Current allocation will lead to one buffer argument for the "value" and // another one for the output, an no returned values. diff --git a/tensorflow/compiler/mlir/xla/tests/inlining.mlir b/tensorflow/compiler/mlir/xla/tests/inlining.mlir index 2f20386b83f..9d1582c99e5 100644 --- a/tensorflow/compiler/mlir/xla/tests/inlining.mlir +++ b/tensorflow/compiler/mlir/xla/tests/inlining.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt %s -inline | FileCheck %s --dump-input=fail +// RUN: xla-opt %s -inline | FileCheck %s // Test case: Basic test of inlining into xla_hlo.while. diff --git a/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-to-gpu.mlir b/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-to-gpu.mlir index 16ffbf241b0..c86744a9090 100644 --- a/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-to-gpu.mlir +++ b/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-to-gpu.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt %s -lhlo-legalize-to-gpu -split-input-file | FileCheck %s --dump-input=fail +// RUN: xla-opt %s -lhlo-legalize-to-gpu -split-input-file | FileCheck %s func @reduce(%arg: memref<100x10xf32>, %init: memref, diff --git a/tensorflow/compiler/mlir/xla/tests/materialize-broadcasts.mlir b/tensorflow/compiler/mlir/xla/tests/materialize-broadcasts.mlir index 55b55c7b4e2..746c3150b75 100644 --- a/tensorflow/compiler/mlir/xla/tests/materialize-broadcasts.mlir +++ b/tensorflow/compiler/mlir/xla/tests/materialize-broadcasts.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt -test-xla-materialize-broadcasts -split-input-file %s -o - | FileCheck --dump-input=fail %s +// RUN: xla-opt -test-xla-materialize-broadcasts -split-input-file %s -o - | FileCheck %s // CHECK-LABEL: @clampBroadcast // CHECK-SAME: (%[[MIN:.+]]: tensor, %[[VAL:.+]]: tensor<4xf32>, %[[MAX:.+]]: tensor) diff --git a/tensorflow/compiler/mlir/xla/tests/sink-constants-to-control-flow.mlir b/tensorflow/compiler/mlir/xla/tests/sink-constants-to-control-flow.mlir index 9f54e40dcaa..cecd95f0ffe 100644 --- a/tensorflow/compiler/mlir/xla/tests/sink-constants-to-control-flow.mlir +++ b/tensorflow/compiler/mlir/xla/tests/sink-constants-to-control-flow.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt %s -xla-hlo-sink-constants-to-control-flow | FileCheck %s --dump-input=fail +// RUN: xla-opt %s -xla-hlo-sink-constants-to-control-flow | FileCheck %s // Tests sinking constants to a while loop. diff --git a/tensorflow/compiler/mlir/xla/tests/translate/dynamic_parameter_binding.mlir b/tensorflow/compiler/mlir/xla/tests/translate/dynamic_parameter_binding.mlir index a4ad784fce8..af11ccfdad6 100644 --- a/tensorflow/compiler/mlir/xla/tests/translate/dynamic_parameter_binding.mlir +++ b/tensorflow/compiler/mlir/xla/tests/translate/dynamic_parameter_binding.mlir @@ -1,5 +1,5 @@ -// RUN: tf-mlir-translate -split-input-file -mlir-hlo-to-hlo %s | FileCheck %s --dump-input=fail -// RUN: tf-mlir-translate -split-input-file -mlir-hlo-to-hlo -emit-use-tuple-args %s | FileCheck %s --check-prefix=TUPLE --dump-input=fail +// RUN: tf-mlir-translate -split-input-file -mlir-hlo-to-hlo %s | FileCheck %s +// RUN: tf-mlir-translate -split-input-file -mlir-hlo-to-hlo -emit-use-tuple-args %s | FileCheck %s --check-prefix=TUPLE // Test entry function with no dynamic parameter bindings. diff --git a/tensorflow/compiler/mlir/xla/tests/transpose.mlir b/tensorflow/compiler/mlir/xla/tests/transpose.mlir index 7942fadcd60..11470a2fd88 100644 --- a/tensorflow/compiler/mlir/xla/tests/transpose.mlir +++ b/tensorflow/compiler/mlir/xla/tests/transpose.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt %s -split-input-file -pass-pipeline='func(canonicalize)' | FileCheck %s --dump-input=fail +// RUN: xla-opt %s -split-input-file -pass-pipeline='func(canonicalize)' | FileCheck %s // CHECK-LABEL: func @remove_noop // CHECK-SAME: [[ARG:%[a-zA-Z0-9]+]] diff --git a/tensorflow/compiler/mlir/xla/tests/unfuse_batch_norm.mlir b/tensorflow/compiler/mlir/xla/tests/unfuse_batch_norm.mlir index 3d8646e7fb9..a279ebbd589 100644 --- a/tensorflow/compiler/mlir/xla/tests/unfuse_batch_norm.mlir +++ b/tensorflow/compiler/mlir/xla/tests/unfuse_batch_norm.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt -split-input-file -test-xla-unfuse-batch-norm -verify-diagnostics %s | FileCheck --enable-var-scope --dump-input=fail %s +// RUN: xla-opt -split-input-file -test-xla-unfuse-batch-norm -verify-diagnostics %s | FileCheck --enable-var-scope %s // CHECK-LABEL: @batchNormInference_2D_inner_features // CHECK-SAME: %[[X:[^:[:space:]]+]] diff --git a/tensorflow/compiler/mlir/xla/tests/xla-transform-unranked-hlo.mlir b/tensorflow/compiler/mlir/xla/tests/xla-transform-unranked-hlo.mlir index 8b26a5e4121..db4cf1e95b3 100644 --- a/tensorflow/compiler/mlir/xla/tests/xla-transform-unranked-hlo.mlir +++ b/tensorflow/compiler/mlir/xla/tests/xla-transform-unranked-hlo.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt -transform-unranked-hlo -split-input-file %s | FileCheck --dump-input=fail %s +// RUN: xla-opt -transform-unranked-hlo -split-input-file %s | FileCheck %s // Check the validity of expected IR. // CHECK-LABEL: @sqr_transform_result